安装NFS服务
- 检查是否安装NFS服务
dpkg -l | grep -i "nfs"
已安装界面如下
![ZZUI8FLH8T5YTV)R)]{$J%R.png](http://upload-images.jianshu.io/upload_images/3968097-6dc3fcd587133300.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) - 安装NFS
sudo apt-get install nfs-kernel-server
//也会安装nfs-common
sudo apt-get install nfs-common
- 启动与停止NFS服务
/etc/init.d/nfs/nfs-kernel-server start
//此命令未成功
service nfs-kernel-server start
service nfs-kernel-server stop
service nfs-kernel-server restart
//重启相当于先关闭,在启动 - ps查看进程
ps -aux | grep -i "nfs"