archlinux平台下 fl2440 主机nfs服务器搭建

来源:互联网 发布:人机交互软件下载 编辑:程序博客网 时间:2024/06/08 12:02

参考archlinux wiki

 

这里需要安装的软件包写的是

 

通过yaourt安装

 

发现 portmap 已经被1 core/rpcbind 0.2.0-2 [installed]替代了  而且本机也已经安装了

接着安装nfs-utils

 

选择第二个安装顺利

 

 

接下来是配置文件的修改:

 

/etc/exports内容如下

可以根据自己的实际情况修改目录  ip   权限等参数

接着修改/etc/conf.d/nfs-common.conf

 

内容为

 

修改/etc/hosts.allow

 

内容如下:

重启服务:

至此nfs服务器搭建完成

开机自启动设置

If you want to mount on boot, make sure network, rpcbind (portmap), nfs-common (nfslock) and netfs are in the DAEMONS array in /etc/rc.conf. 

挂载mount -o rw,nolock 192.168.1.10:/home/leftover-crazy/arm/ /tmp