{"id":293821,"date":"2024-10-23T20:05:36","date_gmt":"2024-10-23T12:05:36","guid":{"rendered":"https:\/\/lrxjmw.cn\/lczxtdyqjwjl.html"},"modified":"2024-10-23T20:05:36","modified_gmt":"2024-10-23T12:05:36","slug":"lczxtdyqjwjl","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lczxtdyqjwjl.html","title":{"rendered":"Linux \u64cd\u4f5c\u7cfb\u7edf\u7684\u4e00\u5207\u7686\u6587\u4ef6\u7406\u5ff5\u53ca\u56fe\u5f62\u754c\u9762\u89e3\u6790"},"content":{"rendered":"
\u5e38\u5e38\u5728Windows\u73af\u5883\u4e0b\u5de5\u4f5c\u7684\u670b\u53cb\u5728\u521d\u6b21\u4f7f\u7528Linux<\/a>\u64cd\u4f5c\u7cfb\u7edf\u7684\u65f6\u4faf\u53ef\u80fd\u6709\u79cd\u4e0d\u77e5\u6240\u63aa\u7684\u89c9\u5f97\u3002Linux\u64cd\u4f5c\u7cfb\u7edf\u7406\u5ff5\u662f\u4e00\u5207\u7686\u6587\u4ef6\u3002\u56e0\u800c\u5f53\u6211\u4eec\u767b\u9646Linux\u64cd\u4f5c\u7cfb\u7edf\u5185\u90e8\u7684\u65f6\u4faf\u542c\u5230\u7684\u662f\u5404\u7c7b\u76ee\u5f55\u548c\u6587\u4ef6\u3002\u975e\u5e38\u662f\u6b65\u5165\u975e\u684c\u9762\u7248\u65f6\uff0c\u89c1\u5230\u7684\u53ea\u662f\u4e00\u4e2a\u547d\u4ee4<\/a>\u884c\u63d0\u793a\u7b26\u3002<\/p>\n \u56fe1Linux\u4ea4\u4e92\u754c\u9762<\/p>\n \u8fd9\u5c31\u7ed9\u4f60\u4eec\u5f15\u8d77\u4e86\u5f88\u5927\u7684\u5b66\u4e60\u969c\u788d\u3002\u5f53\u7136\u82e5\u679c\u767b\u9646\u684c\u9762\u7248\uff08\u4f8b\u5982Ubuntu\uff09\u4f1a\u53d1\u89c9\u4f3c\u4e4e\u8ddfWindows\u8fd8\u662f\u5f88\u50cf\u7684\u3002\u5b66\u4e60\u95e8\u69db\u4e5f\u4f4e\u597d\u591a\u3002<\/p>\n <\/p>\n \u56fe2\u56fe\u5f62\u754c\u9762\u76ee\u5f55\u7ed3\u6784<\/p>\n \u684c\u9762\u7248\u53ea\u662f\u5bf9\u5e95\u5c42\u505a\u4e86\u4e00\u4e9b\u5c01\u88c5\uff0c\u672c\u8d28\u4e0a\u6765\u8bf4\uff0cLinux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u4e00\u5207\u7686\u6587\u4ef6\u3002\u9664\u4e86\u4ec5\u50a8\u5b58\u6570\u636e\u7684c\u76d8\u662f\u6587\u4ef6\uff0c\u5176\u5b83\u8bbe\u5907\u4e5f\u662f\u6587\u4ef6\u3002\u64cd\u4f5c\u7cfb\u7edf\u5185\u90e8\u7684\u4fe1\u606f\u4e5f\u662f\u4ee5\u6587\u4ef6\u7684\u65b9\u5f0f\u5448\u73b0\u7684\uff0c\u4f8b\u5982CPU\u4fe1\u606f\u3001\u5185\u5b58\u4fe1\u606f\u548c\u8fdb\u7a0b\u4fe1\u606f\u7b49\u7b49\u3002<\/p>\n \u4e3a\u6b64\uff0c\u5047\u5982\u60f3\u5b66\u4e60Linux\u64cd\u4f5c\u7cfb\u7edf\uff0c\u7279\u522b\u6709\u6bd4\u8f83\u4e86\u89e3\u4e00\u4e0b\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u3002\u867d\u7136\u6709\u4e00\u4e2a\u4e13\u95e8\u7684\u6587\u6863\u6765\u4ecb\u7ecdLinux\u7684\u76ee\u5f55\u7ed3\u6784linux\u7cfb\u7edf\u76ee\u5f55\u7ed3\u6784<\/strong>\uff0c\u8fd9\u4e2a\u6587\u6863\u540d\u4e3a\u6587\u4ef6\u7cfb\u7edf\u5c42\u6b21\u6807\u51c6\uff08FilesystemHierarchyStandard\uff0c\u7b80\u79f0FHS\uff09\u3002\u5e76\u4e14\u8fd9\u4e2a\u6587\u6863\u7279\u522b\u957f\uff0c\u5e76\u4e14\u5728Linux\u7684\u76ee\u5f55\u7ed3\u6784\u4e2d\u6709\u4e9b\u76ee\u5f55\u5e76\u4e0d\u5728\u8be5\u6587\u6863\u4e2d\uff0c\u56e0\u800c\u672c\u6587\u7b80\u7565\u4ecb\u7ecd\u4e00\u4e0bLinux\u7684\u6838\u5fc3\u76ee\u5f55\u3002<\/p>\n \/\u2013\u6839\u76ee\u5f55<\/p>\n \u9996\u5148\u6211\u4eec\u4ecb\u7ecd\u4e00\u4e0bLinux\u4e0b\u7684\u6839\u76ee\u5f55\u3002Linux\u7684\u76ee\u5f55\u7ed3\u6784\u5982\u540c\u4e00\u68f5\u5012\u7740\u7684\u5c0f\u6811linux\u7cfb\u7edf\u76ee\u5f55\u7ed3\u6784<\/strong>\uff0c\u6700\u5e95\u5c42\u662f\u6811\u51a0\uff0c\u4e4b\u540e\u662f\u5206\u652flinux\u683c\u5f0f\u5316\u547d\u4ee4\uff0c\u5c42\u5c42\u7ec6\u5206\u3002\u800c\u6839\u76ee\u5f55\u662fLinux\u6700\u5e95\u5c42\u7684\u76ee\u5f55\uff0c\u5982\u540c\u4e00\u68f5\u5c0f\u6811\u7684\u679d\u6761\u4e00\u6837\u3002<\/p>\n \u4efb\u4f55\u5185\u5bb9\u90fd\u5750\u843d\u6839\u76ee\u5f55\u4e4b\u4e0b\uff0c\u6839\u76ee\u5f55\u901a\u8fc7\u4e00\u4e2a\u8def\u5f84\u7b26\u53f7\/\u8868\u793a\u3002\u5047\u5982\u975e\u8981\u627e\u4e2a\u7c7b\u6bd4\u7684\u8bdd\uff0c\u53ef\u4ee5\u5c06\u6839\u76ee\u5f55\u7406\u89e3\u4e3aWindows\u4e0b\u8fb9\u7684C:\u76ee\u5f55\u3002\u5e76\u4e14\u4e25\u683c\u6765\u8bf4\u5e76\u4e0d\u4e00\u6837\uff0cLinux\u4e0b\u7684\"\/\"\u662f\u6240\u6709\u5185\u5bb9\uff08\u5305\u62ec\u6587\u4ef6\u76ee\u5f55\u3001\u8bbe\u5907\u548c\u6587\u4ef6\u7b49\uff09\u7684\u6839\uff0c\u800cWindows\u4e0b\u7684C:\u5e76\u4e0d\u662f\uff0c\u7531\u4e8e\u5047\u5982\u6709\u591a\u4e2ac\u76d8\u6216\u5219\u591a\u4e2a\u5206\u533a\uff0c\u90a3Windows\u4e0b\u53ef\u80fd\u8fd8\u6709D:\u6216\u5219E:\u3002<\/p>\n \u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6267\u884c\u547d\u4ee4cd\/\u5c06\u5f53\u524d\u5de5\u4f5c\u8def\u5f84\u5207\u6362\u5230\u6839\u76ee\u5f55\u3002\u5e76\u901a\u8fc7\u547d\u4ee4tree-L1\u663e\u793a\u6839\u76ee\u5f55\u7684\u6240\u6709\u4e0b\u4e00\u7ea7\u76ee\u5f55\u3002\u5177\u4f53\u5982\u56fe3\u6240\u793a\u3002\u672c\u4f8b\u4e2d\u53ea\u663e\u793a\u4e86\u4e00\u7ea7\u5b50\u76ee\u5f55\uff0c\u5176\u5b9e\u4e5f\u53ef\u4ee5\u901a\u8fc7-L2\u663e\u793a\u4e8c\u7ea7\u5b50\u76ee\u5f55\uff0c\u4f46\u7ed3\u679c\u53ef\u80fd\u4f1a\u5360\u6ee1\u6574\u4e2a\u5c4f\u5e55\u3002<\/p>\n <\/p>\n <\/p>\n \u56fe3\u6839\u76ee\u5f55\u793a\u4f8b<\/p>\n \/bin\u2013\u7528\u6237\u57fa\u7840\u4e8c\u8865\u7801\u6587\u4ef6\u76ee\u5f55<\/p>\n \u76ee\u5f55\/bin\u662f\u6839\u76ee\u5f55\u7684\u4e00\u7ea7\u5b50\u76ee\u5f55\u3002\u5728\u8be5\u76ee\u5f55\u4e2d\u5305\u542b\u7740\u6700\u4e3a\u57fa\u7840\u7684\u7528\u6237\u4e8c\u8865\u7801\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u5e94\u7528\u7a0b\u5e8f\u3002\u8fd9\u4e2a\u76ee\u5f55\u5341\u5206\u50cfWindows\u4e0b\u7684Programs\u76ee\u5f55\u3002<\/p>\n \u5e76\u975e\u6240\u6709\u7684\u5e94\u7528\u7a0b\u5e8f\u90fd\u50a8\u5b58\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u8fb9\uff0c\u6709\u4e9b\u4e0d\u662f\u975e\u5e38\u57fa\u7840\u7684\u7a0b\u5e8f\u4f1a\u50a8\u5b58\u5728\/usr\/bin\u76ee\u5f55\u4e0b\u8fb9\u3002\u4f8b\u5982Chrome\u6d4f\u89c8\u5668\u7b49\uff0c\u6216\u5219\u7528\u6237\u81ea\u5df1\u5b89\u88c5\u7684\u4e00\u4e9b\u7a0b\u5e8f\u4e00\u822c\u4f1a\u5728\/usr\/bin\u4e0b\u8fb9\u3002\u800c\u7cfb\u7edf\u5e94\u7528\u7a0b\u5e8f\u5219\u4e00\u822c\u4f1a\u5728\u8be5\u76ee\u5f55\u4e0b\u8fb9\uff0c\u4f8b\u5982ls\u3001mkdir\u548ccp\u7b49\u7b49\u3002<\/p>\n \u5047\u5982\u4f60\u4f7f\u7528\u7684\u684c\u9762\u7248\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u53ef\u4ee5\u901a\u8fc7GUI\u770b\u89c1\u8be5\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u3002\u4e0b\u8fb9\u8fd9\u5f20\u56fe\u662f\u4e00\u4e2a\u5177\u4f53\u7684\u53cd\u4f8b\u3002<\/p>\n <\/p>\n \u56fe4\u4e8c\u8865\u7801\u76ee\u5f55<\/p>\n \/boot\u2013\u9759\u6001\u542f\u52a8\u6587\u4ef6<\/p>\n \u5728\u76ee\u5f55\/boot\u4e0b\u8fb9\u5305\u542b\u7684\u6587\u4ef6\u662f\u7528\u4e8e\u542f\u52a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u6587\u4ef6\u3002\u4f8b\u5982GRUBbootloader\u6587\u4ef6\u548c\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u7b49\u3002\u5e76\u4e14bootloader\u7684\u914d\u7f6e\u6587\u4ef6\u5e76\u6ca1\u6709\u5728\u8fd9\u513f\uff0c\u800c\u662f\u5728\/etc\u76ee\u5f55\u4e2d\u3002<\/p>\n \/cdrom\u2013\u5149\u76d8\u5b89\u88c5\u70b9<\/p>\n \u76ee\u5f55\/cdrom\u5e76\u4e0d\u662fFHS\u6807\u51c6\u7684\u4e00\u90e8\u4efd\uff0c\u800c\u4e14\u6211\u4eec\u5728\u7edd\u5927\u591a\u6570\u53d1\u884c\u7248\u4e2d\u90fd\u53ef\u4ee5\u89c1\u5230\u3002\u8be5\u76ee\u5f55\u662f\u5149\u789f\u7684\u4e34\u65f6\u6302\u8f7d\u70b9\u3002<\/p>\n \/dev\u2013\u8bbe\u5907\u6587\u4ef6<\/p>\n <\/p>\n \u5728Linux\u4e0b\u8fb9\uff0c\u8bbe\u5907\u4e5f\u662f\u4e00\u4e2a\u6587\u4ef6\uff0c\u4f8b\u5982c\u76d8\u3001\u4f18\u76d8\u6216\u5219\u5149\u789f\u7b49\u3002\u5305\u62ec\u65e0\u7ebf\u7f51\u5361\u3001\u6444\u50cf\u5934\u548c\u5e76\u53e3\u7b49\u90fd\u662f\u4e00\u4e2a\u6587\u4ef6\u3002\u800c\u4e00\u822c\u8fd9\u79cd\u6587\u4ef6\u90fd\u662f\u5728\/dev\u76ee\u5f55\u4e0b\u8fb9\uff0c\u4f60\u4eec\u53ef\u4ee5\u5207\u6362\u5230\u8be5\u76ee\u5f55\u4e0b\u77a7\u77a7\u5177\u4f53\u7684\u5185\u5bb9\u3002<\/p>\n <\/p>\n \u56fe5\u8bbe\u5907\u76ee\u5f55<\/p>\n \u5176\u4e2d\u56fe\u662f\/dev\u76ee\u5f55\u7684\u4e00\u4e2a\u5c40\u90e8\u622a\u56fe\u3002\u5728\u8be5\u76ee\u5f55\u4e0b\u8fb9\u6700\u5e38\u89c1\u7684\u53ef\u80fd\u5c31\u662f\/dev\/sda\u8fd9\u4e9b\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u8868\u793a\u4e00\u4e2aSCSIc\u76d8\u3002<\/p>\n \u5904\u7406\u5b9e\u4f53\u8bbe\u5907\u5916\uff0c\u5728\u8be5\u76ee\u5f55\u4e0b\u8fb9\u8fd8\u6709\u597d\u591a\u4f2a\u8bbe\u5907\u3002\u4f8b\u5982\/dev\/random\u8868\u793a\u4e00\u4e2a\u5f62\u6210\u968f\u673a\u6570\u7684\u8bbe\u5907\uff0c\/dev\/loop0\u5219\u662f\u4e00\u4e2a\u5c06\u672c\u5730\u6587\u4ef6\u6620\u5c04\u4e3ac\u76d8\u7684\u865a\u62df\u8bbe\u5907\u3002\u8fd9\u79cd\u4f2a\u8bbe\u5907\u6709\u7684\u65f6\u4faf\u7279\u522b\u7528\u4e8e\uff0c\u6211\u4eec\u5e38\u5e38\u4f7f\u7528\u8fd9\u79cd\u8bbe\u5907\u505a\u4e00\u4e9b\u6d4b\u8bd5\u3002<\/p>\n <\/p>\n \u56fe6GUI\u76ee\u5f55<\/p>\n \/etc\u2013\u914d\u7f6e\u6587\u4ef6<\/p>\n \u64cd\u4f5c\u7cfb\u7edf\u548c\u5e94\u7528\u7a0b\u5e8f\u7684\u914d\u7f6e\u6587\u4ef6\u4e00\u822c\u90fd\u7edf\u4e00\u50a8\u5b58\u5728\u4e00\u4e2a\u76ee\u5f55\u4e0b\u8fb9\uff0c\u8fd9\u4e2a\u76ee\u5f55\u5c31\u662f\/etc\u3002\u597d\u591a\u914d\u7f6e\u6587\u4ef6\u90fd\u5df2\u6587\u672c\u6587\u4ef6\u7684\u65b9\u5f0f\u50a8\u5b58\u5728\u8fd9\u513f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6587\u672c\u7f16\u8f91\u5668\u66f4\u6539\u914d\u7f6e\u9879\u3002\u4f8b\u5982\u7f51\u8def\u7684IP\u5730\u5740\u3001Nginx\u7684\u914d\u7f6e\u548c\u7cfb\u7edf\u65e5\u5fd7\u7684\u914d\u7f6e\u7b49\u7b49\u90fd\u53ef\u4ee5\u5728\u8fd9\u513f\u627e\u5230\u3002<\/p>\n \/home\u2013\u4e3b\u76ee\u5f55<\/p>\n \u8fd9\u4e2a\u76ee\u5f55\u79f0\u4e3a\u4e3b\u76ee\u5f55\u3002\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u8fb9\u4e00\u822c\u6bcf\u4f4d\u7528\u6237\u90fd\u6709\u4e00\u4e2a\u81ea\u5df1\u7684\u76ee\u5f55\uff0c\u8be5\u76ee\u5f55\u5c31\u5728\/home\u4e0b\u8fb9\u3002\u8bf8\u5982\u672c\u4f8b\u4e2d\u6709\u4e00\u4e2a\u540d\u4e3azhangsn\u7684\u7528\u6237\uff0c\u8be5\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u5728\/home\u4e0b\u5982\u56fe7\u6240\u793a\u3002<\/p>\n \u7528\u6237\u7684\u4e3b\u76ee\u5f55\u4e0b\u8fb9\u5305\u542b\u8fd9\u6570\u636e\u6587\u4ef6\u548c\u7528\u6237\u76f8\u5173\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u4e00\u822c\u4e00\u4e2a\u7528\u6237\u53ea\u80fd\u66f4\u6539\u5176\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\uff0c\u53ea\u6709\u83b7\u5f97\u6388\u6743\u7684\u60c5\u51b5\u4e0b\u624d\u4f1a\u8bbf\u95ee\u5176\u5b83\u6587\u4ef6\u3002<\/p>\n <\/p>\n \u56fe7zhangsn\u7684\u4e3b\u76ee\u5f55<\/p>\n \/lib\u2013\u57fa\u7840\u5171\u4eab\u5e93<\/p>\n \u5728\/lib\u76ee\u5f55\u4e2d\u50a8\u5b58\u7684\u662f\/bin\u548c\/sbin\u4e2d\u4e8c\u8865\u7801\u6587\u4ef6\uff08\u5e94\u7528\u7a0b\u5e8f\uff09\u987b\u8981\u7684\u5e93\u6587\u4ef6\u3002\u5728\/usr\/bin\u4e0b\u7684\u5e94\u7528\u7a0b\u5e8f\u4f9d\u8d56\u7684\u5e93\u4e00\u822c\u5728\/usr\/lib\u76ee\u5f55\u4e0b\u8fb9\u3002<\/p>\n \/lost+found\u2013\u53ef\u6062\u590d\u7684\u6587\u4ef6<\/p>\n \u6bcf\u4e00\u4e2a\u6587\u4ef6\u7cfb\u7edf\u90fd\u6709\u4e00\u4e2alost+found\u76ee\u5f55\u3002\u5047\u5982\u6587\u4ef6\u7cfb\u7edf\u5d29\u6e83\uff0c\u5728\u7cfb\u7edf\u4e0a\u6b21\u542f\u52a8\u7684\u65f6\u4faf\u4f1a\u8fdb\u884c\u6570\u636e\u68c0\u6d4b\u3002\u5728\u68c0\u6d4b\u7684\u8fc7\u7a0b\u4e2d\u82e5\u679c\u53d1\u89c9\u6709\u6570\u636e\u51b2\u7a81\u7684\u6587\u4ef6\u624d\u4f1a\u5c06\u5176\u5012\u5165\u8be5\u76ee\u5f55\u4e2d\u3002\u8fd9\u6837\uff0c\u4f60\u5c31\u53ef\u4ee5\u8bd5\u7740\u81ea\u52a8\u6062\u590d\u8be5\u6587\u4ef6\u3002<\/p>\n \/media\u2013RemovableMedia<\/p>\n \u5728\u76ee\u5f55\/media\u4e0b\u8fb9\u5305\u542b\u7684\u5b50\u76ee\u5f55\u662f\u4e00\u4e9b\u53ef\u62d4\u63d2\u8bbe\u5907\u7684\u6302\u8f7d\u70b9\u3002\u5f53\u4e00\u4e9b\u53ef\u62d4\u63d2\u8bbe\u5907\u63d2\u5165\u7b14\u8bb0\u672c\u65f6\uff0c\u5728\u8be5\u76ee\u5f55\u4e0b\u4f1a\u624b\u52a8\u521b\u5efa\u5b50\u76ee\u5f55\uff0c\u5e76\u8fdb\u884c\u6302\u8f7d\u3002<\/p>\n \/mnt\u2013\u4e34\u65f6\u6302\u8f7d\u70b9\u76ee\u5f55<\/p>\n \u8be5\u76ee\u5f55\u4e00\u822c\u662f\u7a7a\u7684\u3002\u4e3b\u8981\u7528\u4e8e\u4e34\u65f6\u6302\u8f7d\u4e00\u4e9b\u5916\u90e8\u6587\u4ef6\u7cfb\u7edf\u3002\u4f8b\u5982\u6709\u591a\u4e2a\u6570\u636ec\u76d8\u7684\u60c5\u51b5\u4e0b\uff0c\u4f1a\u5c06\u4f4e\u683c\u7684c\u76d8\u6302\u8f7d\u5230\u8be5\u76ee\u5f55\u4e0b\u8fb9\u3002mnt\u5b57\u7b26\u662fmount\u7684\u7b80\u5199\uff0c\u4e5f\u5c31\u662f\u6302\u8f7d\u7684\u610f\u601d\u3002<\/p>\n \/opt\u2013\u81ea\u9009\u8f6f\u4ef6\u5305\uff08OptionalPackages\uff09<\/p>\n \u81ea\u884c\u5b89\u88c5\u7684\u7279\u522b\u89c4\u8f6f\u4ef6\u4e00\u822c\u4f1a\u5b89\u88c5\u5728\u8be5\u76ee\u5f55\u3002<\/p>\n <\/p>\n \/proc\u2013Kernel&ProcessFiles<\/p>\n \u8be5\u76ee\u5f55\u4e5f\u662f\u4e00\u4e2a\u865a\u62df\u76ee\u5f55linux\u547d\u4ee4tar\uff0c\u4e5f\u5c31\u662f\u5e76\u4e0d\u662f\u50a8\u5b58\u6587\u4ef6\u6570\u636e\u7684\u76ee\u5f55\u3002\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u50a8\u5b58\u7684\u6587\u4ef6\u4e00\u822c\u662f\u62ff\u6765\u83b7\u53d6\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u5185\u90e8\u4fe1\u606f\u6216\u5219\u8fdb\u7a0b\u5185\u90e8\u4fe1\u606f\u7684\u3002<\/p>\n \u56fe8proc\u76ee\u5f55<\/p>\n \u4f8b\u5982\u6bcf\u4f4d\u8fdb\u7a0b\u5728\u8be5\u76ee\u5f55\u4e0b\u90fd\u6709\u4e00\u4e2a\u5b50\u76ee\u5f55\uff0c\u800c\u5b57\u6bcd\u7684\u540d\u5b50\u5c31\u662f\u8fdb\u7a0bID\u3002\u901a\u8fc7cat\u547d\u4ee4\u5bf9\u8be5\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u8fdb\u884c\u8bfb\u53d6\uff0c\u53ef\u4ee5\u83b7\u53d6\u8fdb\u7a0b\u7684\u8be6\u5c3d\u4fe1\u606f\u3002\u8bf8\u5982\u6211\u4eec\u6b65\u5165\u76ee\u5f55\/proc\/258\u4e0b\u8fb9\uff0c\u8fd9\u4e2a\u662f\u8fdb\u7a0bID\u4e3a258\u7684\u8fdb\u7a0b\u7684\u4fe1\u606f\uff0c\u901a\u8fc7ls\u547d\u4ee4\u53ef\u4ee5\u770b\u89c1\u5982\u4e0b\u5185\u5bb9\u3002<\/p>\n <\/p>\n \u56fe8\u8fdb\u7a0b\u8be6\u5c3d\u4fe1\u606f<\/p>\n \/root\u2013root\u4e3b\u76ee\u5f55<\/p>\n \u76ee\u5f55\/root\u662froot\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u3002root\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u5e76\u4e0d\u662f\u5728\/home\u4e0b\u8fb9\uff0c\u800c\u662f\u5728\u6839\u76ee\u5f55\u4e0b\u8fb9\u3002\u8fd9\u4e00\u70b9\u987b\u8981\u6ce8\u610f\u3002<\/p>\n \/run\u2013\u5e94\u7528\u7a0b\u5e8f\u72b6\u6001\u6587\u4ef6<\/p>\n \u8fd9\u4e2a\u76ee\u5f55\u662f\u6bd4\u8f83\u65b0\u7684\u76ee\u5f55\uff0c\u7528\u4e8e\u5e94\u7528\u7a0b\u5e8f\u50a8\u5b58\u5e38\u5e38\u53d8\u5316\u7684\u6587\u4ef6\uff0c\u4f8b\u5982\u6587\u4ef6\u9501\u3001\u8fdb\u7a0bID\u6216\u5219\u5957\u63a5\u5b57\u7b49\u7b49\u3002<\/p>\n \/sbin\u2013\u7cfb\u7edf\u7ba1\u7406\u4e8c\u8865\u7801\u6587\u4ef6<\/p>\n <\/p>\n \u8be5\u76ee\u5f55\u4e0e\/bin\u76ee\u5f55\u7c7b\u4f3c\uff0c\u7528\u4e8e\u50a8\u5b58\u4e8c\u8865\u7801\u6587\u4ef6\u3002\u4e0e\/bin\u76ee\u5f55\u4e0d\u540c\u7684\u5730\u65b9\u662f\u8fd9\u4e2a\u76ee\u5f55\u50a8\u5b58\u7684\u662f\u7528\u4e8e\u7cfb\u7edf\u7ba1\u7406\u7684\u4e8c\u8865\u7801\u6587\u4ef6\uff0c\u4f8b\u5982c\u76d8\u4f4e\u683c\uff08mkfs\uff09\u3001\u78c1\u76d8\u5206\u533a\uff08fdisk\uff09\u548c\u7f51\u8def\u914d\u7f6e\uff08ifconfig\uff09\u7b49\u547d\u4ee4\u3002<\/p>\n <\/p>\n \u56fe9\u7cfb\u7edf\u547d\u4ee4<\/p>\n \/selinux\u2013SELinux\u865a\u62df\u6587\u4ef6\u7cfb\u7edf<\/p>\n \u5047\u5982\u4f60\u7684Linux\u53d1\u884c\u7248\u4f7f\u7528SELinux\u4f5c\u4e3a\u5b89\u5168\u7ba1\u7406\uff0c\u8fd9\u4e48\u8be5\u76ee\u5f55\u5305\u542b\u7740SELinux\u4f7f\u7528\u7684\u76f8\u5173\u6587\u4ef6\u3002<\/p>\n \/srv\u2013\u670d\u52a1\u6570\u636e<\/p>\n \u8be5\u76ee\u5f55\u50a8\u5b58\u5177\u4f53\u670d\u52a1\u63d0\u4f9b\u7684\u6570\u636e\u3002\u4e00\u822c\u8be5\u76ee\u5f55\u662f\u7a7a\u7684\u3002\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u7684\u6570\u636e\u4e00\u822c\u662f\u63d0\u4f9b\u7ed9\u5916\u90e8\u7684\uff0c\u4f8b\u5982Web\u7f51\u7ad9\u50a8\u5b58\u7684\u7528\u6237\u4fe1\u606f\u3002\u8fd9\u513f\u987b\u8981\u6ce8\u610f\u4e0e\/var\u548c\/tmp\u7684\u533a\u522b\uff0c\u540e\u8005\u662f\u63d0\u4f9b\u7ed9\u5916\u90e8\u7528\u6237\u7684\uff0c\u800c\u4e8c\u8005\u5219\u662f\u5e94\u7528\u81ea\u5df1\u4f7f\u7528\u7684\uff0c\u4f46\u662f\/tmp\u4e2d\u7684\u6570\u636e\u91cd\u542f\u540e\u4f1a\u9057\u5931\u3002<\/p>\n \/tmp\u2013\u4e34\u65f6\u6587\u4ef6<\/p>\n \u5e94\u7528\u7a0b\u5e8f\u5f62\u6210\u7684\u4e34\u65f6\u6570\u636e\u4e00\u822c\u50a8\u5b58\u5728\u8be5\u76ee\u5f55\u4e2d\u3002\u8be5\u76ee\u5f55\u6709\u4e00\u4e2a\u7279\u5f81\uff0c\u5c31\u662f\u7cfb\u7edf\u91cd\u542f\u540e\u76ee\u5f55\u4e2d\u7684\u6570\u636e\u5c06\u88ab\u6e05\u9664\u3002<\/p>\n \/usr\u2013UserBinaries&Read-OnlyData<\/p>\n \u4e0e\u7cfb\u7edf\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u6587\u4ef6\u4e0d\u540c\uff0c\u5728\/usr\u76ee\u5f55\u4e0b\u50a8\u5b58\u7684\u662f\u7528\u6237\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u6587\u4ef6\u3002\u4f8b\u5982\/bin\u4e0b\u8fb9\u50a8\u5b58\u7684\u7cfb\u7edf\u4e8c\u8865\u7801\u6587\u4ef6\uff0c\u800c\/usr\/bin\u4e0b\u8fb9\u5219\u662f\u7528\u6237\u4f7f\u7528\u7684\u4e8c\u8865\u7801\u6587\u4ef6\u3002\/lib\u4e0b\u8fb9\u50a8\u5b58\u7684\u7cfb\u7edf\u5e93\u6587\u4ef6\uff0c\u800c\/usr\/lib\u4e0b\u8fb9\u50a8\u5b58\u7684\u662f\u7528\u4e8e\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528\u7684\u5e93\u6587\u4ef6\u3002<\/p>\n \/var\u2013\u53d8\u91cf\u6570\u636e\u6587\u4ef6<\/p>\n \/var\u76ee\u5f55\u662f\/usr\u76ee\u5f55\u5bf9\u5e94\u7684\u53ef\u5199\u76ee\u5f55\uff0c\u5728\/usr\u76ee\u5f55\u4e2d\u7684\u5185\u5bb9\u53ea\u8bfb\u7684\uff0c\u800c\/var\u5219\u662f\u53ef\u5199\u7684\u3002\u65e5\u5fd7\u6587\u4ef6\u548c\u6b63\u5e38\u64cd\u4f5c\u4e2d\u7684\u4e00\u4e9b\u5199\u5165\u64cd\u4f5c\u4e00\u822c\u4f1a\u5199\u5165\/var\u76ee\u5f55\u3002\u8bf8\u5982\uff0c\u65e5\u5fd7\u6587\u4ef6\u4e00\u822c\u50a8\u5b58\u5728\/var\/log\u4e2d\u3002<\/p>\n \u597d\u4e86\uff0c\u5173\u4e8eLinux\u76ee\u5f55\u7684\u5185\u5bb9\u5c31\u4ecb\u7ecd\u5230\u8fd9\u513f\uff0c\u76f8\u4fe1\u901a\u8fc7\u672c\u6b21\u4ecb\u7ecd\uff0c\u4f60\u4eec\u5bf9Linux\u7684\u76ee\u5f55\u548c\u6587\u4ef6\u4f1a\u6709\u6108\u53d1\u6df1\u523b\u548c\u7ec6\u81f4\u7684\u4e86\u89e3\u3002\u5728\u4e4b\u540e\u7684\u5de5\u4f5c\u4e2d\u4e5f\u80fd\u6108\u53d1\u5408\u7406\u7684\u4f7f\u7528\u8fd9\u79cd\u76ee\u5f55\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5982\u679c\u4f60\u4f7f\u7528\u7684\u684c\u9762\u7248\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u53ef\u4ee5\u901a\u8fc7GUI\u770b\u5230\u8be5\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u3002\u5728\u76ee\u5f55\/boot\u4e0b\u9762\u5305\u542b\u7684\u6587\u4ef6\u662f\u7528\u4e8e\u542f\u52a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u6587\u4ef6\u3002\u64cd\u4f5c\u7cfb\u7edf\u548c\u5e94\u7528\u7a0b\u5e8f\u7684\u914d\u7f6e\u6587\u4ef6\u901a\u5e38\u90fd\u7edf\u4e00\u5b58\u50a8\u5728\u4e00\u4e2a\u76ee\u5f55\u4e0b\u9762\uff0c\u8fd9\u4e2a\u76ee\u5f55\u5c31\u662f\/etc\u3002\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u9762\u901a\u5e38\u6bcf\u4e2a\u7528\u6237\u90fd\u6709\u4e00\u4e2a\u81ea\u5df1\u7684\u76ee\u5f55\uff0c\u8be5\u76ee\u5f55\u5c31\u5728\/home\u4e0b\u9762\u3002<\/p>\n","protected":false},"author":1,"featured_media":293822,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[3779,3777,3031,2528,3778],"class_list":["post-293821","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-GUI","tag-lwjxt-2","tag-yycx","tag-gml-2","tag-zmb"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293821","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=293821"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293821\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/293822"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=293821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=293821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=293821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}