{"id":69463,"date":"2024-07-03T22:26:42","date_gmt":"2024-07-03T14:26:42","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=69463"},"modified":"2024-07-03T22:26:42","modified_gmt":"2024-07-03T14:26:42","slug":"rhce-1","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/rhce-1.html","title":{"rendered":"\u5982\u4f55\u8bbe\u7f6e\u548c\u6d4b\u8bd5\u9759\u6001\u7f51\u7edc\u8def\u7531\uff1f"},"content":{"rendered":"

RHCE\uff08Red Hat Certified Engineer\uff0c\u7ea2\u5e3d\u8ba4\u8bc1\u5de5\u7a0b\u5e08\uff09\u662f\u7ea2\u5e3d\u516c\u53f8\u7684\u4e00\u4e2a\u8ba4\u8bc1\uff0c\u7ea2\u5e3d\u5411\u4f01\u4e1a\u793e\u533a\u8d21\u732e\u5f00\u6e90\u64cd\u4f5c\u7cfb\u7edf\u548c\u8f6f\u4ef6\uff0c\u540c\u65f6\u5b83\u8fd8\u7ed9\u516c\u53f8\u63d0\u4f9b\u8bad\u7ec3\u3001\u652f\u6301\u548c\u54a8\u8be2\u670d\u52a1\u3002<\/p>\n

\"RHCE<\/p>\n

\u5728 RHCE \u7684\u7b2c\u4e00\u548c\u7b2c\u4e8c\u90e8\u5206\uff0c\u6211\u4eec\u4f1a\u4ecb\u7ecd\u4e00\u4e9b\u57fa\u672c\u7684\u4f46\u5178\u578b\u7684\u60c5\u5f62\uff0c\u4e5f\u5c31\u662f\u9759\u6001\u8def\u7531\u539f\u7406\u3001\u5305\u8fc7\u6ee4\u548c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u3002<\/p>\n

\"RHCE<\/p>\n

\u8bf7\u6ce8\u610f\u6211\u4eec\u4e0d\u4f1a\u4f5c\u6df1\u5165\u7684\u4ecb\u7ecd\uff0c\u4f46\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u7ec4\u7ec7\u5185\u5bb9\u80fd\u5e2e\u52a9\u4f60\u5f00\u59cb\u7b2c\u4e00\u6b65\u5e76\u7ee7\u7eed\u540e\u9762\u7684\u5185\u5bb9\u3002<\/p>\n

\u7ea2\u5e3d\u4f01\u4e1a\u7248 Linux 7 \u4e2d\u7684\u9759\u6001\u8def\u7531<\/strong><\/span><\/div>\n

\u6211\u4eec\u5728\u8be5\u7bc7\u6307\u5357\u4e2d\u4f1a\u8003\u8651\u4ee5\u4e0b\u573a\u666f\u3002\u6211\u4eec\u6709\u4e00\u53f0 RHEL 7\uff0c\u8fde\u63a5\u5230 1\u53f7\u8def\u7531\u5668 [192.168.0.1] \u4ee5\u8bbf\u95ee\u56e0\u7279\u7f51\u4ee5\u53ca 192.168.0.0\/24 \u4e2d\u7684\u5176\u5b83\u673a\u5668\u3002<\/p>\n

\u7b2c\u4e8c\u4e2a\u8def\u7531\u5668\uff082\u53f7\u8def\u7531\u5668\uff09\u6709\u4e24\u4e2a\u7f51\u5361\uff1aenp0s3 \u540c\u6837\u8fde\u63a5\u5230\u8def\u7531\u56681\u53f7\u4ee5\u8bbf\u95ee\u4e92\u8054\u7f51\uff0c\u53ca\u4e0e RHEL 7 \u548c\u540c\u4e00\u7f51\u7edc\u4e2d\u7684\u5176\u5b83\u673a\u5668\u901a\u8baf\uff0c\u53e6\u5916\u4e00\u4e2a\u7f51\u5361\uff08enp0s8\uff09\u7528\u4e8e\u6388\u6743\u8bbf\u95ee\u5185\u90e8\u670d\u52a1\u6240\u5728\u7684 10.0.0.0\/24 \u7f51\u7edc\uff0c\u4f8b\u5982 web \u6216\u6570\u636e\u5e93\u670d\u52a1\u5668\u3002<\/p>\n

\u8be5\u573a\u666f\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u793a\u610f\u56fe\u8868\u793a\uff1a<\/p>\n

\"RHCE<\/p>\n

\u9759\u6001\u8def\u7531\u7f51\u7edc\u793a\u610f\u56fe<\/em><\/p>\n

\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u6211\u4eec\u4f1a\u96c6\u4e2d\u4ecb\u7ecd\u5728 RHEL 7 \u4e2d\u8bbe\u7f6e\u8def\u7531\u8868\uff0c\u786e\u4fdd\u5b83\u80fd\u901a\u8fc71\u53f7\u8def\u7531\u5668\u8bbf\u95ee\u56e0\u7279\u7f51\u4ee5\u53ca\u901a\u8fc72\u53f7\u8def\u7531\u5668\u8bbf\u95ee\u5185\u90e8\u7f51\u7edc\u3002<\/p>\n

\u5728 RHEL 7 \u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u7528ip \u547d\u4ee4\u914d\u7f6e\u548c\u663e\u793a\u8bbe\u5907\u548c\u8def\u7531\u3002\u8fd9\u4e9b\u66f4\u6539\u80fd\u5728\u8fd0\u884c\u7684\u7cfb\u7edf\u4e2d\u53ca\u65f6\u751f\u6548\uff0c\u4f46\u7531\u4e8e\u91cd\u542f\u540e\u4e0d\u4f1a\u4fdd\u5b58\uff0c\u6211\u4eec\u4f1a\u4f7f\u7528\/etc\/sysconfig\/network-scripts\u76ee\u5f55\u4e0b\u7684ifcfg-enp0sX\u548croute-enp0sX\u6587\u4ef6\u6c38\u4e45\u4fdd\u5b58\u6211\u4eec\u7684\u914d\u7f6e\u3002<\/p>\n

\u9996\u5148\uff0c\u8ba9\u6211\u4eec\u6253\u5370\u51fa\u5f53\u524d\u7684\u8def\u7531\u8868\uff1a<\/p>\n

# ip route show\r\n<\/pre>\n

\"RHCE<\/p>\n

\u68c0\u67e5\u5f53\u524d\u8def\u7531\u8868<\/em><\/p>\n

\u4ece\u4e0a\u9762\u7684\u8f93\u51fa\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5f97\u51fa\u4ee5\u4e0b\u7ed3\u8bba\uff1a<\/p>\n