Cluster der kan alt/LDAP eller NIS

From Teknologisk videncenter
Jump to: navigation, search

Installation of the master server

Add the following line to /etc/hosts.allow.

portmap ypserv ypbind: 10.0.0.0/255.255.255.0

Install NIS. You will be asked to enter the domain name. The domain name is not the DNS domain name - but a unique name for the the cluster of machines sharing the same information. (I use the DNS domain name - one less thing to remember)

apt-get install portmap nis
  • Edit /etc/default/nis and set the NISSERVER line to NISSERVER = master
  • Edit /etc/yp.conf and add a server line of the form:
domain dka.local server 127.0.0.1
  • Edit /etc/ypserv.securenets remove the 0.0.0.0 line - insecure - and add your net/nets