Ubuntu 24.04 安装 NFS Server

By | 31 1 月, 2025
sudo apt update && sudo apt upgrade -y
sudo apt install nfs-kernel-server -y
sudo mkdir -p /var/nfs_share  sudo chmod 777 /var/nfs_share
sudo emacs /etc/exports

编辑文件:

/var/nfs_share 192.168.0.0/24(rw,sync,no_subtree_check,no_root_squash)

然后执行:

sudo exportfs -a 
sudo exportfs -v 

其他客户端可以使用以下命令来挂载:

sudo mount 192.168.0.150:/var/nfs_share /mnt

或者添加到 /etc/fstab 中:

192.168.0.150:/var/nfs_share /mnt/ nfs defaults 0 0

13 thoughts on “Ubuntu 24.04 安装 NFS Server

  1. Pingback: low cost kamagra de l'inde

  2. Pingback: cheap enclomiphene usa sales

  3. Pingback: online order androxal cheap europe

  4. Pingback: discount dutasteride uk buy online

  5. Pingback: flexeril cyclobenzaprine no script

  6. Pingback: buying fildena price at walmart

  7. Pingback: how to order gabapentin generic uae

  8. Pingback: order itraconazole generic work

  9. Pingback: buy avodart buy in australia

  10. Pingback: ordering staxyn canada suppliers

  11. Pingback: buy cheap xifaxan cheap buy online no prescription

  12. Pingback: cheapest buy rifaximin generic mastercard

  13. Pingback: kanada kamagra bez lékařského předpisu

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注