Changes

Jump to: navigation, search

OPS335 Lab 7 2018

3 bytes added, 12:43, 4 May 2017
m
changing domain to .ops
yum install ypserv ypbind
*Add the following line to the bottom of the file /etc/sysconfig/network
NISDOMAIN="<learnseneca-id>.orgops"
YPSERV_ARGS="-p 783"
*This should be enough to set the domain name, however there is currently a [https://www.centos.org/forums/viewtopic.php?t=47013 bug] in systemd that prevents this from working properly on its own.
**You will also need to start and enable the rhel-domainname service.
*Edit the file /etc/yp.conf and set up your domain:
domain <learnseneca-id>.org ops server 127.0.0.1
*Create the file /var/yp/securenets:
host 127.0.0.1
tail -f /var/log/messages
*Edit /etc/yp.conf adding the following line:
domain <learnidsenecaid>.org ops server 192.168.x.1
*Start the ypbind server with the command.
systemctl start ypbind.service
932
edits

Navigation menu