1、按住ctrl+alt+T打开命令行在命令行中执行sudo apt-get install nfs-kernel-server
2、先重启portmap服务:sudo /etc/init.d/portmap restart