nis_server.txt
121 rpm -i ypserv-2.19-5.el5.i386.rpm time-1.7-27.2.2.i386.rpm
122 less /etc/ypserv.conf
123 rpm -q portmap
124 service portmap status
125 nisdomainname testname
126 nisdomainname
127 echo "/bin/nisdomainname testname">>/etc/rc.local
128 cat /etc/rc.local
129 /bin/nisdomainname
131 vim /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
NISDOMAIN=testname
132 vim /etc/ypserv.conf
# * : * : * : none
127.0.0.0/255.255.255.0 : * : * : none
192.168.6.0/255.255.255.0 : * : * : none
* : * : * : deny
133 service ypserv start
134 service yppasswdd start
135 less /etc/passwd
136 useradd -u 2001 redhat
137 passwd redhat
138 less /etc/passwd
140 /usr/lib/yp/ypinit -m
141 less /var/yp/testname/passwd.byname
143 iptables -F
145 vim /etc/exports
146 service nfs status
147 service nfs start
148 exportfs
149 vim /etc/exports
/home 192.168.6.0/24(rw,async)
175 vim /etc/exports
176 exportfs -rv
阅读(857) | 评论(0) | 转发(0) |