test-envnis-server--->rhel
setenforce 0
/etc/init.d/NetworkManagerstop
/etc/init.d/iptables stop
# 相关安装软件
yum install ypservrpcbind yp-tools ypbind
# 设置nis域名
nisdomainname test
# 修改相关配置文件
vim /etc/ypserv.conf
127.0.0.0/255.255.255.0 : * : * : none
192.168.10.0/255.255.255.0 : * : * : none
# 启动服务,开机自启动
/etc/init.d/ypserv start
/etc/init.d/yppasswddstart
/etc/init.d/rpcbind start
chkconfig ypserv on
chkconfig yppasswdd on
chkconfig rpcbind on
# 查看
rpcinfo -p localhost
# 创建用户,指定家目录,设置密码
略
# 生成库

本文档详细介绍了如何在RHEL6.5环境下安装和配置NIS服务器,包括安装所需软件、设置nis域名、修改配置、启动服务、创建用户及测试连接。同时,还涵盖了客户端的安装步骤,确保客户端能成功连接到服务器。
最低0.47元/天 解锁文章
3609

被折叠的 条评论
为什么被折叠?



