Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6544452
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: LINUX

2010-03-09 08:38:03

nis_server.txt


  121  rpm -i ypserv-2.19-5.el5.i386.rpm time-1.7-27.2.2.i386.rpm
  122  less /etc/ypserv.conf
  123  rpm -q portmap
  124  service portmap status
  125  nisdomainname testname
  126  nisdomainname
  127  echo "/bin/nisdomainname testname">>/etc/rc.local
  128  cat /etc/rc.local
  129  /bin/nisdomainname
   
  131  vim /etc/sysconfig/network

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
NISDOMAIN=testname


  132  vim /etc/ypserv.conf

# *                        : *       : *                : none
127.0.0.0/255.255.255.0    : *       : *                : none
192.168.6.0/255.255.255.0  : *       : *                : none
 *                         : *       : *                : deny

  133  service ypserv start
  134  service yppasswdd start

  135  less /etc/passwd
  136  useradd -u 2001  redhat
  137  passwd redhat
  138  less /etc/passwd

  140  /usr/lib/yp/ypinit -m
  141  less /var/yp/testname/passwd.byname

  143  iptables -F

  145  vim /etc/exports
  146  service nfs status
  147  service nfs start
  148  exportfs
  149  vim /etc/exports

/home   192.168.6.0/24(rw,async)


  175  vim /etc/exports
  176  exportfs -rv

阅读(808) | 评论(0) | 转发(0) |
0

上一篇:nis_client.txt

下一篇:passwd

给主人留下些什么吧!~~