Difference between revisions of "Adding a new Linux PC"
(optik isn't a yp server)
(Remake the yp database before restarting ypserv.)
|Line 18:||Line 18:|
Revision as of 15:57, 9 September 2008
Back to Linux How-tos
Adding a new Linux PC to the Applied Optics Network
You've just got a shiny new PC, and you're ready to install Linux on it. Whilst you get on with doing that, you need to get Steve/Roger/Matt to "add it to the network" - a process of giving it a name and a fixed IP address (information that you'll need when you install Linux on it), and of allowing it to have access to the files and login information that the various servers hold.
This is an aide-mémoire for Steve/Roger/Matt about all the things you need to do to get a new PC added to the network
Say you want to name the PC drape and it's IP address will be 18.104.22.168. Its owner will be a student called Hoang Zhu, working over in the SiOS labs, whose email address is email@example.com
- Add the following line to armchair:/etc/hosts
22.214.171.124 drape.eee.nottingham.ac.uk drape # SiOS Hoang Zhu <eexzh9>
- Add the following, in the appropriate place (between divan and duffelcoat), to armchair:/etc/netgroup
- Add the following line to the yp servers armchair:/var/yp/securenets and bed:/var/yp/securenets.
- As root on armchair:
/etc/init.d/SuSEfirewall2_setup stop /etc/init.d/nfsserver restart cd /var/yp make /etc/init.d/ypserv restart /etc/init.d/SuSEfirewall2_setup start