Minicluster:NIS
De WikiLICC
Servidor NIS
- Instale o servidor NIS
[root@one]$ yum install ypserv [root@one]$ chkconfig --level 345 ypserv on [root@one]$ nisdomainname nismatrix [root@one]$ nisdomainname nismatrix [root@one]$ /etc/init.d/ypserv start Starting YP server services: [ OK ] [root@one]$ rpcinfo -u one ypserv program 100004 version 1 ready and waiting program 100004 version 2 ready and waiting
- Editar linhas em
[root@one]$ vi /var/yp/Makefile .. ALIASES = $(YPSRCDIR)/aliases # aliases could be in /etc or /etc/mail #ALIASES = /etc/mail/aliases ..
- Gerar o banco de dados no servidor
[root@one]$ /usr/lib64/yp/ypinit -m
Cliente NIS
[root@cell100]$ chkconfig --level 345 ypbind on nisdomainname nismatrix root@cell100 ~ # nisdomainname