Difference between revisions of "Adding a new Linux PC"

From Applied Optics Wiki
Jump to: navigation, search
(First edit)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
Back to [[Linux How-tos]]
 +
 
= Adding a new Linux PC to the Applied Optics Network =
 
= Adding a new Linux PC to the Applied Optics Network =
  
Line 11: 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 (Roger, does optik have one of these?)
 
255.255.255.255 128.243.74.34
 
 
* As root on armchair:
 
* As root on armchair:
  /etc/init.d/SuSEfirewall2_setup stop
+
  make -C /var/yp
/etc/init.d/nfsserver restart
+
  systemctl restart nfs-server
/etc/init.d/ypserv restart
 
cd /var/yp
 
  make
 
/etc/init.d/SuSEfirewall2_setup start
 

Latest revision as of 10:46, 14 October 2016

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,,)
  • As root on armchair:
make -C /var/yp
systemctl restart nfs-server