# nfs 安装,服务端默认端口2049
apt install nfs-kernel-server
vim /etc/exports
/root/common client_ip(rw,sync,no_subtree_check)
systemctl restart nfs-kernel-server
# nfs client
Connection refused 需安装nfs-common
apt install nfs-common
mount server_ip:/path/to/shared_directory /mnt/shared_directory
发表回复