yum -y install ypserv
修改主机名 添加NISDOAMIN=limingit.com
vim /etc/sysconfig/network
vim /etc/yp.conf
添加 ypserver 127.0.0.1
/etc/init.d/ypserv start
/etc/init.d/ypbind start
chkconfi ypserv on
chkconfig ypbind on
rpm -ql ypserv
ypinit -m
ctrl +D
centosl
/var/yp/ 跟NISDOMAIN同名的一个文件夹
useradd zhangsan
passwd zhangsan
cd /var/yp
mak
-----
update yp database
p
桥接:
ifcfg-br0
DEVICE=br0
TYPE=Bridge
eth0
BOOTPROTO=none
BRIDGE=br0
阅读(323) | 评论(0) | 转发(0) |