1、Ubuntu上安装nfs服务器sudo apt updatesudo apt install nfs-kernel-server2、Ubuntu上创建共享目录sudo mkdir -p /home/forlinx/source/nfs3、Ubuntu上给nfs权限chmod 777 /home/forlinx/source/nfs4、在Ubuntu上配置nfs导出sudo gedit etc/exports在文件末尾添加/home/forlinx/source/nfs 195.16.19.0/24(rw,sync,no_subtree_check)5、在Ubuntu上更改生效导出文件系统sudo exportfs -a6、在Ubuntu上重启nfs服务sudo systemctl restart nfs-kernel-server7、在Ubuntu上安装sudo apt install nfs-common8、RK3562上安装nfs客户端9、RK3562上挂载nfs共享mkdir -p /opt/sharesudo mount -t nfs 195.16.19.123:/home/forlinx/source/nfs /opt/share
RK3562 nfs mount
1、Ubuntu上安装nfs服务器sudo apt updatesudo apt install nfs-kernel-server2、Ubuntu上创建共享目录sudo mkdir -p /home/forlinx/source/nfs3、Ubuntu上给nfs权限chmod 777 /home/forlinx/source/nfs4、在Ubuntu上配置nfs导出sudo gedit etc/exports在文件末尾添加/home/forlinx/source/nfs 195.16.19.0/24(rw,sync,no_subtree_check)5、在Ubuntu上更改生效导出文件系统sudo exportfs -a6、在Ubuntu上重启nfs服务sudo systemctl restart nfs-kernel-server7、在Ubuntu上安装sudo apt install nfs-common8、RK3562上安装nfs客户端9、RK3562上挂载nfs共享mkdir -p /opt/sharesudo mount -t nfs 195.16.19.123:/home/forlinx/source/nfs /opt/share