ubuntu 10.0开启配置nfs 服务service nfs start时出现:
Failed to start nfs.service: Unit nfs.service not found.
原因是ubuntu 10.0以上的版本取消了service nfs start。
改成了sudo service nfs-server start 。这样就完成启动了。
在执行sudo service nfs-server status就可以看到
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor prese
Active: active (exited) since 六 2016-07-09 06:58:33 CST; 4h 22min ago
Process: 866 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/
Process: 863 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS
Main PID: 866 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nfs-server.service
7月 09 06:58:33 Aspire systemd[1]: Starting NFS server and services...
7月 09 06:58:33 Aspire systemd[1]: Started NFS server and services.
7月 09 10:37:32 Aspire systemd[1]: Started NFS server and services.
7月 09 10:44:28 Aspire systemd[1]: Started NFS server and services.
7月 09 11:20:52 Aspire systemd[1]: Started NFS server and services.
1
2
3
4
5
6
7
8
9
10
11
12
13
完成。
————————————————
版权声明:本文为CSDN博主「暖暖的纠结」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_33559992/article/details/51866043