linux NFS 服务器的安装
1. 安装 nfs 服务 [root@allentuns ~]# yum -y install nfs-utils rpcbind 2. 启动 nfs 服务 [root@allentuns ~]# /etc/init.d/rpcbind start Starting rpcbind: [ OK ] [root@allentuns ~]# /etc/init.d/nfs start Starting NFS services: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [ OK ] Starting RPC idmapd: [ OK ] 3. 创建共享目录 [root@allentuns ~]# mkdir -pv /web/htdocs mkdir: created directory `/web' mkdir: created directory `/web/htdocs' [root@allentuns ~]# ll -d /web/htdocs/ 50 drwxr-xr-x. 2 root root 4096 May 3 18:50 /web/htdocs/ 4. 添加共享目录其它用户有写权限 [root@allentuns ~]# chmod o+w /web/htdocs [root@allentuns