新建一个已.sh为后缀的文件,输入
#!/bin/sh
service xinetd restart
service portmap restart
service nfs restart
service iptables stop
同时需要在/etc/exports中添加
共享路径(例如/) *(rw,sync,no_root_squash)
然后运行该脚本。
新建一个已.sh为后缀的文件,输入
#!/bin/sh
service xinetd restart
service portmap restart
service nfs restart
service iptables stop
同时需要在/etc/exports中添加
共享路径(例如/) *(rw,sync,no_root_squash)
然后运行该脚本。