Difference between revisions of "Adding a new Linux PC"
From Applied Optics Wiki
(optik isn't a yp server) |
|||
Line 13: | Line 13: | ||
* Add the following, in the appropriate place (between ''divan'' and ''duffelcoat''), to armchair:/etc/netgroup | * Add the following, in the appropriate place (between ''divan'' and ''duffelcoat''), to armchair:/etc/netgroup | ||
(drape,,) | (drape,,) | ||
− | * Add the following line to armchair:/var/yp/securenets and bed:/var/yp/securenets | + | * Add the following line to the yp servers armchair:/var/yp/securenets and bed:/var/yp/securenets. |
255.255.255.255 128.243.74.34 | 255.255.255.255 128.243.74.34 | ||
* As root on armchair: | * As root on armchair: |
Revision as of 14:50, 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 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 the yp servers armchair:/var/yp/securenets and bed:/var/yp/securenets.
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