红联Linux门户
Linux帮助

关于NIS的两个问题

发布时间:2009-03-05 23:06:09来源:红联作者:lywqjhxsl
我想问一下,就是在做NIS实验的时候又这么一步
一:
[root@test root]# nisdomainname 名称
我想请问下这步的作用是什么?可以不可以不做这步?以后每次开机都要执行这步骤吗?

二:
[root@test root]# /usr/lib/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS servers. server.cluster is in the list of NIS server hosts. Please continue to add the names for the other hosts, one per line. When you are done with the list, type a . next host to add: server.cluster
next host to add: <==在这里按下[ctrl + d]跳出

这步骤的,我想问的是:我改了计算机名称了那改怎么处理?
还有就是我门这步创建的数据库要在哪里删除呢?
谢谢大家了.
文章评论

共有 2 条评论

  1. lywqjhxsl 于 2009-03-06 00:58:26发表:

    我知道啊,但是下面不是添加了一条到nisdomainname 到/etc/rc.d/rc.local里了吗
    就是想知道这条是不是一定要打,还是可有可无,

  2. jiang870320 于 2009-03-06 00:42:35发表:

    nisdomainname 这个是在client 里面登录这个NIS 服务器的名字