{"id":287932,"date":"2023-11-24T20:02:20","date_gmt":"2023-11-24T12:02:20","guid":{"rendered":"https:\/\/lrxjmw.cn\/rjfzcpzwjbds.html"},"modified":"2023-11-24T20:02:20","modified_gmt":"2023-11-24T12:02:20","slug":"rjfzcpzwjbds","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/rjfzcpzwjbds.html","title":{"rendered":"\u8f6f\u4ef6\u653e\u7f6e\u5904\uff08\u914d\u7f6e\u6587\u4ef6\uff09\/boot\uff08\u7b2c\u4e09\u65b9\u534f\u529b\u8f6f\u4ef6\uff09"},"content":{"rendered":"

\u4e0d\u53ef\u5206\u4eab\u7684(unshareable)<\/p>\n

\u4e0d\u53d8\u7684(static)<\/p>\n

\/usr(\u8f6f\u4ef6\u653e\u7f6e\u5904)<\/p>\n

\/etc(\u914d\u7f6e\u6587\u4ef6)<\/p>\n

\/opt(\u7b2c\u4e09\u65b9\u534f\u529b\u8f6f\u4ef6)<\/p>\n

\/boot(\u5f00\u673a\u4e0e\u6838\u5fc3\u6863)<\/p>\n

\u53ef\u53d8\u52a8\u7684(variable)<\/p>\n

\/var\/mail(\u4f7f\u7528\u8005\u7535\u90ae\u4fe1\u7bb1)<\/p>\n

\/var\/run(\u7a0b\u5e8f\u76f8\u5173)<\/p>\n

\/var\/spool\/news(\u65b0\u95fb\u7ec4)<\/p>\n

\/var\/lock(\u7a0b\u5e8f\u76f8\u5173)<\/p>\n

\u53ef\u5206\u4eab\u7684\uff1a\u53ef\u4ee5\u5206\u4eab\u7ed9\u5176\u4ed6\u7cfb\u7edf<\/a>\u6302\u8f7d\u4f7f\u7528\u7684\u76ee\u5f55\uff0c\u6240\u4ee5\u5305\u62ec\u6267\u884c\u6587\u4ef6\u4e0e\u7528\u6237\u7684\u7535\u90ae\u7b49\u6570\u636e\uff0c\u662f\u624d\u80fd\u5206\u4eab\u7ed9\u7f51\u8def\u4e0a\u5176\u4ed6\u4e3b\u673a\u6302\u8f7d\u7528\u7684\u76ee\u5f55\uff1b<\/p>\n

\u4e0d\u53ef\u5206\u4eab\u7684\uff1a\u81ea\u5df1\u673a\u5668\u91cc\u9762\u8fd0\u4f5c\u7684\u88c5\u7f6e\u6587\u4ef6\u6216\u5219\u662f\u4e0e\u7a0b\u5e8f\u6709\u5173\u7684socket\u6587\u4ef6\u7b49\uff0c\u56e0\u4e3a\u4ec5\u4e0e\u81ea\u8eab\u673a\u5668\u6709\u5173\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u4e0d\u9002\u5b9c\u5206\u4eab\u7ed9\u5176\u4ed6\u4e3b\u673a\u4e86\u3002<\/p>\n

\u4e0d\u53d8\u7684\uff1a\u6709\u4e9b\u6570\u636e\u662f\u4e0d\u4f1a\u65f6\u5e38\u53d8\u52a8\u7684linux\u538b\u7f29\u547d\u4ee4\uff0c\u8ddf\u968f\u7740distribution\u800c\u4e0d\u53d8\u52a8\u3002\u8bf8\u5982\u51fd\u5f0f\u5e93\u3001\u6587\u4ef6\u8bf4\u660e\u6587\u4ef6\u3001\u7cfb\u7edf\u7ba1\u7406\u5458\u6240\u7ba1\u7406\u7684\u4e3b\u673a\u670d\u52a1\u914d\u7f6e\u6587\u4ef6\u7b49\u7b49\uff1b<\/p>\n

\u53ef\u53d8\u52a8\u7684\uff1a\u65f6\u5e38\u6539\u53d8\u7684\u6570\u636e\uff0c\u6bd4\u5982\u767b\u5165\u6587\u4ef6\u3001\u4e00\u822c\u7528\u6237\u53ef\u81ea\u884c\u6536\u53d7\u7684\u65b0\u95fb\u7ec4\u7b49\u3002<\/p>\n

\u636e\u6089\uff0c\u4f9d\u7167\u6587\u4ef6\u540d\u5199\u6cd5\u7684\u4e0d\u540c\uff0c\u4e5f\u53ef\u5c06\u6240\u8c13\u7684\u8def\u5f84(path)\u5b9a\u4e49\u4e3a\u7edd\u5bf9\u8def\u5f84(absolute)\u4e0e\u76f8\u5bf9\u8def\u5f84(relative)\u3002\u7edd\u5bf9\u8def\u5f84\u4e3a\uff1a\u7531\u6839\u76ee\u5f55(\/)\u5f00\u59cb\u5199\u8d77\u7684\u6587\u4ef6\u540d\u6216\u76ee\u5f55\u540d\u79f0\uff0c\u6bd4\u5982\/home\/xiaoluo\/.bashrc\uff1b\u76f8\u5bf9\u8def\u5f84\u4e3a\u76f8\u5bf9\u4e8e\u76ee\u524d\u8def\u5f84\u7684\u6587\u4ef6\u540d\u5199\u6cd5\u3002\u8bf8\u5982.\/home\/xiaoluo\u6216\u7b49\u7b49\u3002\u603b\u4e4b\u5f00\u5934\u4e0d\u662f\/\u5c31\u5c5e\u4e8e\u76f8\u5bf9\u8def\u5f84\u7684\u5199\u6cd5\uff0c\u800c\u60a8\u5fc5\u9700\u8981\u4e86\u89e3\uff0c\u76f8\u5bf9\u8def\u5f84\u662f\u4ee5\u3010\u60a8\u5f53\u524d\u6240\u5728\u8def\u5f84\u7684\u76f8\u5bf9\u4f4d\u7f6e\u3011\u6765\u8868\u793a\u7684\u3002\u4e3e\u4f8b\u6765\u8bf4\uff0c\u5f53\u524d\u5728\/home\u8fd9\u4e2a\u76ee\u5f55\u4e0b\uff0c\u5047\u5982\u60f3\u8981\u6b65\u5165\/var\/log\u8fd9\u4e2a\u76ee\u5f55\u65f6\uff0c\u5c31\u53ef\u4ee5\u91c7\u7528\u4e0b\u8fb9\u4e24\u79cd\u5f62\u5f0f\u6765\u5199\uff1a<\/p>\n

cd\/var\/log(absolute)<\/p>\n

cd..\/var\/log(relative)<\/p>\n

\u7531\u4e8e\u60a8\u5728\/home\u91cc\u8fb9\uff0c\u6240\u4ee5\u8981\u56de\u5230\u4e0a\u4e00\u5c42(..\/)\u4ee5\u540e\uff0c\u80fd\u591f\u7ee7\u7eed\u5f80\/var\u6765\u8054\u901a\u7684\uff01\u975e\u5e38\u6ce8\u610f\u8fd9\u4e24\u4e2a\u7279\u6b8a\u7684\u76ee\u5f55\uff1a<\/p>\n

.\uff1a\u4ee3\u8868\u5f53\u524d\u7684\u76ee\u5f55\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528.\/\u6765\u8868\u793a\uff1b<\/p>\n

..\uff1a\u4ee3\u8868\u4e0a\u4e00\u5c42\u76ee\u5f55\uff0c\u4e5f\u53ef\u4ee5..\/\u6765\u4ee3\u8868\u3002<\/p>\n

\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7ls-l\/\u8fd9\u4e2a\u547d\u4ee4<\/a>\u6765\u770b\u4e00\u4e0b\u3010\/\u3011\u6839\u76ee\u5f55\u4e0b\u7684\u76ee\u5f55\u914d\u7f6e\u7ed3\u6784\uff1a<\/p>\n

[root@xiaoluohome]#ls-l\/<\/p>\n

\u603b\u836f\u91cf102<\/p>\n

[root@xiaoluohome]#ls-l\/<\/p>\n

\u603b\u836f\u91cf102<\/p>\n

dr-xr-xr-x.2rootroot40963\u67083012:00bin<\/p>\n

dr-xr-xr-x.5rootroot10243\u67083121:34boot<\/p>\n

drwxr-xr-x.10rootroot40963\u67083011:20cgroup<\/p>\n

drwxr-xr-x.19rootroot38004\u67082012:58dev<\/p>\n

drwxr-xr-x.157rootroot122884\u67082012:59etc<\/p>\n

drwxr-xr-x.8rootroot40964\u67082020:16home<\/p>\n

dr-xr-xr-x.14rootroot40963\u67083121:28lib<\/p>\n

dr-xr-xr-x.11rootroot122884\u6708520:52lib64<\/p>\n

drwx------.2rootroot163843\u67083010:27lost+found<\/p>\n

drwxr-xr-x.3rootroot40964\u67082012:59media<\/p>\n

drwxr-xr-x.2rootroot04\u67082012:54misc<\/p>\n

drwxr-xr-x.3rootroot40963\u67083121:40mnt<\/p>\n

linux \u8bbe\u7f6e\u6587\u4ef6\u683c\u5f0f_linux\u6587\u4ef6\u7684\u683c\u5f0f_linux\u683c\u5f0f\u547d\u4ee4<\/p>\n

drwxr-xr-x.2rootroot04\u67082012:54net<\/p>\n

drwxr-xr-x.3rootroot40963\u67083115:28opt<\/p>\n

dr-xr-xr-x.191rootroot04\u67082012:52proc<\/p>\n

dr-xr-x---.31rootroot40964\u67081920:40root<\/p>\n

dr-xr-xr-x.2rootroot122884\u6708512:26sbin<\/p>\n

drwxr-xr-x.7rootroot04\u67082012:52selinux<\/p>\n

drwxr-xr-x.2rootroot40969\u6708232011srv<\/p>\n

drwxr-xr-x.13rootroot04\u67082012:52sys<\/p>\n

drwxrwxrwt.36rootroot40964\u67082013:50tmp<\/p>\n

drwxr-xr-x.13rootroot40963\u67083010:37usr<\/p>\n

drwxr-xr-x.25rootroot40964\u6708520:57var<\/p>\n

\u5982\u4eca\u542c\u5230\u4e0a\u9762\u8fd9\u4e9b\u4e2a\u5c5e\u6027\u6211\u4eec\u662f\u4e0d\u662f\u65e9\u5df2\u5341\u5206\u719f\u6089\u4e86\u5462\uff1f\u5047\u5982\u8981\u4ee5\u8f83\u4e3a\u5b8c\u6574\u7684\u6811\u5f62\u76ee\u5f55\u6765\u770b\uff0c\u6574\u4e2aLinux<\/a>\u7cfb\u7edf\u7684\u6811\u5f62\u76ee\u5f55\u53ef\u4ee5\u7528\u53f3\u56fe\u6765\u8868\u793a\uff1a<\/p>\n

linux \u8bbe\u7f6e\u6587\u4ef6\u683c\u5f0f_linux\u6587\u4ef6\u7684\u683c\u5f0f_linux\u683c\u5f0f\u547d\u4ee4<\/p>\n

\u6211\u4eec\u53ef\u4ee5\u770b\u89c1\uff0c\u6240\u6709\u7684\u8fd9\u79cd\u76ee\u5f55\u90fd\u662f\u5c48\u4ece\u5728\u4e86\u3010\/\u3011\u6839\u76ee\u5f55\u4e0b\u8fb9\uff0c\u8fd9\u4e5f\u5c31\u662f\u6211\u4eec\u4e5f\u79f0\u7684\"\u6811\u5f62\u76ee\u5f55\"\u3002\u6309\u7167FHS\u5b9a\u4e49\uff0c\u6bcf\u4f4d\u76ee\u5f55\u5185\u5e94\u5f53\u653e\u7f6e\u7684\u6587\u4ef6\u5185\u5bb9\u5e94\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n

\u76ee\u5f55<\/p>\n

\u5e94\u653e\u7f6e\u6587\u4ef6\u5185\u5bb9<\/p>\n

\/bin<\/p>\n

\u7cfb\u7edf\u6709\u597d\u591a\u653e\u7f6e\u6267\u884c\u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u4f46\/bin\u6bd4\u8f83\u7279\u6b8a\u3002\u7531\u4e8e\/bin\u653e\u7f6e\u7684\u662f\u5728\u53cc\u4eba\u7ef4\u62a4\u6a21\u5f0f\u4e0b\u8fd8\u80fd\u5426\u88ab\u64cd\u4f5c\u7684\u6307\u4ee4\u3002\u5728\/bin\u4e0b\u8fb9\u7684\u6307\u4ee4\u53ef\u4ee5\u88abroot\u4e0e\u901a\u5e38\u5e10\u53f7\u6240\u4f7f\u7528\uff0c\u4e3b\u8981\u6709\uff1acat,chmod,chown,date,mv,mkdir,cp,bash\u7b49\u7b49\u5e38\u7528\u7684\u6307\u4ee4\u3002<\/p>\n

\/boot<\/p>\n

\u8fd9\u4e2a\u76ee\u5f55\u4e3b\u8981\u5728\u653e\u7f6e\u5f00\u673a\u4f1a\u4f7f\u7528\u5230\u7684\u6587\u4ef6\uff0c\u5305\u62ecLinux\u6838\u5fc3\u6587\u4ef6\u4ee5\u53ca\u5f00\u673a\u9009\u5355\u4e0e\u5f00\u673a\u6240\u9700\u914d\u7f6e\u6587\u4ef6\u7b49\u7b49\u3002Linuxkernel\u5e38\u7528\u7684\u6863\u540d\u4e3a\uff1avmlinuzlinux \u8bbe\u7f6e\u6587\u4ef6\u683c\u5f0f<\/strong>\uff0c\u5047\u5982\u4f7f\u7528\u7684\u662fgrub\u8fd9\u4e2a\u5f00\u673a\u7ba1\u7406\u7a0b\u5e8f\uff0c\u5219\u5c31\u4f1a\u5b58\u5728\/boot\/grub\/\u8fd9\u4e2a\u76ee\u5f55\uff01<\/p>\n

\/dev<\/p>\n

\u5728Linux\u7cfb\u7edf\u4e0a\uff0c\u4efb\u4f55\u88c5\u7f6e\u4e0e\u63d2\u53e3\u8bbe\u5907\u90fd\u662f\u4ee5\u6587\u4ef6\u7684\u578b\u6001\u5b58\u5728\u4e8e\u8fd9\u4e2a\u76ee\u5f55\u5f53\u4e2d\u7684\u3002\u4f60\u53ea\u8981\u900f\u8fc7\u5b58\u53d6\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u8fb9\u7684\u67d0\u4e2a\u6587\u4ef6\uff0c\u5c31\u7b49\u4e8e\u5b58\u53d6\u67d0\u4e2a\u88c5\u7f6e\u6bd4\u8f83\u91cd\u8981\u7684\u6587\u4ef6\u6709\/dev\/null,\/dev\/zero,\/dev\/tty,\/dev\/lp*,\/dev\/hd*,\/dev\/sd*\u7b49\u7b49<\/p>\n

\/etc<\/p>\n

\u7cfb\u7edf\u4e3b\u8981\u7684\u914d\u7f6e\u6587\u4ef6\u51e0\u4e4e\u90fd\u653e\u7f6e\u5728\u8fd9\u4e2a\u76ee\u5f55\u5185\uff0c\u6bd4\u5982\u4eba\u5458\u7684\u5e10\u53f7\u5bc6\u7801\u6587\u4ef6\u3001\u5404\u79cd\u670d\u52a1\u7684\u542f\u59cb\u6863\u7b49\u7b49\u3002\u901a\u5e38\u6765\u8bf4\uff0c\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u5404\u6587\u4ef6\u5c5e\u6027\u662f\u53ef\u4ee5\u8ba9\u901a\u5e38\u4f7f\u7528\u8005\u67e5\u9605\u7684\uff0c\u5e76\u4e14\u53ea\u6709root\u6709\u6743\u5229\u66f4\u6539\u3002FHS\u5efa\u8bae\u4e0d\u8981\u653e\u7f6e\u53ef\u6267\u884c\u6587\u4ef6(binary)\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u5594\u3002\u6bd4\u8f83\u91cd\u8981\u7684\u6587\u4ef6\u6709\uff1a\/etc\/inittab,\/etc\/init.d\/,\/etc\/modprobe.conf,\/etc\/X11\/,\/etc\/fstab,\/etc\/sysconfig\/\u7b49\u7b49\u3002\u53e6\u5916\uff0c\u5176\u4e0b\u91cd\u8981\u7684\u76ee\u5f55\u6709\uff1a<\/p>\n

\/etc\/init.d\/\uff1a\u6240\u6709\u670d\u52a1\u7684\u9884\u8bbe\u542f\u52a8script\u90fd\u662f\u7f6e\u4e8e\u8fd9\u513f\u7684\uff0c\u6bd4\u5982\u8981\u542f\u52a8\u6216\u5219\u5173\u6389iptables\u7684\u8bdd\uff1a\u300e\/etc\/init.d\/iptablesstart\u300f\u3001\u300e\/etc\/init.d\/iptablesstop\u300f<\/p>\n

\/etc\/xinetd.d\/\uff1a\u8fd9\u5c31\u662f\u6240\u8c13\u7684superdaemon\u7ba1\u7406\u7684\u5404\u9879\u670d\u52a1\u7684\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55\u3002<\/p>\n

\/etc\/X11\/\uff1a\u4e0eXWindow\u6709\u5173\u7684\u5404\u7c7b\u914d\u7f6e\u6587\u4ef6\u90fd\u5728\u8fd9\u513f\uff0c\u5c24\u5176\u662fxorg.conf\u8fd9\u4e2aXServer\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n

\/home<\/p>\n

\u8fd9\u662f\u7cfb\u7edf\u9ed8\u8ba4\u7684\u7528\u6237\u5bb6\u76ee\u5f55(homedirectory)\u3002\u5728\u4f60\u65b0\u589e\u4e00\u4e2a\u901a\u5e38\u4f7f\u7528\u8005\u5e10\u53f7\u65f6\uff0c\u9ed8\u8ba4\u7684\u7528\u6237\u5bb6\u76ee\u5f55\u8fd8\u4f1a\u89c4\u8303\u5230\u8fd9\u513f\u6765\u3002\u6bd4\u8f83\u91cd\u8981\u7684\u662f\uff0c\u5bb6\u76ee\u5f55\u6709\u4e24\u79cd\u4ee3\u53f7\uff1a~\uff1a\u4ee3\u8868\u76ee\u524d\u8fd9\u4e2a\u7528\u6237\u7684\u5bb6\u76ee\u5f55\uff0c\u800c~xiaoluo\uff1a\u5219\u4ee3\u8868xiaoluo\u7684\u5bb6\u76ee\u5f55\uff01<\/p>\n

\/lib<\/p>\n

\u7cfb\u7edf\u7684\u51fd\u5f0f\u5e93\u7279\u522b\u7684\u591a\uff0c\u800c\/lib\u653e\u7f6e\u7684\u5219\u662f\u5728\u5f00\u673a\u65f6\u4f1a\u7528\u5230\u7684\u51fd\u5f0f\u5e93\uff0c\u4ee5\u53ca\u5728\/bin\u6216\/sbin\u4e0b\u8fb9\u7684\u6307\u4ee4\u4f1a\u547c\u53eb\u7684\u51fd\u5f0f\u5e93\u800c\u5df2\u3002\u54ea\u4e9b\u662f\u51fd\u5f0f\u5e93\u5462\uff1f\u4f60\u53ef\u4ee5\u5c06\u4ed6\u60f3\u6210\u662f\u300e\u5916\u6302\u300f\uff0c\u4e2a\u522b\u6307\u4ee4\u5fc5\u9700\u8981\u6709\u8fd9\u79cd\u300e\u5916\u6302\u300f\u624d\u624d\u80fd\u987a\u5229\u5b8c\u6210\u7a0b\u5e8f\u7684\u6267\u884c\u4e4b\u610f\u3002\u5c24\u5176\u91cd\u8981\u7684\u662f\/lib\/modules\/\u8fd9\u4e2a\u76ee\u5f55\uff0c\u7531\u4e8e\u8be5\u76ee\u5f55\u4f1a\u653e\u7f6e\u6838\u5fc3\u76f8\u5173\u7684\u6a21\u5757(\u9a71\u52a8\u7a0b\u5e8f)\uff01<\/p>\n

\/media<\/p>\n

media\u662f\u300e\u5a92\u4f53\u300f\u7684\u65e5\u6587\uff0c\u987e\u540d\u601d\u4e49\uff0c\u8fd9\u4e2a\/media\u4e0b\u8fb9\u653e\u7f6e\u7684\u5c31\u662f\u53ef\u79fb\u9664\u7684\u88c5\u7f6e\u5566\uff01\u5305\u62ec\u8f6f\u9a71\u3001\u5149\u76d8\u3001DVD\u7b49\u7b49\u88c5\u7f6e\u90fd\u6682\u65f6\u6302\u8f7d\u4e8e\u6b64\u3002\u5e38\u89c1\u7684\u6863\u540d\u6709\uff1a\/media\/floppy,\/media\/cdrom\u7b49\u7b49\u3002(\u6211\u4eec\u7684\u5149\u789f\u955c\u50cf\u6587\u4ef6\u4e00\u822c\u90fd\u662f\u6302\u8f7d\u5728\u4e86media\u8fd9\u4e2a\u76ee\u5f55\u4e0b)<\/p>\n

\/mnt<\/p>\n

\u5047\u5982\u4f60\u60f3\u8981\u6682\u65f6\u6302\u8f7d\u4e2a\u522b\u989d\u5916\u7684\u88c5\u7f6e\uff0c\u901a\u5e38\u5efa\u8bae\u59b3\u53ef\u4ee5\u653e\u7f6e\u5230\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u3002\u5728\u53e4\u65e9\u65f6\u4faf\uff0c\u8fd9\u4e2a\u76ee\u5f55\u7684\u7528\u9014\u4e0e\/media\u76f8\u540c\u5566\uff01\u53ea\u662f\u6709\u4e86\/media\u4ee5\u540e\uff0c\u8fd9\u4e2a\u76ee\u5f55\u5c31\u62ff\u6765\u6682\u65f6\u6302\u8f7d\u7528\u4e86\u3002<\/p>\n

\/opt<\/p>\n

\u8fd9\u4e2a\u662f\u7ed9\u7b2c\u4e09\u65b9\u534f\u529b\u8f6f\u4ef6\u653e\u7f6e\u7684\u76ee\u5f55\u3002\u54ea\u4e9b\u662f\u7b2c\u4e09\u65b9\u534f\u529b\u8f6f\u4ef6\u554a\uff1f\u4e3e\u4f8b\u6765\u8bf4\uff0cKDE\u8fd9\u4e2a\u684c\u9762\u7ba1\u7406\u7cfb\u7edf\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u8ba1\u5212\uff0c\u4e0d\u8fc7\u4ed6\u53ef\u4ee5\u5b89\u88c5\u5230Linux\u7cfb\u7edf\u4e2d\uff0c\u56e0\u800cKDE\u7684\u8f6f\u4ef6\u5c31\u5efa\u8bae\u653e\u7f6e\u5230\u6b64\u76ee\u5f55\u4e0b\u4e86\u3002\u53e6\u5916\uff0c\u5047\u5982\u59b3\u60f3\u8981\u81ea\u884c\u5b89\u88c5\u989d\u5916\u7684\u8f6f\u4ef6(\u975e\u539f\u5148\u7684distribution\u63d0\u4f9b\u7684)\uff0c\u8fd9\u4e48\u4e5f\u5c31\u80fd\u5c06\u4f60\u7684\u8f6f\u4ef6\u5b89\u88c5\u5230\u8fd9\u513f\u6765\u3002\u4e0d\u8fc7\uff0c\u539f\u5148\u7684Linux\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u8fd8\u662f\u4e60\u60ef\u653e\u7f6e\u5728\/usr\/local\u76ee\u5f55\u4e0b\u5462\uff01<\/p>\n

\/root<\/p>\n

\u7cfb\u7edf\u7ba1\u7406\u5458(root)\u7684\u5bb6\u76ee\u5f55\u3002\u4e4b\u6240\u4ee5\u7f6e\u4e8e\u8fd9\u513f\uff0c\u662f\u7531\u4e8e\u5047\u5982\u6b65\u5165\u53cc\u4eba\u7ef4\u62a4\u6a21\u5f0f\u800c\u4ec5\u6302\u8f7d\u6839\u76ee\u5f55\u65f6\uff0c\u8be5\u76ee\u5f55\u5c31\u624d\u80fd\u62e5\u6709root\u7684\u5bb6\u76ee\u5f55\uff0c\u6240\u4ee5\u6211\u4eec\u4f1a\u5e0c\u671broot\u7684\u5bb6\u76ee\u5f55\u4e0e\u6839\u76ee\u5f55\u653e\u7f6e\u5728\u540c\u4e00\u4e2a\u5206\u5272\u69fd\u4e2d\u3002<\/p>\n

\/sbin<\/p>\n

Linux\u6709\u7279\u522b\u591a\u6307\u4ee4\u662f\u62ff\u6765\u8bbe\u5b9a\u7cfb\u7edf\u73af\u5883\u7684linux \u8bbe\u7f6e\u6587\u4ef6\u683c\u5f0f<\/strong>\uff0c\u8fd9\u79cd\u6307\u4ee4\u53ea\u6709root\u624d\u624d\u80fd\u5229\u62ff\u6765\u300e\u8bbe\u5b9a\u300f\u7cfb\u7edf\uff0c\u5176\u4ed6\u7528\u6237\u6700\u591a\u53ea\u80fd\u62ff\u6765\u300e\u67e5\u8be2\u300f\u800c\u5df2\u3002\u7f6e\u4e8e\/sbin\u4e0b\u8fb9\u7684\u4e3a\u5f00\u673a\u8fc7\u7a0b\u4e2d\u6240\u987b\u8981\u7684\uff0c\u4e0a\u9762\u5305\u62ec\u4e86\u5f00\u673a\u3001\u4fee\u590d\u3001\u8fd8\u539f\u7cfb\u7edf\u6240\u987b\u8981\u7684\u6307\u4ee4\u3002\u81f3\u4e8e\u4e2a\u522b\u670d\u52a1\u5668\u8f6f\u4ef6\u7a0b\u5e8f\uff0c\u901a\u5e38\u5219\u653e\u7f6e\u5230\/usr\/sbin\/\u5f53\u4e2d\u3002\u81f3\u4e8e\u672c\u673a\u81ea\u884c\u5b89\u88c5\u7684\u8f6f\u4ef6\u6240\u5f62\u6210\u7684\u7cfb\u7edf\u6267\u884c\u6587\u4ef6(systembinary)\uff0c\u5219\u653e\u7f6e\u5230\/usr\/local\/sbin\/\u5f53\u4e2d\u4e86\u3002\u5e38\u89c1\u7684\u6307\u4ee4\u5305\u62ec\uff1afdisk,fsck,ifconfig,init,mkfs\u7b49\u7b49\u3002<\/p>\n

\/srv<\/p>\n

srv\u53ef\u4ee5\u89c6\u4e3a\u300eservice\u300f\u7684\u7b80\u5199\uff0c\u662f\u4e00\u4e9b\u7f51\u8def\u670d\u52a1\u542f\u52a8\u4ee5\u540e\uff0c\u8fd9\u79cd\u670d\u52a1\u6240\u987b\u8981\u53d6\u7528\u7684\u6570\u636e\u76ee\u5f55\u3002\u5e38\u89c1\u7684\u670d\u52a1\u6bd4\u5982WWW,FTP\u7b49\u7b49\u3002\u4e3e\u4f8b\u6765\u8bf4\uff0cWWW\u670d\u52a1\u5668\u987b\u8981\u7684\u7f51\u9875\u6570\u636e\u5c31\u53ef\u4ee5\u653e\u7f6e\u5728\/srv\/www\/\u4e0a\u9762\u3002<\/p>\n

\/tmp<\/p>\n

\u8fd9\u662f\u8ba9\u901a\u5e38\u4f7f\u7528\u8005\u6216\u5219\u662f\u6b63\u5728\u6267\u884c\u7684\u7a0b\u5e8f\u6682\u65f6\u653e\u7f6e\u6587\u4ef6\u7684\u5730\u65b9\u3002\u8fd9\u4e2a\u76ee\u5f55\u662f\u4efb\u4f55\u4eba\u90fd\u8fd8\u80fd\u5b58\u53d6\u7684\uff0c\u6240\u4ee5\u4f60\u987b\u8981\u5b9a\u671f\u7684\u6e05\u9664\u4e00\u4e0b\u3002\u5176\u5b9e\uff0c\u91cd\u8981\u6570\u636e\u4e0d\u53ef\u653e\u7f6e\u5728\u6b64\u76ee\u5f55\u554a\uff01\u7531\u4e8eFHS\u751a\u81f3\u5efa\u8bae\u5728\u5f00\u673a\u65f6\uff0c\u5e94\u5f53\u8981\u5c06\/tmp\u4e0b\u7684\u6570\u636e\u90fd\u5220\u6389\u5537<\/p>\n

\/lost+found<\/p>\n

\u8fd9\u4e2a\u76ee\u5f55\u662f\u4f7f\u7528\u6807\u51c6\u7684ext2\/ext3\u6587\u4ef6\u7cfb\u7edf\u683c\u5f0f\u624d\u80fd\u5f62\u6210\u7684\u4e00\u4e2a\u76ee\u5f55\uff0c\u76ee\u7684\u5728\u4e8e\u5f53\u6587\u4ef6\u7cfb\u7edf\u53d1\u751f\u9519\u8bef\u65f6\uff0c\u5c06\u4e00\u4e9b\u4e22\u5931\u7684\u7247\u65ad\u653e\u7f6e\u5230\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u3002\u8fd9\u4e2a\u76ee\u5f55\u4e00\u822c\u4f1a\u5728\u5206\u5272\u69fd\u7684\u6700\u9876\u697c\u5b58\u5728\uff0c\u6bd4\u5982\u4f60\u6539\u88c5\u4e00\u9897\u786c\u789f\u4e8e\/disk\u4e2d\uff0c\u90a3\u5728\u8fd9\u4e2a\u7cfb\u7edf\u4e0b\u624d\u4f1a\u624b\u52a8\u5f62\u6210\u4e00\u4e2a\u8fd9\u6837\u7684\u76ee\u5f55\u300e\/disk\/lost+found\u300f<\/p>\n

\/proc<\/p>\n

\u8fd9\u4e2a\u76ee\u5f55\u672c\u8eab\u662f\u4e00\u4e2a\u300e\u865a\u62df\u6587\u4ef6\u7cfb\u7edf(virtualfilesystem)\u300f\u5594\uff01\u4ed6\u653e\u7f6e\u7684\u6570\u636e\u90fd\u662f\u5728\u663e\u5b58\u5f53\u4e2d\uff0c\u6bd4\u5982\u7cfb\u7edf\u6838\u5fc3\u3001\u884c\u7a0b\u4fe1\u606f(process)\u3001\u5468\u8fb9\u88c5\u7f6e\u7684\u72b6\u6001\u53ca\u7f51\u8def\u72b6\u6001\u7b49\u7b49\u3002\u7531\u4e8e\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u6570\u636e\u90fd\u662f\u5728\u663e\u5b58\u5f53\u4e2d\uff0c\u6240\u4ee5\u672c\u8eab\u4e0d\u5360\u4efb\u4f55\u786c\u789f\u7a7a\u95f4\uff01\u6bd4\u8f83\u91cd\u8981\u7684\u6587\u4ef6\u6bd4\u5982\uff1a\/proc\/cpuinfo,\/proc\/dma,\/proc\/interrupts,\/proc\/ioports,\/proc\/net\/*\u7b49\u7b49\u3002<\/p>\n

\/sys<\/p>\n

\u8fd9\u4e2a\u76ee\u5f55\u4e5f\u8bb8\u8ddf\/proc\u5341\u5206\u7c7b\u4f3c\uff0c\u4e5f\u662f\u4e00\u4e2a\u865a\u62df\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e3b\u8981\u4e5f\u662f\u8bb0\u5f55\u4e0e\u6838\u5fc3\u76f8\u5173\u7684\u4fe1\u606f\u3002\u5305\u62ec\u76ee\u524d\u5df2\u52a0\u8f7d\u7684\u6838\u5fc3\u6a21\u5757\u4e0e\u6838\u5fc3\u63a2\u6d4b\u5230\u7684\u786c\u4ef6\u88c5\u7f6e\u4fe1\u606f\u7b49\u7b49\u3002\u8fd9\u4e2a\u76ee\u5f55\u540c\u6837\u4e0d\u5360\u786c\u789f\u5bb9\u91cf<\/p>\n

usr<\/p>\n

\u7531FHS\u89c4\u8303\u7684\u7b2c\u4e8c\u5c42\u5185\u5bb9\uff0c\u5728\/usr\u6b64\u76ee\u5f55\u4e0b\uff0c\u5305\u542b\u7cfb\u7edf\u7684\u4e3b\u8981\u7a0b\u5e8f\u3001\u56fe\u5f62\u63d2\u53e3\u6240\u987b\u8981\u7684\u6863\u6848\u3001\u989d\u5916\u7684\u51fd\u5f0f\u5e93\u3001\u672c\u673a\u7aef\u6240\u81ea\u884c\u5b89\u88c5\u7684\u8f6f\u4ef6\uff0c\u4ee5\u53ca\u5171\u4eab\u7684\u76ee\u5f55\u4e0e\u6587\u4ef6\u7b49\u7b49\uff0c\u90fd\u53ef\u4ee5\u5728\u8fd9\u4e2a\u76ee\u5f55\u5f53\u4e2d\u53d1\u89c9\u3002\u4e8b\u5b9e\u4e0a\uff0c\u4ed6\u6709\u70b9\u50cf\u662fWindows\u64cd\u4f5c\u7cfb\u7edf\u5f53\u4e2d\u7684\u300eProgramfiles\u300f\u4e0e\u300eWinNT\u300f\u8fd9\u4e24\u4e2a\u76ee\u5f55\u7684\u7ed3\u5408\uff01\u5728\u6b64\u76ee\u5f55\u4e0b\u7684\u91cd\u8981\u6b21\u76ee\u5f55\u6709\uff1a<\/p>\n

\/usr\/bin,\/usr\/sbin\uff1a\u901a\u5e38\u8eab\u5206\u7528\u6237\u4e0e\u7cfb\u7edf\u7ba1\u7406\u5458\u53ef\u6267\u884c\u7684\u6863\u6848\u653e\u7f6e\u76ee\u5f55\uff1b<\/p>\n

linux\u683c\u5f0f\u547d\u4ee4_linux\u6587\u4ef6\u7684\u683c\u5f0f_linux \u8bbe\u7f6e\u6587\u4ef6\u683c\u5f0f<\/p>\n

\/usr\/include\uff1ac\/c++\u7b49\u7a0b\u5e8f\u8bed\u8a00\u7684\u6863\u5934(header)\u4e0e\u5305\u542b\u6863(include)\u653e\u7f6e\u5904\uff0c\u5f53\u6211\u4eec\u4ee5tarball\u5f62\u5f0f(*.tar.gz\u7684\u5f62\u5f0f\u5b89\u88c5\u8f6f\u4ef6)\u5b89\u88c5\u4e2a\u522b\u6570\u636e\u65f6\uff0c\u4f1a\u4f7f\u7528\u5230\u91cc\u5934\u7684\u8bb8\u591a\u5305\u542b\u6863\u5594\uff01\uff1b<\/p>\n

\/usr\/lib\uff1a\u5404\u5e94\u7528\u8f6f\u4ef6\u7684\u51fd\u5f0f\u5e93\u6863\u6848\u653e\u7f6e\u76ee\u5f55\uff1b<\/p>\n

\/usr\/local\uff1a\u672c\u673a\u7aef\u81ea\u884c\u5b89\u88c5\u7684\u8f6f\u4ef6\u9ed8\u8ba4\u653e\u7f6e\u7684\u76ee\u5f55\u3002\u76ee\u524d\u4e5f\u9002\u7528\u4e8e\/opt\u76ee\u5f55\u3002\u5728\u4f60\u5b89\u88c5\u5b8c\u4e86Linux\u4ee5\u540e\uff0c\u57fa\u672c\u4e0a\u6240\u6709\u7684\u914d\u5907\u4f60\u90fd\u6709\u4e86\uff0c\u5e76\u4e14\u8f6f\u4ef6\u603b\u662f\u53ef\u4ee5\u5347\u7ea7\u7684\uff0c\u6bd4\u5982\u4f60\u8981\u5347\u7ea7\u4f60\u7684proxy\u670d\u52a1\uff0c\u5219\u4e00\u822c\u8f6f\u4ef6\u9ed8\u8ba4\u7684\u5b89\u88c5\u5730\u65b9\u5c31\u662f\u5728\/usr\/local(local\u662f\u300e\u5f53\u5730\u300f\u7684\u610f\u601d)\uff0c\u540c\u65f6\uff0c\u5b89\u88c5\u5b8c\u6bd5\u4ee5\u540e\u6240\u5f97\u5230\u7684\u6267\u884c\u6587\u4ef6\uff0c\u4e3a\u4e86\u4e0e\u7cfb\u7edf\u539f\u672c\u7684\u6267\u884c\u6587\u4ef6\u6709\u5206\u522b\uff0c\u56e0\u800c\u5347\u7ea7\u540e\u7684\u6267\u884c\u6863\u4e00\u822c\u6446\u5728\/usr\/local\/bin\u8fd9\u4e2a\u5730\u65b9\u3002<\/p>\n

\/usr\/share\uff1a\u5171\u4eab\u6587\u4ef6\u653e\u7f6e\u7684\u76ee\u5f55\uff0c\u6bd4\u5982\u4e0b\u8fb9\u4e24\u4e2a\u76ee\u5f55\uff1a<\/p>\n

\/usr\/share\/doc\uff1a\u653e\u7f6e\u4e00\u4e9b\u7cfb\u7edf\u8bf4\u660e\u6587\u4ef6\u7684\u5730\u65b9\uff0c\u6bd4\u5982\u4f60\u5b89\u88c5\u4e86grub\u4e86\uff0c\u8fd9\u4e48\u5728\u8be5\u76ee\u5f55\u4e0b\u8fb9\u627e\u4e00\u627e\uff0c\u5c31\u53ef\u4ee5\u67e5\u5230grub\u7684\u8bf4\u660e\u6587\u4ef6\u4e86\uff01\u5f88\u662f\u4fbf\u5229\uff01<\/p>\n

\/usr\/share\/man\uff1amanpage\u7684\u6587\u4ef6\u6863\u6848\u76ee\u5f55\uff1b\u5728\u4f7f\u7528man\u7684\u65f6\u4faf\uff0c\u4f1a\u53bb\u67e5\u8be2\u7684\u8def\u5f84\uff01\u6bd4\u5982\u4f60\u4f7f\u7528manls\u8fd9\u4e2a\u6307\u4ee4\u65f6\uff0c\u624d\u4f1a\u67e5\u51fa\/usr\/share\/man\/man1\/ls.1.gz\u8fd9\u4e2a\u8bf4\u660e\u6863\u7684\u5185\u5bb9\uff01<\/p>\n

\/usr\/src\uff1aLinux\u7cfb\u7edf\u76f8\u5173\u7684\u7a0b\u5e8f\u4ee3\u7801\u653e\u7f6e\u76ee\u5f55\uff0c\u6bd4\u5982\/usr\/src\/linux\u4e3a\u6838\u5fc3\u539f\u4ee3\u7801\uff01<\/p>\n

\/usr\/X11R6\uff1a\u7cfb\u7edf\u5185\u7684XWindowSystem\u6240\u9700\u7684\u6267\u884c\u6863\u51e0\u4e4e\u90fd\u653e\u5230\u8fd9\uff01<\/p>\n

\/var<\/p>\n

\u8fd9\u4e2a\u76ee\u5f55\u4e5f\u5f88\u91cd\u8981\uff0c\u4e5f\u662fFHS\u89c4\u8303\u7684\u7b2c\u4e8c\u5c42\u76ee\u5f55\u5185\u5bb9\u3002\u4ed6\u4e3b\u8981\u653e\u7f6e\u7684\u662f\u9488\u5bf9\u7cfb\u7edf\u6267\u884c\u8fc7\u7a0b\u4e2d\uff0c\u5e38\u6001\u6027\u53d8\u52a8\u7684\u6863\u6848\u653e\u7f6e\u7684\u76ee\u5f55\u3002\u4e3e\u4f8b\u6765\u8bf4\uff0c\u6bd4\u5982\u7f13\u5b58\u6587\u4ef6(cache)\u6216\u5219\u662f\u968f\u65f6\u53d8\u66f4\u7684\u767b\u5165\u6587\u4ef6(logfile)\u90fd\u662f\u7f6e\u4e8e\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u7684\u3002\u636e\u6089\uff0c\u4e2a\u522b\u8f6f\u4ef6\u6267\u884c\u8fc7\u7a0b\u4e2d\u4f1a\u5199\u5165\u7684\u6570\u636e\u5e93\u6863\u6848\uff0c\u6bd4\u5982MySQL\u6570\u636e\u5e93\uff0c\u4e5f\u90fd\u5199\u5165\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e2d\uff01\u4e0b\u8fb9\u7684\u91cd\u8981\u76ee\u5f55\u6709\uff1a<\/p>\n

\/var\/cache\uff1a\u7a0b\u5e8f\u6863\u6848\u5728\u8fd0\u4f5c\u8fc7\u7a0b\u5f53\u4e2d\u7684\u4e00\u4e9b\u6682\u8bfb\u6863\uff1b<\/p>\n

\/var\/lib\uff1a\u7a0b\u5e8f\u672c\u8eab\u6267\u884c\u7684\u8fc7\u7a0b\u4e2d\uff0c\u987b\u8981\u4f7f\u7528\u5230\u7684\u6570\u636e\u6587\u4ef6\u653e\u7f6e\u7684\u76ee\u5f55\uff0c\u4e3e\u4f8b\u6765\u8bf4\uff0clocate\u8fd9\u4e2a\u6570\u636e\u5e93\u4e0eMySQL\u53carpm\u7b49\u6570\u636e\u5e93\u7cfb\u7edf\uff0c\u90fd\u5199\u5728\u8fd9\u4e2a\u76ee\u5f55\u5185\u3002<\/p>\n

\/var\/log\uff1a\u767b\u5165\u6587\u4ef6\u653e\u7f6e\u7684\u76ee\u5f55\u3002\u5f88\u91cd\u8981\u554a\uff01\u8bf8\u5982\/var\/log\/messages\u5c31\u662f\u603b\u7ba1\u6240\u6709\u767b\u9646\u6863\u7684\u4e00\u4e2a\u6863\u6848\uff01<\/p>\n

\/var\/lock\uff1a\u4e2a\u522b\u88c5\u7f6e\u5177\u6709\u4e00\u6b21\u6027\u5199\u5165\u7684\u7279\u70b9\uff0c\u6bd4\u5982tab(\u78c1\u5e26\u673a)\uff0c\u6b64\u65f6\uff0c\u4e3a\u4e86\u5bb3\u6015\u88ab\u5176\u4ed6\u4eba\u5e72\u6270\u800c\u7834\u574f\u6b63\u5728\u8fd0\u4f5c\u7684\u52a8\u4f5c\uff0c\u56e0\u800c\uff0c\u4f1a\u5c06\u8be5\u88c5\u7f6elock(\u9501\u4f4f)\u4e0a\u53bb\uff0c\u4ee5\u786e\u5b9a\u8be5\u88c5\u7f6e\u53ea\u80fd\u88ab\u5b50\u4e00\u4e2a\u7a0b\u5e8f\u6240\u4f7f\u7528\uff01<\/p>\n

\/var\/run\uff1a\u4e2a\u522b\u7a0b\u5e8f\u6216\u5219\u662f\u670d\u52a1\u542f\u52a8\u540e\u865a\u62df\u4e3b\u673a linux\uff0c\u4f1a\u5c06\u5979\u4eec\u7684PID\u653e\u7f6e\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e0b\uff01<\/p>\n

\/var\/spool\uff1a\u662f\u4e00\u4e9b\u961f\u5217\u6570\u636e\u50a8\u5b58\u7684\u5730\u65b9\u3002\u4e3e\u4f8b\u6765\u8bf4\uff0c\u4e3b\u673a\u6536\u5230\u7535\u5b50\u7535\u90ae\u540e\uff0c\u90fd\u4f1a\u653e\u7f6e\u5230\/var\/spool\/mail\u5f53\u4e2d\uff0c\u82e5\u4fe1\u51fd\u6682\u65f6\u53d1\u4e0d\u51fa\u53bb\uff0c\u90fd\u4f1a\u653e\u7f6e\u5230\/var\/spool\/mqueue\u76ee\u5f55\u4e0b\uff0c\u4f7f\u7528\u8005\u5de5\u4f5c\u4efb\u52a1\u5206\u914d(cron)\u5219\u662f\u653e\u7f6e\u5728\/var\/spool\/cron\u5f53\u4e2d\uff01<\/p>\n

\u975e\u5e38\u91cd\u8981\u7684\u51e0\u4e2a\u76ee\u5f55<\/p>\n

\/etc\uff1a\u8fd9\u4e2a\u76ee\u5f55\u662f\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u653e\u7f6e\u7684\u5730\u65b9\uff0c\u5305\u62ec\u60a8\u7cfb\u7edf\u4e0a\u7684\u5e10\u53f7\u4e0e\u5bc6\u7801(\/etc\/passwd,\/etc\/shadow)\uff0c\u8fd8\u6709\u5f00\u673a\u65f6\u6240\u8981\u7528\u5230\u7684\u5404\u9879\u8bbe\u5b9a\u503c(\/etc\/sysconfig\/*)\uff0c\u8fd8\u6709\u5404\u4e3b\u8981\u7684\u7f51\u8def\u670d\u52a1\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u90fd\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u3002\u610f\u601d\u5c31\u662f\u8bf4\uff0c\u5047\u5982\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u8fb9\u7684\u6863\u6848\u88ab\u5220\u6389\u6216\u5219\u662f\u70c2\u6389\u4e86\uff0c\u6211\u4eec\u5c31\u8981\u8017\u8d39\u5927\u91cf\u7684\u65f6\u95f4\u6765\u6062\u590d\u8fd9\u4e2a\u76ee\u5f55\u7684\u6587\u4ef6\u3002\u56e0\u800c\uff0c\u901a\u5e38\u5efa\u8bae\u5c06\u8fd9\u4e2a\u76ee\u5f55\u8fdb\u884c\u5907\u4efd\uff01<\/p>\n

\/usr\/local\uff1a\u5c3d\u7ba1\u8bf4\u76ee\u524d\u65e9\u5df2\u5c06\u8fd9\u4e2a\u76ee\u5f55\u7684\u91cd\u8981\u6027\u8054\u901a\u5230\/opt\u4e86\uff0c\u4f46\u6211\u8fd8\u662f\u662f\u6bd4\u8f83\u4e60\u60ef\u5c06\u6211\u81ea\u5df1\u5f00\u53d1\u6216\u81ea\u884c\u989d\u5916\u5b89\u88c5\u7684\u8f6f\u4ef6\u653e\u7f6e\u5728\u8fd9\u4e2a\/usr\/local\u76ee\u5f55\u4e0b\u3002\u5047\u5982\u4f60\u7684Linux\u7cfb\u7edf\u662f\u591a\u4eba\u5171\u7ba1\u7684\u8bdd\uff0c\u8fd9\u4e48\uff0c\u517b\u6210\u4e00\u4e2a\u826f\u597d\u7684\u64cd\u4f5c\u4e60\u60ef\u662f\u6709\u5fc5\u8981\u7684\u3002\u8fd9\u4e48\u5b89\u88c5\u8f6f\u4ef6\u7684\u4e60\u60ef\u4e5f\u8981\u597d\u597d\u6784\u5efa\u4e0a\u53bb\u554a\uff5e\u4e0d\u8981\u968f\u4fbf\u5b89\u88c5\u5462\uff01\u7edf\u4e00\u653e\u7f6e\u5728\/usr\/local\u6216\u5219\u662f\/opt\u4e0b\u8fb9\u5427\uff01<\/p>\n

\/var\uff1a\u8fd9\u4e2a\u76ee\u5f55\u662f\u5728\u7ba1\u7406\u7cfb\u7edf\u8fd0\u4f5c\u8fc7\u7a0b\u4e2d\u7684\u91cd\u8981\u4e2d\u95f4\u6682\u5b58\u6570\u636e\u7684\uff0c\u6bd4\u5982\/var\/lib\u4e0e\/var\/run\u3002\u636e\u6089\uff0c\u6700\u7ec8\u7684\u6570\u636e\u6bd4\u5982\u7535\u90ae\/var\/spool\/mail\u4e5f\u662f\u653e\u7f6e\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u53e6\u5916\uff0c\u51e0\u4e4e\u6240\u6709\u670d\u52a1\u7684\u767b\u9646\u6587\u4ef6(\u53ef\u4ee5\u8bb0\u5f55\u8c01\u3001\u4ec0\u4e48\u65f6\u4faf\u3001\u7531\u90a3\u91cc\u767b\u9646\u4e3b\u673a\u3001\u505a\u4e86\u54ea\u4e9b\u4e8b\u7b49\u7b49\u4fe1\u606f\uff01)\u90fd\u7f6e\u4e8e\/var\/log\u8fd9\u4e2a\u76ee\u5f55\u4e0b\uff0c\u56e0\u800c\uff0c\u8fd9\u4e2a\u76ee\u5f55\u4e5f\u5f88\u91cd\u8981\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7cfb\u7edf\u6709\u5f88\u591a\u653e\u7f6e\u6267\u884c\u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u4f46\/bin\u6bd4\u8f83\u7279\u6b8a\u3002daemon\u7ba1\u7406\u7684\u5404\u9879\u670d\u52a1\u7684\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55\u3002\/usr\/lib\uff1a\u5404\u5e94\u7528\u8f6f\u4ef6\u7684\u51fd\u5f0f\u5e93\u6863\u6848\u653e\u7f6e\u76ee\u5f55\uff1b\/usr\/local\uff1a\u672c\u673a\u7aef\u81ea\u884c\u5b89\u88c5\u7684\u8f6f\u4ef6\u9ed8\u8ba4\u653e\u7f6e\u7684\u76ee\u5f55\u3002\uff0c\u8fd8\u6709\u5404\u4e3b\u8981\u7684\u7f51\u7edc\u670d\u52a1\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u90fd\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u3002<\/p>\n","protected":false},"author":1,"featured_media":287933,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-287932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/287932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=287932"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/287932\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/287933"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=287932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=287932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=287932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}