{"id":2761,"date":"2017-10-02T09:09:52","date_gmt":"2017-10-02T01:09:52","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=2761"},"modified":"2017-10-02T09:09:52","modified_gmt":"2017-10-02T01:09:52","slug":"centos%e5%a6%82%e4%bd%95%e5%8d%87%e7%ba%a7%e5%88%b0%e6%9c%80%e6%96%b0%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/fuwuqi\/centos%e5%a6%82%e4%bd%95%e5%8d%87%e7%ba%a7%e5%88%b0%e6%9c%80%e6%96%b0%e7%89%88%e6%9c%ac\/","title":{"rendered":"centos\u5982\u4f55\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c"},"content":{"rendered":"<p>\u6700\u8fd1centos\u53d1\u5e03\u4e86\u6700\u8fd1\u7248\u672c7.3\u3002centos 7.0\uff0c7.1\uff0c7.2\u652f\u6301\u5347\u7ea7\u52307.3\u6700\u65b0\u7248\u672c\u3002<br \/>\n\u672c\u6587\u5c06\u6559\u4f60\u5982\u4f55\u5347\u7ea7centos\u5230\u6700\u65b0\u7248\u672c\u3002<br \/>\ncentos\u4e2d\u201cupdate\u201d\u547d\u4ee4\u53ef\u4ee5\u4e00\u6b21\u6027\u66f4\u65b0\u6240\u6709\u8f6f\u4ef6\u5230\u6700\u65b0\u7248\u672c\u3002<br \/>\n\u6ce8\u610f\uff1a\u4e0d\u63a8\u8350\u4f7f\u7528update\u7684y\u9009\u9879\uff0c-y\u9009\u9879\u4f1a\u8ba9\u4f60\u5728\u5b89\u88c5\u6bcf\u9879\u66f4\u65b0\u524d\u90fd\u8fdb\u884c\u786e\u8ba4\uff08\u8bd1\u8005\u6ce8\uff1a\u8fd9\u6837\u4f1a\u975e\u5e38\u8d39\u65f6\u95f4\uff0c\u66f4\u65b0\u8fdb\u5ea6\u5fd9\uff09\uff1b<br \/>\n\u5bf9\u4e8ecentos 5.X\u548c6.X\u7684\u7cfb\u7edf\u6211\u4eec\u5728\u66f4\u65b0\u540e\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u5e94\u7528\u7a0b\u5e8f\u6062\u590d\u6570\u636e\uff0c\u5e86\u5e78\u7684\u662fcentos7\u4e0d\u9700\u8981\u8fd9\u4e48\u9ebb\u70e6\uff0c\u53ef\u4ee5\u76f4\u63a5\u5347\u7ea7\u3002\u4e3a\u4e86\u5b89\u5168\u8d77\u89c1\uff0c\u5982\u679c\u4f60\u6709\u91cd\u8981\u6570\u636e\u7684\u8bdd\u8fd8\u662f\u5efa\u8bae\u5347\u7ea7\u7cfb\u7edf\u524d\u505a\u597d\u5907\u4efd\u3002<br \/>\n\u4ee5\u4e0b\u662fcentos 7.X\u5347\u7ea7\u7684\u6b65\u9aa4<br \/>\n<strong>\u4e00\u3001\u68c0\u67e5\u7cfb\u7edf\u7248\u672c<\/strong><br \/>\n$ cat \/etc\/redhat-release<br \/>\nCentOS Linux release 7.1.1503 (Core)<br \/>\n<strong>\u4e8c\u3001\u5907\u4efd\u91cd\u8981\u6570\u636e<\/strong>\uff08\u4f8b\u5982\/etc, \/var,\/opt\uff09\u3002\u5982\u679ccentos\u662f\u5b89\u88c5\u5728\u865a\u62df\u673a\u4e0a\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528\u5feb\u7167\u8fdb\u884c\u5907\u4efd\u3002\u50cfVMware\u865a\u62df\u673a\u53ef\u4ee5\u5feb\u7167\u5907\u4efd\uff0c\u5f53\u7136\u66f4\u5962\u4f88\u4e00\u70b9\u662f\u5907\u4efd\u6574\u4e2a\u865a\u62df\u673a\u3002\u4e5f\u53ef\u4ee5\u9488\u5bf9\u91cd\u8981\u7a0b\u5e8f\u6570\u636e\u8fdb\u884c\u5907\u4efd\uff0c\u4f8b\u5982MySQL, Appache, Nginx, DNS\u7b49\u7b49\u3002<\/p>\n<p><strong>\u4e09\u3001\u8fd0\u884cyum\u547d\u4ee4\u5347\u7ea7<\/strong><br \/>\n$ sudo yum clean all<br \/>\n$ sudo yum update<br \/>\n<strong>\u56db\u3001\u91cd\u542f\u7cfb\u7edf<\/strong><br \/>\n$ sudo reboot<br \/>\n<strong>\u4e94\u3001\u67e5\u770b\u73b0\u5728\u7cfb\u7edf\u7248\u672c<\/strong><br \/>\n$ cat \/etc\/redhat-release<br \/>\nCentOS Linux release 7.3.1611 (Core)<br \/>\n\u5e0c\u671b\u672c\u6587\u80fd\u591f\u534f\u52a9\u4f60\u987a\u5229\u5347\u7ea7centos 7\u5230\u6700\u65b0\u7248\u672c\u3002<br \/>\n\u6ce8\u610f\uff1a\u5728\u5347\u7ea7\u524d\u8bb0\u5f97\u68c0\u67e5\u7cfb\u7edf\u6b63\u5e38\u8fd0\u884c\uff0c\u4ee5\u53ca\u7cfb\u7edf\u670d\u52a1services\u5df2\u7ecf\u5b89\u88c5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1centos\u53d1\u5e03\u4e86\u6700\u8fd1\u7248\u672c7.3\u3002centos 7.0\uff0c7.1\uff0c7.2\u652f\u6301\u5347\u7ea7\u52307.3\u6700\u65b0\u7248\u672c\u3002 \u672c\u6587\u5c06\u6559 &#8230; <a title=\"centos\u5982\u4f55\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/fuwuqi\/centos%e5%a6%82%e4%bd%95%e5%8d%87%e7%ba%a7%e5%88%b0%e6%9c%80%e6%96%b0%e7%89%88%e6%9c%ac\/\" aria-label=\"\u9605\u8bfb centos\u5982\u4f55\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49,9],"tags":[],"class_list":["post-2761","post","type-post","status-publish","format-standard","hentry","category-linux","category-fuwuqi"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=2761"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2761\/revisions"}],"predecessor-version":[{"id":2762,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2761\/revisions\/2762"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=2761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=2761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=2761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}