Adding a new Linux PC

From Applied Optics Wiki
Revision as of 15:57, 9 September 2008 by Ral (talk | contribs) (Remake the yp database before restarting ypserv.)

Jump to: navigation, search

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 Its owner will be a student called Hoang Zhu, working over in the SiOS labs, whose email address is

  • Add the following line to armchair:/etc/hosts     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
/etc/init.d/ypserv restart
/etc/init.d/SuSEfirewall2_setup start