{"id":39027,"date":"2025-05-22T01:01:27","date_gmt":"2025-05-21T17:01:27","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/39027.html"},"modified":"2025-05-22T01:01:27","modified_gmt":"2025-05-21T17:01:27","slug":"rhce-%e7%bb%83%e4%b9%a0%e4%b8%89%ef%bc%9a%e6%9e%b6%e8%ae%be%e4%b8%80%e5%8f%b0-nfs-%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/39027.html","title":{"rendered":"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668"},"content":{"rendered":"<h3>\u4e00\u3001\u9898\u76ee\u8981\u6c42<\/h3>\n<p>1\u3001\u5f00\u653e \/nfs\/shared \u76ee\u5f55&#xff0c;\u4f9b\u6240\u6709\u7528\u6237\u67e5\u8be2\u8d44\u6599<\/p>\n<p>2\u3001\u5f00\u653e \/nfs\/upload \u76ee\u5f55&#xff0c;\u4e3a 192.168.xxx.0\/24 \u7f51\u6bb5\u4e3b\u673a\u53ef\u4ee5\u4e0a\u4f20\u76ee\u5f55&#xff0c;\u5e76\u5c06\u6240\u6709\u7528\u6237\u53ca\u6240\u5c5e\u7684\u7ec4\u6620\u5c04\u4e3a nfs-upload,\u5176 UID \u548c GID \u5747\u4e3a 210<\/p>\n<p>3.\u5c06 \/home\/tom \u76ee\u5f55\u4ec5\u5171\u4eab\u7ed9 192.168.xxx.xxx \u8fd9\u53f0\u4e3b\u673a&#xff0c;\u5e76\u53ea\u6709\u7528\u6237 tom \u5bf9\u8be5\u76ee\u5f55\u6709\u8bfb\u5199\u6743\u9650<\/p>\n<h3>\u4e8c\u3001\u5b9e\u9a8c<\/h3>\n<h4>\u524d\u60c5\u63d0\u8981&#xff1a;<\/h4>\n<p>\u2460 \u9700\u8981\u51c6\u5907\u4e24\u53f0\u7248\u672c\u4e00\u81f4\u7684\u00a0linux\u00a0\u4e3b\u673a\u4e14\u7f51\u7edc\u53ef\u4e92\u901a&#xff0c;\u8fd9\u91cc\u6211\u7684\u670d\u52a1\u7aef\u4e3a 192.168.96.142&#xff0c;\u5ba2\u6237\u7aef\u4e3a 192.168.96.132<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"147\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170125-682e06e5a4083.png\" width=\"959\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"163\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170125-682e06e5bad4f.png\" width=\"957\" \/><\/p>\n<p>\u2461 \u5173\u95ed\u670d\u52a1\u7aef\u9632\u706b\u5899\u4ee5\u53ca selinux<\/p>\n<p>[root&#064;server ~]# systemctl stop firewalld<\/p>\n<p>[root&#064;server ~]# setenforce 0<\/p>\n<p>\u2462 \u78c1\u76d8\u6302\u8f7d\u64cd\u4f5c<\/p>\n<p>[root&#064;server ~]# mount \/dev\/sr0 \/mnt<br \/>\nmount: \/mnt: WARNING: source write-protected, mounted read-only.<\/p>\n<p>\u2463 \u914d\u7f6e yum \u6e90\u6587\u4ef6<\/p>\n<p>[root&#064;server ~]# vim \/etc\/yum.repos.d\/base.repo<\/p>\n<p>[BaseOS]<br \/>\nname&#061;BaseOS<br \/>\nbaseurl&#061;file:\/\/\/mnt\/BaseOS<br \/>\ngpgcheck&#061;0<br \/>\n[AppStream]<br \/>\nname&#061;AppStream<br \/>\nbaseurl&#061;file:\/\/\/mnt\/AppStream<br \/>\ngpgcheck&#061;0 <\/p>\n<h4 style=\"background-color:transparent\">1.\u5f00\u653e \/nfs\/shared \u76ee\u5f55&#xff0c;\u4f9b\u6240\u6709\u7528\u6237\u67e5\u8be2\u8d44\u6599<\/h4>\n<p>\u2460 \u5b89\u88c5 nfs-utils\u00a0\u5171\u4eab\u6587\u4ef6\u7cfb\u7edf\u5e76\u542f\u52a8\u7a0b\u5e8f<\/p>\n<p>[root&#064;server ~]# dnf install nfs-utils -y<\/p>\n<p>[root&#064;server ~]# systemctl start nfs-server.service <\/p>\n<p>\u00a0\u2461\u00a0 \u7f16\u8f91 nfs \u4e3b\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>[root&#064;server ~]# vim \/etc\/exports<\/p>\n<p># \u5171\u4eab\u76ee\u5f55&#xff08;\u6839\u76ee\u5f55&#xff09;   \u5141\u8bb8\u8bbf\u95ee\u7684\u4e3b\u673a*&#xff08;\u6743\u9650,\u53c2\u6570&#xff09;<br \/>\n\/nfs\/shared  *(ro)     <\/p>\n<p>\u2462\u00a0\u6839\u636e\u914d\u7f6e\u6587\u4ef6\u521b\u5efa\u8d44\u6e90\u6587\u4ef6\u5e76\u67e5\u770b\u6587\u4ef6\u6743\u9650&#xff0c;\u786e\u4fdd\u6240\u6709\u7528\u6237\u53ef\u8bfb\u00a0\/nfs\/shared\u00a0\u8def\u5f84\u4e0b\u6587\u4ef6\u5373\u53ef<\/p>\n<p>[root&#064;server ~]# mkdir -pv \/nfs\/shared<br \/>\nmkdir: \u5df2\u521b\u5efa\u76ee\u5f55 &#039;\/nfs&#039;<br \/>\nmkdir: \u5df2\u521b\u5efa\u76ee\u5f55 &#039;\/nfs\/shared&#039;<\/p>\n<p>[root&#064;server ~]# touch \/nfs\/shared\/test{1..10}<\/p>\n<p>[root&#064;server ~]# ll -d \/nfs\/shared\/<br \/>\ndrwxr-xr-x. 2 root root 137  5\u6708 19 20:01 \/nfs\/shared\/<\/p>\n<p>\u2463\u00a0\u7531\u4e8e\u4e0a\u9762\u6211\u4eec\u4fee\u6539\u4e86 nfs \u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u60f3\u8981\u6587\u4ef6\u751f\u6548\u6211\u4eec\u8981\u91cd\u542f nfs-server \u670d\u52a1&#xff0c;\u4f46\u5728\u8fd9\u91cc\u6211\u4eec\u4e0d\u80fd\u76f4\u63a5\u7528 systemctl \u00a0restart \u00a0nfs-server \u6765\u91cd\u542f\u670d\u52a1&#xff0c;\u8fd9\u6837\u6211\u4eec\u6bcf\u91cd\u542f\u4e00\u6b21\u670d\u52a1\u5c31\u4f1a\u91cd\u65b0\u8fdb\u884c\u7aef\u53e3\u6ce8\u518c&#xff0c;\u63a8\u8350\u7528 exportfs \u00a0-ra \u6765\u5b9e\u73b0\u3002\u5237\u65b0\u540e\u672a\u51fa\u73b0\u62a5\u9519\u8bf4\u660e\u6211\u4eec\u7684\u914d\u7f6e\u6ca1\u6709\u95ee\u9898&#xff01;<\/p>\n<p>[root&#064;server ~]# exportfs -ra    # \u91cd\u65b0\u5bfc\u51fa&#xff08;re-export&#xff09;\u5e76\u5237\u65b0\u6240\u6709 NFS \u5171\u4eab\u76ee\u5f55&#xff0c;\u7ed3\u5408\u4e86 -r&#xff08;\u91cd\u65b0\u8bfb\u53d6\u914d\u7f6e&#xff09;\u548c -a&#xff08;\u5e94\u7528\u5230\u6240\u6709\u76ee\u5f55&#xff09;\u7684\u529f\u80fd<\/p>\n<p>\u2464 \u5ba2\u6237\u7aef\u4e3b\u673a\u5411\u670d\u52a1\u7aef\u4e3b\u673a\u5efa\u7acb nfs \u8fde\u63a5<\/p>\n<p>\u2160.\u60f3\u8981\u5efa\u7acb\u8fde\u63a5\u6211\u4eec\u7684\u5ba2\u6237\u7aef\u4e5f\u9700\u8981\u4e0b\u8f7d nfs-utils \u670d\u52a1\u7a0b\u5e8f<\/p>\n<p>[root&#064;client ~]# mount \/dev\/sr0 \/mnt<\/p>\n<p>[root&#064;client ~]# dnf install nfs-utils -y<\/p>\n<p>\u2161.\u5ba2\u6237\u7aef\u67e5\u8be2 nfs \u670d\u52a1\u5668&#xff08;IP \u4e3a 192.168.96.142&#xff09;\u5bfc\u51fa\u7684\u5171\u4eab\u76ee\u5f55\u5217\u8868<\/p>\n<p>[root&#064;client ~]# showmount -e 192.168.96.142<\/p>\n<p>Export list for 192.168.96.142:<br \/>\n\/nfs\/shared *<\/p>\n<p>\u2162.\u521b\u5efa\u4e00\u4e2a\u6302\u8f7d\u76ee\u5f55 \/dbw&#xff0c;\u5728\u5c06\u00a0\/nfs\/shared \u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55&#xff08;\u53ef\u5171\u4eab\u6587\u4ef6\u8def\u5f84&#xff09;<\/p>\n<p>[root&#064;client ~]# mkdir \/dbw<\/p>\n<p>[root&#064;client ~]# mount 192.168.96.142:\/nfs\/shared \/dbw<\/p>\n<p>\u2163.\u67e5\u770b \/nfs\/shared \u8def\u5f84&#xff0c;\u53ef\u4ee5\u770b\u5230\u670d\u52a1\u7aef\u6240\u5171\u4eab\u7684\u6587\u4ef6<\/p>\n<p>[root&#064;client ~]# ll \/dbw <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"339\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170125-682e06e5cea79.png\" width=\"1010\" \/><\/p>\n<h4>2.\u5f00\u653e \/nfs\/upload \u76ee\u5f55&#xff0c;\u4e3a 192.168.xxx.0\/24 \u7f51\u6bb5\u4e3b\u673a\u53ef\u4ee5\u4e0a\u4f20\u76ee\u5f55&#xff0c;\u5e76\u5c06\u6240\u6709\u7528\u6237\u53ca\u6240\u5c5e\u7684\u7ec4\u6620\u5c04\u4e3a nfs-upload,\u5176 UID \u548c GID \u5747\u4e3a 210<\/h4>\n<p>\u2460 \u7f16\u8f91 nfs \u914d\u7f6e\u6587\u4ef6<\/p>\n<p>[root&#064;server ~]# vim \/etc\/exports<br \/>\n# \u5171\u4eab\u76ee\u5f55&#xff08;\u6839\u76ee\u5f55&#xff09;   \u5141\u8bb8\u8bbf\u95ee\u7684\u4e3b\u673a*&#xff08;\u6743\u9650,\u53c2\u6570&#xff09;<br \/>\n\/nfs\/shared  *(ro)<\/p>\n<p>\/nfs\/upload  192.168.96.0\/24(rw,all_squash,anonuid&#061;210,anongid&#061;210)<\/p>\n<p>\u2461\u00a0\u6839\u636e\u914d\u7f6e\u6587\u4ef6\u521b\u5efa\u8d44\u6e90\u6587\u4ef6\u5e76\u67e5\u770b\u6587\u4ef6\u6743\u9650&#xff0c;\u786e\u4fdd\u7528\u6237\u53ef\u8bfb\u53ef\u5199\u00a0\/nfs\/shared\u00a0\u8def\u5f84\u4e0b\u6587\u4ef6\u5373\u53ef&#xff1b;\u5237\u65b0<\/p>\n<p>[root&#064;server ~]# mkdir -pv \/nfs\/upload<br \/>\nmkdir: \u5df2\u521b\u5efa\u76ee\u5f55 &#039;\/nfs\/upload&#039;<\/p>\n<p>[root&#064;server ~]# touch \/nfs\/upload\/red{1..10}<\/p>\n<p>[root&#064;server ~]# ll -d \/nfs\/upload\/<br \/>\ndrwxr-xr-x. 2 root root 127  5\u6708 19 20:26 \/nfs\/upload\/<\/p>\n<p>[root&#064;server ~]# chmod o&#043;w \/nfs\/upload\/ -R   # \u4fee\u6539\u5176\u4ed6\u7528\u6237\u6743\u9650&#xff0c;\u52a0\u4e0a\u53ef\u5199\u6743\u9650<\/p>\n<p>[root&#064;server ~]# exportfs -ra<\/p>\n<p>\u2462 \u6839\u636e\u914d\u7f6e\u6587\u4ef6\u4e2d\u6240\u5199&#xff0c;\u9700\u8981\u521b\u5efa\u4e00\u4e2a uid \u4e3a 210 \u4e14 gid \u4e5f\u4e3a 210 \u7684\u7528\u6237\u8d26\u53f7<\/p>\n<p>[root&#064;client ~]# useradd -r -u 210 nfs-upload<\/p>\n<p>[root&#064;client ~]# id nfs-upload<br \/>\n\u7528\u6237id&#061;210(nfs-upload) \u7ec4id&#061;210(nfs-upload) \u7ec4&#061;210(nfs-upload)<\/p>\n<p>\u2463\u00a0\u5ba2\u6237\u7aef\u67e5\u8be2 NFS \u670d\u52a1\u5668\u5bfc\u51fa\u7684\u5171\u4eab\u76ee\u5f55\u5217\u8868<\/p>\n<p>[root&#064;server ~]# showmount -e 192.168.96.142<\/p>\n<p>Export list for 192.168.96.142:<br \/>\n\/nfs\/shared *<br \/>\n\/nfs\/upload 192.168.96.0\/24 <\/p>\n<p>\u2464 \u5c06 \/nfs\/upload \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6&#xff0c;\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/shared \u6587\u4ef6\u5171\u4eab\u76ee\u5f55<\/p>\n<p>[root&#064;client ~]# umount 192.168.96.142:\/nfs\/shared \/dbw<br \/>\numount: \/dbw: not mounted.<\/p>\n<p>[root&#064;client ~]# ll \/dbw<br \/>\ntotal 0<\/p>\n<p>[root&#064;client ~]# mount 192.168.96.142:\/nfs\/upload \/dbw<\/p>\n<p>[root&#064;client ~]# ll \/dbw <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"333\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170125-682e06e5ec83b.png\" width=\"1005\" \/><\/p>\n<p>\u2465 \u5728\u5ba2\u6237\u7aef\u4e0b\u4e0a\u4f20\u6587\u4ef6\u5e76\u67e5\u770b<\/p>\n<p>[root&#064;client ~]# touch \/dbw\/red111<\/p>\n<p>[root&#064;client ~]# ll \/dbw<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"391\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170126-682e06e617033.png\" width=\"1006\" \/><\/p>\n<h4>3.\u5c06 \/home\/tom \u76ee\u5f55\u4ec5\u5171\u4eab\u7ed9 192.168.xxx.xxx \u8fd9\u53f0\u4e3b\u673a&#xff0c;\u5e76\u53ea\u6709\u7528\u6237 tom \u5bf9\u8be5\u76ee\u5f55\u6709\u8bfb\u5199\u6743\u9650<\/h4>\n<p>\u2460 \u7f16\u8f91 nfs \u914d\u7f6e\u6587\u4ef6<\/p>\n<p>[root&#064;server ~]# vim \/etc\/exports<\/p>\n<p># \u5171\u4eab\u76ee\u5f55&#xff08;\u6839\u76ee\u5f55&#xff09;   \u5141\u8bb8\u8bbf\u95ee\u7684\u4e3b\u673a*&#xff08;\u6743\u9650,\u53c2\u6570&#xff09;<br \/>\n\/nfs\/shared  *(ro)<\/p>\n<p>\/nfs\/upload  192.168.96.0\/24(rw,all_squash,anonuid&#061;210,anongid&#061;210)<\/p>\n<p>\/home\/tom  192.168.96.132(rw,root_squash,all_squash,anonuid&#061;1001,anongid&#061;1001)<\/p>\n<p>\u2461\u00a0\u6839\u636e\u914d\u7f6e\u6587\u4ef6\u521b\u5efa\u8d44\u6e90\u6587\u4ef6\u5e76\u67e5\u770b\u6587\u4ef6\u6743\u9650&#xff0c;\u786e\u4fdd tom \u53ef\u8bfb\u53ef\u5199\u00a0\/home\/tom \u8def\u5f84\u4e0b\u6587\u4ef6\u5373\u53ef&#xff1b;\u5237\u65b0<\/p>\n<p>[root&#064;server ~]# mkdir -pv \/home\/tom<br \/>\nmkdir: \u5df2\u521b\u5efa\u76ee\u5f55 &#039;\/home\/tom&#039;<\/p>\n<p>[root&#064;server ~]# touch \/home\/tom\/tom{1..10}<\/p>\n<p>[root&#064;server ~]# ll -d \/home\/tom<br \/>\ndrwxr-xr-x. 2 root root 127  5\u6708 19 22:00 \/home\/tom<\/p>\n<p>[root&#064;server ~]# useradd tom<\/p>\n<p>[root&#064;server ~]# chown tom:tom \/home\/tom    # \u6539\u53d8\u6587\u4ef6\u6240\u6709\u8005<br \/>\n[root&#064;server ~]# chmod 700 \/home\/tom     # \u6539\u53d8\u6587\u4ef6\u6743\u9650\u4ec5 tom \u7528\u6237\u6709\u8bfb\u5199\u6267\u884c\u6743\u9650<\/p>\n<p>[root&#064;server ~]# exportfs -ra<\/p>\n<p>\u2462\u00a0\u6839\u636e\u914d\u7f6e\u6587\u4ef6\u4e2d\u6240\u5199&#xff0c;\u521b\u5efa tom &#xff0c;id\u4e3a 1001<\/p>\n<p>[root&#064;client ~]# useradd -u 1001 tom<\/p>\n<p>[root&#064;client ~]# id tom<br \/>\nuid&#061;1001(tom) gid&#061;1001(tom) groups&#061;1001(tom)<\/p>\n<p>\u2463\u00a0\u5c06 \/home\/tom \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6&#xff0c;\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/upload \u6587\u4ef6\u5171\u4eab\u76ee\u5f55<\/p>\n<p>[root&#064;client ~]# umount 192.168.96.142:\/nfs\/upload \/dbw<br \/>\numount: \/dbw: not mounted.<\/p>\n<p>[root&#064;client ~]# ll \/dbw<br \/>\ntotal 0<\/p>\n<p>[root&#064;client ~]# mount 192.168.96.142:\/home\/tom \/dbw<\/p>\n<p>[root&#064;client ~]# ll \/dbw<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"301\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170126-682e06e636ff0.png\" width=\"1004\" \/><\/p>\n<p>\u2464 \u5ba2\u6237\u7aef\u4e0a\u521b\u5efa\u6587\u4ef6\u67e5\u770b\u6743\u9650\u4ee5\u53ca\u6240\u6709\u8005<\/p>\n<p>[root&#064;client ~]# touch \/dbw\/tom111<\/p>\n<p>[root&#064;client ~]# ll \/dbw<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"377\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170126-682e06e652d36.png\" width=\"1005\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u2464 \u5c06 \/nfs\/upload \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6\uff0c\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/shared \u6587\u4ef6\u5171\u4eab\u76ee\u5f55\u3002\u2463 \u5c06 \/home\/tom \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6\uff0c\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/upload \u6587\u4ef6\u5171\u4eab\u76ee\u5f55\u3002\u2162.\u521b\u5efa\u4e00\u4e2a\u6302\u8f7d\u76ee\u5f55 \/dbw\uff0c\u5728\u5c06 \/nfs\/shared \u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\uff08\u53ef\u5171\u4eab\u6587\u4ef6\u8def\u5f84\uff09<\/p>\n","protected":false},"author":2,"featured_media":39020,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,705,43,78],"topic":[],"class_list":["post-39027","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-rhce","tag-43","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/39027.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u2464 \u5c06 \/nfs\/upload \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6\uff0c\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/shared \u6587\u4ef6\u5171\u4eab\u76ee\u5f55\u3002\u2463 \u5c06 \/home\/tom \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6\uff0c\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/upload \u6587\u4ef6\u5171\u4eab\u76ee\u5f55\u3002\u2162.\u521b\u5efa\u4e00\u4e2a\u6302\u8f7d\u76ee\u5f55 \/dbw\uff0c\u5728\u5c06 \/nfs\/shared \u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\uff08\u53ef\u5171\u4eab\u6587\u4ef6\u8def\u5f84\uff09\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/39027.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-21T17:01:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170125-682e06e5a4083.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/39027.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/39027.html\",\"name\":\"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-21T17:01:27+00:00\",\"dateModified\":\"2025-05-21T17:01:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/39027.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/39027.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/39027.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/39027.html","og_locale":"zh_CN","og_type":"article","og_title":"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u2464 \u5c06 \/nfs\/upload \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6\uff0c\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/shared \u6587\u4ef6\u5171\u4eab\u76ee\u5f55\u3002\u2463 \u5c06 \/home\/tom \u6587\u4ef6\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u5e76\u67e5\u770b\u5171\u4eab\u76ee\u5f55\u4e0b\u662f\u5426\u6709\u670d\u52a1\u7aef\u5171\u4eab\u7684\u6587\u4ef6\uff0c\u6302\u8f7d\u4e4b\u524d\u6211\u4eec\u5148\u8981\u53d6\u6d88\u524d\u9762\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\u4e0b\u7684 \/nfs\/upload \u6587\u4ef6\u5171\u4eab\u76ee\u5f55\u3002\u2162.\u521b\u5efa\u4e00\u4e2a\u6302\u8f7d\u76ee\u5f55 \/dbw\uff0c\u5728\u5c06 \/nfs\/shared \u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u5230 \/dbw \u76ee\u5f55\uff08\u53ef\u5171\u4eab\u6587\u4ef6\u8def\u5f84\uff09","og_url":"https:\/\/www.wsisp.com\/helps\/39027.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-21T17:01:27+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250521170125-682e06e5a4083.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/39027.html","url":"https:\/\/www.wsisp.com\/helps\/39027.html","name":"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-21T17:01:27+00:00","dateModified":"2025-05-21T17:01:27+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/39027.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/39027.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/39027.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"RHCE \u7ec3\u4e60\u4e09\uff1a\u67b6\u8bbe\u4e00\u53f0 NFS \u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/39027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=39027"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/39027\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/39020"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=39027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=39027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=39027"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=39027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}