标签:sysconfig init.d dia nfs服务 data- mil start img util
NFS服务端的搭建:
修改主机名:
[root@nfs ~]# sed -i ‘s#HOSTNAME=.*#HOSTNAME=liuwei_nfs#g‘ /etc/sysconfig/network
[root@liuwei_nfs ~]# mount /dev/sr0 /media/cdrom/
[root@liuwei_nfs ~]# yum -y install nfs-utils rpcbind
[root@liuwei_nfs ~]# rpm -qa nfs-utils rpcbind
[root@liuwei_nfs ~]# /etc/init.d/rpcbind start
[root@liuwei_nfs ~]# /etc/init.d/nfs start
[root@liuwei_nfs ~]# chkconfig rpcbind on 加入开机自启动
[root@liuwei_nfs ~]# chkconfig --list rpcbind
chkconfig nfs on
chkconfig --list nfs
标签:sysconfig init.d dia nfs服务 data- mil start img util
原文地址:https://www.cnblogs.com/creater-wei/p/10010103.html