Configuring a Master NIS Server

Before you configure the server software, you need to decide whether you are going to set up any slave servers. If you are, you need to know their hostnames before continuing. Along with the names of your NIS servers, you need to decide on a NIS domain name at this point. Remember that this domain name is not the same as your DNS domain name and for clarity should be set differently. Also, the names must be in the /etc/hosts file.

With this information, you are ready to begin. First, you need to set the domain name with the domainname command:

						[root@vestax /etc]# domainname audionet.domain.com
					

Although this will work for the moment, you do need to change a startup configuration file so that this happens every ...

Get Red Hat® Linux® 7 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.