From b9d55e504c4ddeed22766c22cb6d2d036cc78d99 Mon Sep 17 00:00:00 2001 From: colben Date: Thu, 9 Apr 2026 18:14:33 +0800 Subject: [PATCH] update --- content/post/nfs.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/content/post/nfs.md b/content/post/nfs.md index 7fdd4a8..a0e0f3a 100644 --- a/content/post/nfs.md +++ b/content/post/nfs.md @@ -8,8 +8,8 @@ categories: ["storage"] --- ## 环境 -- 服务端 CentOS7 192.168.1.100 -- 客户端 CentOS7 192.168.1.101 +- 服务端 CentOS8 192.168.1.100 +- 客户端 CentOS8 192.168.1.101 ## 服务端 - 安装 @@ -19,14 +19,16 @@ categories: ["storage"] systemctl start nfs-server # rpcbind 服务自动 start 并 enable ``` + - 创建配置文件 ```bash mkdir /nfs_share -p - chown -R nfsnobody.nfsnobody /nfs_share - cat > /etc/exports.d/mynfs.conf < /etc/exports <