Main Page
From NjahbiWiki
Contents |
technical stuff
howto install ltsp network
the installation should be done with at least 2 persons one person follow the this howto another person make a protocol of the installation for example in wiki on the server make a new chapter
protcol installation
better you do it slowly and try to understand what happens, then just try quickly without understand ing what happens
you have ltsp server and client allready configured, now you should install the network
you must begin: install server
if you have 2 servers begin with one and test it with client, when every thing is ok test the second one
all the material is on 220-240 volts as usual in cameroon.please do not change it, because ti will destroy the machine
server
the servers you have reciefed has 2 ethernet cards (one on board), so it is easy to see which one is a server, which one is client
the server are allready configured, it should work without any modification.
do not make test on these machines, it is important, taht you have a productive stable network, which really work well. to make test you must take another machine. (this later)
you must just start the computer and wait until the login window is coming
user michel pw as usual
you can control the ip, but pleas don't change it, because youhave really no reason, especailly if you are not on internet and the client cannot login anymore (we will make test on test server later)
eth0 should have a fix ip (static) and it is the interface on which the dhcp server is running eth1 is dhcp client and if you don't have internet it has no ip
you can work on this machine with this user. so you can make the protocol in the wiki on this machine: open the firefox and put the followind adress http://localhost/mediawiki
it is open, every body can edit open a new chapter protocol installation
you should NOT login in x window as root, use root carfully and only if you must do it
client
when the server is running, you can begin with first one client
before you swith on the client
plug in the switch to the current, the power led should lighted
trouble: if not switch or hub: no power light
normally i write which is the ethernet card for ltsp intranet dhcp and which is for internet
plug the ethernet cable to dhcp (not internet) and the other end to the hub or switch.
you must control this connection: it comes a light where the cable is connected
trouble: if not ligth look [ http://www.njahbisoli.org/wiki/index.php?title=Main_Page#switch_or_hub:_no_connection_light no connection light ]
plug the keyboard, mouse and monitor
switch on the client
look what happens
on the server you can open one terminal as root and type
tail -f /var/log/syslog
on the client, you will see the normal boot up
after a few seconds it will appears that you recieve a ip adresse form the server
the server will show it on the terminal
trouble: if it appears [http://www.njahbisoli.org/wiki/index.php?title=Main_Page#no_ipadress no ip adress ]
the client will start to load files from the server
trouble: no files is loaded
we just wait until the login window is coming
login
each machine sould have is own login ans passord the are allready configured on he server type
ls /home
it will appear the name of the users, normally i made client1 client2 ... look at it and type on the client the name of the first user the password is the same as the username
write the user name on each client, don't login witn the same name on 2 diferents clients
when the first client is running just make the same with the other clients
troubleshooting
switch or hub: no power light
has it really on power? if it is, change an try another hub or switch
it must be running, if not all the network will not work
switch or hub: no connection light
take another cable and test it, if is coming light, the fist cable is not more ok, make a remark on it repair it
if it is still no light
take another switch and test it
fi no switch is working, you can stop the installation, ecasue it will never work mail me and we will try to find another switch or hub
no ipadress
it means that the client does not recieve an ip form the dhcp server
you have check the cable before so ti should be ok
on the server look on the terminal with the syslog
open a new root terminal and type
ps aux | grep dhcp
if must appear a line with the dhcp server if it appears it means the dhcp server is running
trouble-trouble: if this line does not appear, you can start the dhcp server
/etc/init.d/dhcp3-server start
example:
root@xubu710ibm1:~# /etc/init.d/dhcp3-server start
afterwards you must control, if the dhcp server is running
ps aux | grep dhcp
if is dhcp is running, start the client again switch on the client
trouble-trouble: if not
please look the syslog terminal
the dhcp must be running, ti is worthless to try to go further until dhcp is running
no files loaded
nfs test
look if the nfs is running
ps aux | grep nfs
it will comes many lines with nfs
trouble-trouble: if not the nfs is not running
you can start with
/etc/init.d/nfs-kernel-server start
example root@xubu710ibm1:~# /etc/init.d/nfs-kernel-server start
test nfs again
if it is running switch on the client
if not tftp test
tftp test
test if the inted is running
ps aux | grep inetd
if a line appears wtih inetd so it is working
if not, start it with
/etc/init.d/inetd start
test it is now working if yes switch on the client
if not mail me
install plugins in firefox no internet
you must have the plugin file you want to install
and for this the easiest way is to get it with wget
for yulup you can do it like this
wget -c http://www.yulup.org/download/yulup-0.3.0-r26657.xpi
this file will on your machine in the directory you start wget
you can copy this file on a usb stick and so install it on others computers
in firefox
go to
Tools Add-ons (click)
open a file manager (for example Thunar) drag the plug-ins file in the Add-ons firefox windows it will ask a qustion about security click install now
so the yulup plugins is installed
to work with it
the machine of the ltsp have allready apache on it, so you can simaulate the internet (it is exactly the same programm)
you open firefox and put localhost it will open a page. if apache is not running, ti will give a mistake.
on the ltsp machine, it is allready a symbolic link to a user (i think michel ) so you can put the source of you html there (most of the time it is a directory phpmi or soemthing like this we put your homepage there and you can see it withe fire fox. if the yulup plugin is installed a blue icon apperas on the right of the browser. if you click on it so you can modify the page.
howto install skype
download skype
http://www.skype.net/go/getskype-linux-ubuntu
sudo dpkg -i skype-debian_1.4.0.118-1_i386.deb
in case it does not work, you
sudo apt-get update 431 sudo apt-cache search libqt4 432 apt-get -s install libqt4-core libq4-gui 433 sudo apt-get -s install libqt4-core libq4-gui 434 sudo apt-get -s install libqt4-core libqt4-gui 435 sudo apt-get install libqt4-core libqt4-gui
test
here you can test how to use wiki
please for all who are not skill, try first here to write you contribution click edit on test, so you can only change this chapter and you must be scared to destroy the rest
