LoginSignup
3
3

More than 5 years have passed since last update.

NIS環境構築 (Centos6.x)

Posted at

NISサーバ構築

1) yumで必要なサービスを取ってくる。
yum install ypserv rpcbind
2) NISドメイン名を設定する。
ypdomainname NISドメイン名
vi /etc/sysconfig/networkで以下を追記。
NISDOMAIN=NISドメイン名

3) /etc/yp/Makefileの以下の行にNISを行いたいファイルを記載。
all: passwd shadow ...

4) /etc/yp.confに以下を追記。
domain=NISドメイン名 server IPアドレス
ypserver IPアドレス

5) /etc/ini.d/rpcbind restart
/etc/ini.d/ypserv restart
/etc/ini.d/yppasswdd restart

6) chkconfig rpcbind on
chkconfig ypserv on
chkconfig yppasswdd on

7) /usr/lib64/yp/ypinit -m

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3