{"id":68,"date":"2012-09-03T21:26:36","date_gmt":"2012-09-03T12:26:36","guid":{"rendered":"http:\/\/appw.jp\/2012beta\/?p=68"},"modified":"2013-09-13T17:51:45","modified_gmt":"2013-09-13T08:51:45","slug":"%e3%81%8a%e5%90%8d%e5%89%8d-com-vps-kvm-%e3%81%ab%e3%81%a6-wordpress-%e3%82%92%e3%81%af%e3%81%98%e3%82%81%e3%82%8b%e3%81%be%e3%81%a7%ef%bc%88%ef%bc%93%ef%bc%89","status":"publish","type":"post","link":"https:\/\/appw.jp\/2012beta\/?p=68","title":{"rendered":"\u304a\u540d\u524d.com VPS (KVM) \u306b\u3066 WordPress \u3092\u306f\u3058\u3081\u308b\u307e\u3067\uff08\uff13\uff09"},"content":{"rendered":"<p>\u7b2c\uff13\u56de\u306f\u3001phpMyAdmin \u3068 Webalizer \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u3067\u3059\u3002<\/p>\n<p>2012\u5e745\u6708\u304b\u3089\u3000<a href=\"http:\/\/px.a8.net\/svt\/ejp?a8mat=1ZR05O+28Z24Y+50+35L2SI\" target=\"_blank\" onmouseover=\"window.status='http:\/\/www.onamae-server.com\/';return true;\" onmouseout=\"window.status='';return true;\">\u304a\u540d\u524d.com VPS(KVM)<\/a><img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"http:\/\/www16.a8.net\/0.gif?a8mat=1ZR05O+28Z24Y+50+35L2SI\" alt=\"\">\u3000\u306e\u5229\u7528\u3092\u59cb\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6a19\u6e96 OS \u306b\u3066\u3001\u8a2d\u5b9a\u306a\u3069\u3092\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>phpMyAdmin \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>phpMyAdmin \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ sudo yum install phpmyadmin --enablerepo=remi\r\n<\/pre>\n<p>\/usr\/share\/phpMyAdmin\/config.inc.php \u3092\u7de8\u96c6\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u30b5\u30f3\u30d7\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ sudo cp \/usr\/share\/phpMyAdmin\/config.sample.inc.php \/usr\/share\/phpMyAdmin\/config.inc.php\r\n$ sudo vi \/usr\/share\/phpMyAdmin\/config.inc.php\r\n<\/pre>\n<p>blowfish_secret \u3068\u3044\u3046\u9805\u76ee\u306b\u4efb\u610f\u306e\u6587\u5b57\u5217\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$cfg&#x5B;'blowfish_secret'] = 'i78TuHnSg5FGgf36J7u01dRn'; \/* YOU MUST FILL IN THIS FOR COOKIE AUTH! *\/\r\n<\/pre>\n<p>\/etc\/httpd\/conf.d\/phpMyAdmin.conf \u3092\u307f\u3066\u307f\u307e\u3059\u3002\u81ea\u30db\u30b9\u30c8\u304b\u3089\u306e\u307f\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&lt;Directory \/usr\/share\/phpMyAdmin&gt;\r\n   order deny,allow\r\n   deny from all\r\n   allow from 127.0.0.1\r\n   allow from ::1\r\n&lt;\/Directory&gt;\r\n<\/pre>\n<p>\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u306b\u306f\u3001allow from \u30fb\u30fb\u30fb \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u308f\u305f\u3057\u306f\u3001SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u3092\u5229\u7528\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Apache \u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3055\u305b\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ sudo service httpd reload\r\n<\/pre>\n<h2>Webalizer \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Webalizer \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ sudo yum install webalizer\r\n<\/pre>\n<p>\/etc\/httpd\/conf.d\/webalizer.conf \u3092\u307f\u3066\u307f\u307e\u3059\u3002\u81ea\u30db\u30b9\u30c8\u304b\u3089\u306e\u307f\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&lt;Location \/usage&gt;\r\n    Order deny,allow\r\n    Deny from all\r\n    Allow from 127.0.0.1\r\n    Allow from ::1\r\n#    Allow from .example.com\r\n&lt;\/Location&gt;\r\n<\/pre>\n<p>\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u306b\u306f\u3001allow from \u30fb\u30fb\u30fb \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u308f\u305f\u3057\u306f\u3001SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u3092\u5229\u7528\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Apache \u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3055\u305b\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ sudo service httpd reload\r\n<\/pre>\n<p>\u8868\u793a\u306e\u305f\u3081\u306e\u30ed\u30b0\u306f\u3001\u7279\u306b\u8a2d\u5b9a\u3057\u76f4\u3055\u306a\u3051\u308c\u3070\uff11\u65e5\uff11\u56de\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u3088\u3063\u3066\u78ba\u8a8d\u306f\uff11\u65e5\u5f8c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0<\/h2>\n<p>\u53c2\u8003\u3068\u3057\u3066 Mac\uff08Mac OS X\uff09\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089 SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u5229\u7528\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>ssh \u30b3\u30de\u30f3\u30c9\u306e -L \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>-L \u30dd\u30fc\u30c8\u756a\u53f7:\u30db\u30b9\u30c8:\u30db\u30b9\u30c8\u5074\u30dd\u30fc\u30c8\u756a\u53f7 \u3068\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ ssh -L 10080:localhost:80 hoge@xxx.xxx.xxx.xxx\uff08\u30db\u30b9\u30c8\u306e IP \u30a2\u30c9\u30ec\u30b9\uff09\r\n<\/pre>\n<p>\u305d\u306e\u5f8c\u3001Mac \u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089 http:\/\/localhost:10080\/phpMyAdmin\/ \u306a\u3069\u306e\u3088\u3046\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067\u306e localhost \u306f\u3001Mac \u30de\u30b7\u30f3\u3092\u6307\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001Mac \u30de\u30b7\u30f3\u306e 10080 \u30dd\u30fc\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u3088\u308a\u63a5\u7d9a\u5148\u30db\u30b9\u30c8\u306e localhost:80 \u30dd\u30fc\u30c8\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e phpMyAdmin\u3001Webalizer \u306f\u81ea\u30db\u30b9\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u306e\u307f\u3092\u8a31\u53ef\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306b\u3088\u308a SSH \u30ea\u30e2\u30fc\u30c8\u30de\u30b7\u30f3\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3082\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a name=\"su\">&nbsp;<\/a><\/p>\n<h2>\u88dc\u8db3<\/h2>\n<p>2012\u5e749\u67086\u65e5\u306b\u8ffd\u8a18\u3002SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u4f8b\u3092\u898b\u76f4\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\uff13\u56de\u306f\u3001phpMyAdmin \u3068 Webalizer \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u3067\u3059\u3002 2012\u5e745\u6708\u304b\u3089\u3000\u304a\u540d\u524d.com VPS(KVM)\u3000\u306e\u5229\u7528\u3092\u59cb\u3081\u3066\u3044\u307e\u3059\u3002 \u6a19\u6e96 OS \u306b\u3066\u3001\u8a2d\u5b9a\u306a\u3069\u3092\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u305f\u3044\u3068 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-onamae-com-vps-kvm"],"_links":{"self":[{"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":1,"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":245,"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions\/245"}],"wp:attachment":[{"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appw.jp\/2012beta\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}