{"id":5165,"date":"2014-07-14T00:15:00","date_gmt":"2014-07-13T15:15:00","guid":{"rendered":"https:\/\/mimumimu.net\/blog\/?p=5165"},"modified":"2014-07-14T01:56:15","modified_gmt":"2014-07-13T16:56:15","slug":"centos-%e3%82%92-6-%e3%81%8b%e3%82%89-7-%e3%81%ab%e3%82%a2%e3%83%83%e3%83%97%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%89%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/mimumimu.net\/blog\/2014\/07\/14\/centos-%e3%82%92-6-%e3%81%8b%e3%82%89-7-%e3%81%ab%e3%82%a2%e3%83%83%e3%83%97%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%89%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82\/","title":{"rendered":"CentOS \u3092 6 \u304b\u3089 7 \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u307f\u305f\u3002"},"content":{"rendered":"<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002    <br \/>\u5148\u65e5\u307e\u3067\u67d0\u5b66\u4f1a\u306b\u51fa\u5e2d\u3057\u3066\u3044\u305f\u95a2\u4fc2\u3067\u9045\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u5b66\u4f1a\u306b\u5411\u304b\u3046\u671d\u306b Twitter \u3092\u773a\u3081\u3066\u3044\u305f\u3089 CentOS 7 \u304c\u51fa\u305f\uff01 \u3068\u3044\u3046\u30c4\u30a4\u30fc\u30c8\u304c\u6d41\u308c\u3066\u3044\u307e\u3057\u3066<\/p>\n<p>\u30fb\u30fb\u307e\u3058\u3059\u304b\uff01 \u3082\u3046 CentOS 7 \u51fa\u305f\u3093\u304b\uff01 \u3067\u3082\u6642\u9593\u304c\u7121\u3044\u30fb\u30fb\uff01    <br \/>\u3068\u601d\u3044\u306a\u304c\u3089\u3001\u5b66\u4f1a\u306b\u884c\u3063\u3066\u3001\u5e30\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u65e5\u306f\u666e\u6bb5\u306e\u884c\u3044\u304c\u6700\u9ad8\u306b\u60aa\u304b\u3063\u305f\u70ba\u304b\u3001    <br \/>\u982d\u75db\u306a\u308a\u8179\u75db\u306a\u308a\u3001\u3068\u308a\u3042\u3048\u305a\u82e5\u8005\u304c\u639b\u304b\u308b\u300c\u75db\u300d\u306e\u3042\u308b\u7a0b\u5ea6\u306e\u75c7\u72b6\u304c\u51fa\u3066     <br \/>\u65e5\u4e2d\u306f\u30c0\u30a6\u30f3\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u65e5\u4e2d\u306f\u5e03\u56e3\u3068\u30c8\u30a4\u30ec\u306e\u5f80\u5fa9\u3092\u4f55\u5ea6\u3084\u3063\u3066\u3001\u6bb5\u3005\u3068\u843d\u3061\u7740\u3044\u3066\u304d\u305f\u306e\u3067\u3084\u308d\u3046\u304b\u3001\u3068\u3002<\/p>\n<p>\u30fb\u30fb\u30fb\u305d\u3093\u306a\u308f\u3051\u3067\u4eca\u306b\u81f3\u308b\u8a33\u3067\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u9591\u8a71\u4f11\u984c<\/p>\n<p>&#160;<\/p>\n<p>\u305d\u308c\u3067\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3002<\/p>\n<p>\u826f\u304f\u7e8f\u307e\u3063\u3066\u3044\u308b\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u57fa\u672c\u7684\u306b\u306f\u3053\u3061\u3089\u306b\u5f93\u3046\u611f\u3058\u3067\u3002    <br \/><a title=\"http:\/\/abi.io\/blogs\/in-place-upgrade-centos-6-5-to-7-0-using-preupg.html\" href=\"http:\/\/abi.io\/blogs\/in-place-upgrade-centos-6-5-to-7-0-using-preupg.html\">http:\/\/abi.io\/blogs\/in-place-upgrade-centos-6-5-to-7-0-using-preupg.html<\/a><\/p>\n<p>&#160;<\/p>\n<p>\u305d\u308c\u3068 systemd \u30d9\u30fc\u30b9\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u5909\u308f\u308b\u305f\u3081\u3001    <br \/><u><strong>\u5341\u5206\u306b\u6642\u9593\u3092\u78ba\u4fdd\u3067\u304d\u308b\u72b6\u6cc1\u306b\u306a\u3063\u3066\u304b\u3089\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/strong><\/u>     <\/p>\n<p>&#160;<\/p>\n<h3>1. \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b<\/h3>\n<p>\u74b0\u5883\u304c\u58ca\u308c\u305f\u3068\u304d\u3001\u5bfe\u5fdc\u3059\u308b\u306e\u306f\u3084\u3063\u305f\u4eba\u672c\u4eba\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001    <br \/>\u666e\u901a\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304b\u3089\u4f5c\u696d\u3092\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h3>2. \u73fe\u884c\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u5fc5\u8981\u306a\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u5168\u90e8\u9069\u7528\u3059\u308b<\/h3>\n<div id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:75814774-9742-4536-9d00-3cff8514bb5b\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">\n<pre class=\"brush: bash;\">yum update\nreboot<\/pre>\n<\/div>\n<p>yum \u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u3001\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h3>3. Pre-Upgrade \u7528\u306e\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>Windows \u3067\u3044\u3046\u3068\u300c\u30b7\u30b9\u30c6\u30e0\u66f4\u65b0\u6e96\u5099\u30c4\u30fc\u30eb\u300d\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4e0b\u8a18URL \u306b\u30d5\u30a1\u30a4\u30eb\u304c\u8ee2\u304c\u3063\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n  <br \/>\uff08\u4f9d\u5b58\u3057\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u542b\u3081\u3002\uff09 <\/p>\n<p><a title=\"http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/\" href=\"http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/\">http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/<\/a><\/p>\n<p>&#160;<\/p>\n<div id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:7318d83c-7396-4fab-b449-d22f9fecd018\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">\n<pre class=\"brush: bash;\">yum -y install openscap pcre-devel libxml2-devel libxslt-devel m2crypto python-simplejson mod_wsgi\n\nrpm -ihv http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/preupgrade-assistant-1.0.2-33.el6.x86_64.rpm\nrpm -ihv http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/preupgrade-assistant-contents-0.5.13-1.el6.noarch.rpm\nrpm -ihv http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/preupgrade-assistant-ui-1.0.2-33.el6.x86_64.rpm\nrpm -ihv http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/python-rhsm-1.9.7-1.el6.x86_64.rpm\nrpm -ihv http:\/\/dev.centos.org\/centos\/6\/upg\/x86_64\/Packages\/redhat-upgrade-tool-0.7.22-1.el6.noarch.rpm\n<\/pre>\n<\/div>\n<h3>4. Pre-Upgrade \u7528\u306e\u30c4\u30fc\u30eb\u3092\u5b9f\u884c<\/h3>\n<p>root \u306b\u306a\u3063\u3066\u304b\u3089 preupg \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n  <br \/>\u5b9f\u884c\u76f4\u5f8c\u3001\u82f1\u8a9e\u3067\u300c\u3061\u3083\u3093\u3068\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u3063\u305f\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u308b\u306e\u3067 <\/p>\n<p>\u3068\u3063\u3066\u3044\u308b\u5834\u5408 or \u30b7\u30b9\u30c6\u30e0\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3082\u304c\u3093\u3070\u308c\u308b\u4eba \u306f \u201cy\u201d \u3068\u56de\u7b54\u3057\u3066\u5b9f\u884c\u3055\u305b\u307e\u3059\u3002<\/p>\n<div id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:dbc3cab6-a0de-4d0a-832c-f1b9fc5cc6b4\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">\n<pre class=\"brush: bash;\">#su\nPassword: \n\n#preupg\nPreupg tool doesn't do the actual upgrade.\nPlease ensure you have backed up your system and\/or data in the event of a failed upgrade\n that would require a full re-install of the system from installation media.\nDo you want to continue? y\/n\ny\n....<\/pre>\n<\/div>\n<p>&#160;<\/p>\n<h3>5. \u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/h3>\n<p>redhat-upgrade-tool \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n  <br \/>\u63a5\u7d9a\u5148\u306f IIJ \u306b\u3002<\/p>\n<div id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:b836126b-55e4-4a85-bc95-f24036d1deb3\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">\n<pre class=\"brush: bash;\">redhat-upgrade-tool --network 7.0  --instrepo http:\/\/ftp.iij.ad.jp\/pub\/linux\/centos\/7\/os\/x86_64\/ --force\n<\/pre>\n<\/div>\n<p>&#8211;network : \u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a \uff08\u4eca\u56de\u306e\u5834\u5408\u306f 7.0\uff09<br \/>\n  <br \/>&#8211;instrepo : \u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u7528\u8d77\u52d5\u30a4\u30e1\u30fc\u30b8\u306e\u53d6\u5f97\u5148 ( &#8211;instrepo=REPOID&#160;&#160; get upgrader boot images from REPOID )<\/p>\n<p>&#160;<\/p>\n<p>\u30d8\u30eb\u30d7\u3092\u898b\u3066\u3044\u3066\u3001\u3082\u3057\u304b\u3057\u3066 \u201cenablerepo\u201d \u3068\u304b\u3067\u3082\u5927\u4e08\u592b\u3058\u3083\u30fb\u30fb\u3068\u304b\u601d\u3063\u305f\u306e\u3067\u3059\u304c<\/p>\n<div id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:7b2cdd42-ef64-4e9f-be3d-c74544002cc2\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">\n<pre class=\"brush: bash;\">redhat-upgrade-tool --network 7.0  --enablerepo http:\/\/ftp.iij.ad.jp\/pub\/linux\/centos\/7\/os\/x86_64\/\nUsage: redhat-upgrade-tool &lt;SOURCE&gt; [options]\n\nredhat-upgrade-tool: error: --instrepo is required with --network<\/pre>\n<\/div>\n<p><\/p>\n<p>\u3068\u306e\u3053\u3068\u3067\u3002<\/p>\n<p>\u51e6\u7406\u306f\u7d50\u69cb\u306a\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u306e\u3067\u3001\u30cb\u30b3\u30cb\u30b3\u52d5\u753b\u3067\u597d\u304d\u306a\u52d5\u753b\u3092\u898b\u3066\u304f\u308b\u3068\u304b\u3001<br \/>\n  <br \/>\u30b3\u30fc\u30d2\u30fc\u3092\u714e\u308c\u308b\u3068\u304b\u305d\u3046\u3044\u3046\u3053\u3068\u3092\u3057\u3066\u6687\u3092\u3064\u3076\u3059\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:59f35ec0-b8a9-4cec-9653-f0faf4ddb2b2\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">\n<pre class=\"brush: bash;\">testing upgrade transaction\nrpm transaction 100% [====================================================================]\nrpm install 100% [====================================================================]\nsetting up system for upgrade\nFinished. Reboot to start upgrade.\n<\/pre>\n<\/div>\n<p><\/p>\n<p>\u30fb\u30fb\u3068\u3044\u3046\u3053\u3068\u3067\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h3>6. \u518d\u8d77\u52d5<\/h3>\n<p>\u518d\u8d77\u52d5\u3059\u308b\u3068\u3001\uff15\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5143\u306b<br \/>\n  <br \/>\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u51e6\u7406\u304c\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30fb\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u7528\u30c4\u30fc\u30eb\u304c\u5165\u3063\u305f\u30d6\u30fc\u30c8\u30a4\u30e1\u30fc\u30b8\u3067\u8d77\u52d5\u3057\u3066\u51e6\u7406\u304c\u884c\u308f\u308c\u308b\u305f\u3081\u3001<br \/>\n  <br \/>\u5b8c\u4e86\u3059\u308b\u307e\u3067\u64cd\u4f5c\u306f\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002 <\/p>\n<p><\/p>\n<p>\uff08Windows \u3067\u3044\u3046\u3068\u3053\u308d\u306e Service Pack \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u8d77\u52d5\u76f4\u5f8c\u306b\u3042\u308b\u3088\u3046\u306a\u3001<br \/>\n  <br \/>\u66f4\u65b0\u3057\u3066\u3044\u307e\u3059\u30fb\u30fb 80%.. \u307f\u305f\u3044\u306a\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\uff09<\/p>\n<p>\u3053\u3061\u3089\u3082\u7d50\u69cb\u306a\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u306e\u3067\u3001<br \/>\n  <br \/>\u304a\u8336\u3092\u714e\u308c\u308b\u3068\u304b\u3067\u5f85\u3063\u3066\u3044\u308b\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u307e\u305f\u3001\u521d\u56de\u8d77\u52d5\u306f\u7d50\u69cb\u306a\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<br \/>\n  <br \/>\u305d\u308c\u3082\u7279\u306b\u6587\u5b57\u306e\u8868\u793a\u304c\u51fa\u307e\u305b\u3093\u306e\u3067\u3001\u3044\u308d\u3044\u308d\u3068\u4e0d\u5b89\u306b\u306a\u308a\u307e\u3059\u304c\u9577\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\uff12\u56de\u76ee\u4ee5\u964d\u306f\u65e9\u304f\u8d77\u52d5\u3057\u307e\u3059\u3002\uff08\u305f\u3060\u3057\u3053\u3061\u3089\u3082\u6587\u5b57\u8868\u793a\u7b49\u306f\u306a\u3057\uff09<\/p>\n<p>&#160;<\/p>\n<h3>7. \u3044\u308d\u3044\u308d\u3068\u8a2d\u5b9a<\/h3>\n<p>\u4eca\u307e\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u305f\u30b5\u30fc\u30d3\u30b9\u306e\u3044\u304f\u3064\u304b\u304c\u7acb\u3061\u4e0a\u304c\u3063\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u6c17\u3065\u304f\u304b\u3068\u304a\u3082\u3044\u307e\u3059\u3002<br \/>\n  <br \/>\u3067\u3082\u3063\u3066&#160; ls \/etc\/init.d\/ \u3068\u304b\u3057\u3066\u3082\u3059\u3063\u304b\u3089\u304b\u3093\u3002<\/p>\n<p>\u3067\u3082\u3063\u3066 \/etc\/init.d\/README \u3092\u8aad\u3093\u3067\u307f\u308b\u3068\u3001<br \/>\n  <br \/>\u201dsystemd based \u306e OS \u306b\u306a\u3063\u305f\u304b\u3089\u3001\u6614\u306a\u304c\u3089\u306e init \u30b9\u30af\u30ea\u30d7\u30c8\u306f \u30cd\u30a4\u30c6\u30a3\u30d6\u306a systemd \u30b5\u30fc\u30d3\u30b9\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u3063\u305f\u3088\uff01\u201d <\/p>\n<p>\u3068\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u3082\u3063\u3066\u3001 \u201csystemctl\u201d \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u304f\u308c\u3068\u3082\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u8981\u306f\u3001<br \/>\n  <br \/><strong>\u4eca\u307e\u3067 \u201cservice named start\u201d \u3068\u3084\u3063\u3066\u3044\u305f\u306e\u304c<br \/>\n    <br \/>\u201csystemctl start named\u201d \u3068\u3044\u3046\u611f\u3058\u306b\u306a\u308b<\/strong>\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u3044\u304f\u3064\u304b\u4f7f\u3044\u305d\u3046\u306a\u3082\u306e\u3092\u66f8\u3044\u3066\u304a\u304f\u3068\uff1a<\/p>\n<p>&#160;<\/p>\n<p>service named start (\u30b5\u30fc\u30d3\u30b9\u958b\u59cb)<br \/>\n  <br \/>\u2192 systemctl start named<\/p>\n<p>service named stop (\u30b5\u30fc\u30d3\u30b9\u505c\u6b62)<br \/>\n  <br \/>\u2192 systemctl stop named<\/p>\n<p>service named status (\u30b5\u30fc\u30d3\u30b9\u306e\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b)<br \/>\n  <br \/>\u2192 systemctl status named<\/p>\n<p>chkconfig named on (\u30b5\u30fc\u30d3\u30b9\u3092\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\u3059\u308b)<br \/>\n  <br \/>\u2192 systemctl enable named<\/p>\n<p>chkconfig named off (\u30b5\u30fc\u30d3\u30b9\u3092\u81ea\u52d5\u8d77\u52d5\u304b\u3089\u5916\u3059)<br \/>\n  <br \/>\u2192 systemctl disable named<\/p>\n<p>&#160;<\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3001\u3061\u307e\u3061\u307e\u8a2d\u5b9a\u3057\u3066\u3044\u304f\u3068\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u30fb\u30fb\u307e\u305f\u3001\u3069\u3093\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u3063\u305f\u304b\u5fd8\u308c\u305f\u3088\uff01 \u3068\u3044\u3046\u5834\u5408\u306f\u3001<\/p>\n<p>\/usr\/lib\/systemd\/system\/<\/p>\n<p>\u3042\u305f\u308a\u3092\u898b\u308b\u3068\u3001\u601d\u3044\u51fa\u3059\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u307e\u305f\u3001 net-tools \u306b\u3088\u308b\u5236\u5fa1 (ifconfig etc..) \u306f\u3069\u3046\u3082\u975e\u63a8\u5968\u306b\u306a\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u3001<br \/>\n  <br \/>yum remove net-tools \u3092\u5b9f\u884c\u3057\u3066\u3001 <\/p>\n<p>ip addr \u306b\u3088\u308b\u5236\u5fa1\u306b\u6163\u308c\u3066\u304a\u304f\u306e\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>&#160;<\/p>\n<h3>8.\u898b\u843d\u3068\u3057\u305d\u3046\u306a\u3068\u3053\u308d<\/h3>\n<h4>1. mysql \u306f MariaDB \u306b\u5909\u308f\u308a\u307e\u3057\u305f<\/h4>\n<p>MySQL \u304c\u5165\u3063\u3066\u3044\u305f\u74b0\u5883\u3060\u3068\u3001 systemctl start mysqld \u3092\u3057\u3066\u3082\u7acb\u3061\u4e0a\u304c\u3089\u306a\u3044\u306e\u3067<br \/>\n  <br \/>\u4e0d\u601d\u8b70\u306b\u601d\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u6700\u4e2d\u306b\u6d88\u3055\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001<u><strong>\u30c7\u30fc\u30bf\u306f\u6b8b\u3063\u3066\u3044\u307e\u3059<\/strong><\/u>\u306e\u3067\u3001\u843d\u3061\u7740\u3044\u3066 yum install mysql \u3068\u3057\u3066\u3001 <\/p>\n<p>MariaDB \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002\uff08\u81ea\u52d5\u7684\u306b\u79fb\u884c\u3055\u308c\u307e\u3059\uff09<\/p>\n<p>\u2192 yum install mariadb-server \u3068\u3057\u3066\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff12\uff0exinetd \u304c\u6b62\u307e\u3063\u3066\u307e\u3059\u3002<\/h4>\n<p>xinetd \u306b\u4f9d\u5b58\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u3092\u52d5\u304b\u3057\u3066\u3044\u305f\u5834\u5408\u306f<br \/>\n  <br \/>systemctl enable xinetd \u3068\u3057\u3066\u6709\u52b9\u306b\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff13\uff0edovecot \u3067\u30e1\u30fc\u30eb\u304c\u53d7\u4fe1\u3067\u304d\u306a\u3044<\/h4>\n<p>Initialization failed: namespace configuration error: inbox=yes namespace missing<\/p>\n<p>\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u30ed\u30b0\u306b\u305f\u307e\u3063\u3066\u3044\u3066\u3001\u63a5\u7d9a\u306f\u3067\u304d\u308b\u3051\u308c\u3069\u8aad\u307f\u51fa\u305b\u306a\u3044\u72b6\u6cc1\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u306f\u3001<br \/>\n  <br \/>\/etc\/dovecot\/conf.d\/15-mailboxes.conf \u306b <\/p>\n<p><strong><u>inbox = yes<\/u> <\/p>\n<p>\u306e\u8a18\u8ff0\u3092\u8ffd\u8a18<\/strong>\u3059\u308b\u304b\u3001<\/p>\n<p><strong>15-mailboxes.conf \u3092\u524a\u9664<\/strong>\u3059\u308b\u3068\u52d5\u304d\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff14\uff0e \u201c\/home\/*\/public_html\u201d \u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u7f6e\u304b\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u3001\u3069\u3046\u3082\u3046\u307e\u304f Apache \u304c\u52d5\u304b\u306a\u3044<\/h4>\n<p>\/etc\/httpd\/conf.d\/userdir.conf<br \/>\n  <br \/>\u306b\u8a2d\u5b9a\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u306e\u3042\u305f\u308a\u3092\u7de8\u96c6\u3057\u3066\u307f\u308b\u3068\u3044\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff15\uff0e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u5468\u308a\u3067 Apache \u304c\u52d5\u304b\u306a\u3044<\/h4>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u306b\u95a2\u3057\u3066\u306f\u3001<br \/>\n  <br \/>\/etc\/httpd\/conf.modules.d <\/p>\n<p>\u3067\u884c\u3046\u3088\u3046\u306b\u5909\u66f4\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u306e\u3067\u3001\u305d\u3061\u3089\u306b\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff16\uff0eiptables \u30b5\u30fc\u30d3\u30b9\u304c\u65e2\u5b9a\u3067 Disabled \u306b\u306a\u3063\u3066\u3044\u308b<\/h4>\n<p>\u3053\u308c\u306f\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u6a5f\u80fd\u304c \u201cfirewalld\u201d \u306b\u79fb\u3063\u305f\u305f\u3081\u3002<br \/>\n  <br \/>iptables \u3092\u3068\u308a\u3042\u3048\u305a\u6709\u52b9\u306b\u3057\u305f\u5f8c\u306b\u3001firewalld \u3067\u306e\u66f8\u304d\u65b9\u306b\u79fb\u3063\u3066\u3044\u304f\u3068\u3044\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff17\uff0eCentOS 6 \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u304d\u308c\u3044\u306b\u6d88\u3057\u305f\u3044<\/h4>\n<p>rpm \u2013qa | grep el6 | xargs rpm \u2013e<\/p>\n<p>\u3053\u3093\u306a\u3053\u3068\u3059\u308b\u3068\u5e78\u305b\u306b\u306a\u308c\u308b\u304b\u3082\u3002<br \/>\n  <br \/>\u305f\u3060\u3001\u4f55\u3082\u8003\u3048\u305a\u306b\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u4e0d\u5e78\u305b\u306b\u306a\u308b\u306e\u3067\u3001\u3061\u3083\u3093\u3068\u78ba\u8a8d\u3057\u3066\u304b\u3089\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff18\uff0e\/var\/log \u306b\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304c\u306a\u3044\uff01<\/h4>\n<p><a title=\"http:\/\/fedoraproject.org\/wiki\/Changes\/NoDefaultSyslog\" href=\"http:\/\/fedoraproject.org\/wiki\/Changes\/NoDefaultSyslog\">http:\/\/fedoraproject.org\/wiki\/Changes\/NoDefaultSyslog<\/a><\/p>\n<p>\u3053\u306e\u8fba\u306b\u3042\u308b\u306e\u3067\u3059\u304c\u3001 \u201cjournalctl\u201d \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u6a19\u6e96\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n  <br \/>\u3082\u3061\u308d\u3093\u3001 rsyslog \u3092\u5165\u308c\u3066\u3001\u30b5\u30fc\u30d3\u30b9\u3092\u6709\u52b9\u306b\u3059\u308c\u3070\u4eca\u307e\u3067\u901a\u308a\u30ed\u30b0\u304c\u51fa\u3066\u304d\u307e\u3059\u304c\u3001 <\/p>\n<p>\u201dsystemd journal\u201d \u306b\u7ba1\u7406\u3092\u4efb\u305b\u3066\u307f\u308b\u306e\u3082\u3088\u3044\u306e\u3067\u306f\u3002<\/p>\n<p>\u30fb\u30fb\u4e00\u5fdc\u3001<br \/>\n  <br \/>journalctl | grep dovecot&#160; \u3068\u304b\u3059\u308c\u3070\u3001\u305d\u306e\u88fd\u54c1\u3060\u3051\u306e\u30ed\u30b0\u3092\u53d6\u308a\u3060\u3057\u3066\u304f\u308b\u4e8b\u304c\u51fa\u6765\u307e\u3059\u3002 <\/p>\n<p><\/p>\n<p>&#160;<\/p>\n<h4>\uff19\uff0epostfix \u3067\u30e1\u30fc\u30eb\u304c\u9001\u308c\u306a\u304f\u306a\u3063\u305f\uff01<\/h4>\n<p>saslauthd \u306b\u3088\u308b\u8a8d\u8a3c\u3092\u884c\u3063\u3066\u3044\u308b\u74b0\u5883\u3067\u306f\u3001<br \/>\n  <br \/>saslauthd \u304c\u6b62\u307e\u3063\u3066\u3044\u308b\u4e8b\u306b\u3088\u3063\u3066\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3067\u304d\u306a\u3044\u4e8b\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>systemctl enable saslauthd<br \/>\n  <br \/>systemctl start saslauthd<\/p>\n<p>\u3067\u826f\u3044\u611f\u3058\u306b\u3002<\/p>\n<p>&#160;<\/p>\n<hr \/>\n<p>\u30fb\u30fb\u3042\u3068\u3067\u4f55\u304b\u65b0\u3057\u3044\u3053\u3068\u3092\u898b\u3064\u3051\u305f\u3089\u66f8\u304d\u63db\u3048\u307e\u3059\u30fb\u30fb\u3002 <\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u306e\u3042\u305f\u308a\u307e\u3067\u30fb\u30fb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002 \u5148\u65e5\u307e\u3067\u67d0\u5b66\u4f1a\u306b\u51fa\u5e2d\u3057\u3066\u3044\u305f\u95a2\u4fc2\u3067\u9045\u304f\u306a\u308a\u307e\u3057\u305f\u3002 &#160; \u5b66\u4f1a\u306b\u5411\u304b\u3046\u671d\u306b Twitter \u3092\u773a\u3081\u3066\u3044\u305f\u3089 CentOS 7 \u304c\u51fa\u305f\uff01 \u3068\u3044\u3046\u30c4\u30a4\u30fc\u30c8\u304c\u6d41\u308c\u3066\u3044\u307e\u3057\u3066 \u30fb\u30fb\u307e\u3058\u3059\u304b\uff01 \u3082\u3046 C [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[31],"class_list":["post-5165","post","type-post","status-publish","format-standard","hentry","category-web","tag-centos"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/5165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/comments?post=5165"}],"version-history":[{"count":0,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/5165\/revisions"}],"wp:attachment":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/media?parent=5165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/categories?post=5165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/tags?post=5165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}