Adding a new Linux PC

From Applied Optics Wiki
Revision as of 14:55, 8 September 2008 by Sds (talk | contribs) (First edit)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

  • Add the following line to armchair:/etc/hosts
128.243.74.34  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
(drape,,)
  • Add the following line to armchair:/var/yp/securenets and bed:/var/yp/securenets (Roger, does optik have one of these?)
255.255.255.255 128.243.74.34
  • As root on armchair:
/etc/init.d/SuSEfirewall2_setup stop
/etc/init.d/nfsserver restart
/etc/init.d/ypserv restart
cd /var/yp
make
/etc/init.d/SuSEfirewall2_setup start