Fedora16安裝配置NFS

安装启动NFS服务安装NFS服务#yum install nfs-utils*#yum install portmap
启用NFS服务# systemctl enable nfs-server.service
ln -s '/lib/systemd/system/nfs-server.service' '/etc/systemd/system/multi-user.target.wants/nfs-server.service'
检查NFS服务是否被启用
# systemctl is-enabled nfs-server.service
enabled

启动NFS服务# systemctl start nfs-server.service
或者用service命令# service nfs-server restart
Redirecting to /bin/systemctl  restart nfs-server.service
查看NFS服务状态# systemctl status nfs-server.service
nfs-server.service - NFS Server
 Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled)
 Active: active (running) since Sun, 29 Apr 2012 11:08:59 +0800; 1min 46s ago

本地测试# showmount -e localhost
# mount localhost:/media/Photos /mnt
# umount /mnt

猜你喜欢

转载自lyh7609.iteye.com/blog/1584015