{"id":1617,"date":"2009-10-11T02:10:24","date_gmt":"2009-10-10T17:10:24","guid":{"rendered":"http:\/\/a-tak.com\/xoops2\/modules\/wordpress\/2009\/10\/11\/1617"},"modified":"2020-07-13T14:34:21","modified_gmt":"2020-07-13T05:34:21","slug":"amazon-ec2-to-onamae2","status":"publish","type":"post","link":"https:\/\/a-tak.com\/blog\/2009\/10\/amazon-ec2-to-onamae2\/","title":{"rendered":"Amazon EC2\u304b\u3089\u304a\u540d\u524d.com\u3078\u306e\u79fb\u884c\u3057\u305f\u3088 \u305d\u306e2"},"content":{"rendered":"<div id=\"advads-718515652\" class=\"advads-before-content-placement advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p>\n<iframe loading=\"lazy\" height=\"60\" marginheight=\"0\" src=\"http:\/\/ad.jp.ap.valuecommerce.com\/servlet\/htmlbanner?sid=2274895&amp;pid=878550695\" framestyle=\"border:none;\" width=\"468\" allowtransparency=\"allowtransparency\" marginwidth=\"0\" scrolling=\"no\"><br \/>\n<noscript><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ad.jp.ap.valuecommerce.com\/vc\/images\/00\/1e\/8a\/d6.gif\" height=\"60\" width=\"468\" style=\"border:none;\"><br \/>\n<\/noscript><br \/>\n<\/iframe>\n<\/p>\n<p>Amazon EC2\u304b\u3089\u304a\u540d\u524d.com\u306eVPS\u30b5\u30fc\u30d3\u30b9\u306b\u79fb\u884c\u3057\u305f\u3088\u3001\u305d\u306e\u4e8c\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u7d30\u304b\u3044\u624b\u9806\u3092\u8a18\u9332\u306e\u305f\u3081\u306b\u6b8b\u3057\u3066\u304a\u304f\u3002<br \/>\n\u3042\u304f\u307e\u3067\u30e1\u30e2\u7a0b\u5ea6\u3002<\/p>\n<p><!--more--><\/p>\n<h2>\u307e\u305a\u306f\u7533\u3057\u8fbc\u307f <\/h2>\n<p>\u30c9\u30e1\u30a4\u30f3\u805e\u304b\u308c\u305f\u306e\u3067a-tak.com\u3068\u5165\u308c\u305f\u3002<br \/>\n15\u5206\u3050\u3089\u3044\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u304b\u3089\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<br \/>\nhttps:\/\/my.rentalserver.jp\/srvlst.aspx<\/p>\n<h2>\u57fa\u672c\u8a2d\u5b9a<\/h2>\n<p>root\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3002\u51fa\u6765\u5408\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5206\u304b\u308a\u3065\u3089\u3044ID\u306a\u306e\u3067\u65b0\u898f\u306b\u8ffd\u52a0\u3057\u3066\u307f\u305f\u3002<br \/>\nid\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5fc5\u305a8\u6587\u5b57\u4ee5\u4e0a\u306a\u306e\u3067\u6ce8\u610f \u3002<\/p>\n<p>ssh\u306e\u30dd\u30fc\u30c8\u3092\u958b\u653e\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc &#8211; \u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb &#8211; SSH \u8a31\u53ef\u306b\u5909\u66f4\u3059\u308c\u3070\u3088\u3044\u3002 \u9006\u306b\u4f7f\u308f\u306a\u3044\u30dd\u30fc\u30c8\u9589\u3058\u308b\u3002<\/p>\n<p>yum\u304c\u3064\u304b\u3044\u305f\u3044\u306e\u3067\u81ea\u52d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u505c\u6b62\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc &#8211; \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304b\u3089\u6307\u5b9a\u3002 <\/p>\n<h2>\u306a\u305c\u304bSSH\u306b\u6642\u9593\u304c\u304b\u304b\u308b<\/h2>\n<p>ssh\u3067\u30ed\u30b0\u30a4\u30f3\u3002\u306a\u305c\u304b\u3001\u3084\u3051\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u30023\u5206\u3050\u3089\u3044?<br \/>\n\u3067\u3082\u3001\u8f9b\u62b1\u5f37\u304f\u5f85\u3064\u3068\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3002 <\/p>\n<p>[\u8ffd\u8a18]<br \/>\n<a href=\"https:\/\/yuyarin.hatenadiary.org\/entry\/20090410\/1239298235\">\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\u306e\u4ee5\u4e0b\u306e\u4e8c\u3064\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u898b\u9055\u3048\u308b\u3088\u3046\u306b\u65e9\u304f\u306a\u3063\u305f\u3002\u30b5\u30f3\u30af\u30b9!<br \/>\n\/etc\/ssh\/ssh_config\u306b AddressFamily inet \u8ffd\u52a0<br \/>\n\/etc\/ssh\/sshd_config\u306b UseDNS=no \u3092\u8ffd\u52a0<br \/>\n<a href=\"https:\/\/help.onamae.com\/\">\u304a\u540d\u524d.com\u306e\u30b5\u30dd\u30fc\u30c8QA\u306b\u3082\u95a2\u9023\u4e8b\u9805\u3042\u308a\u3002<\/a><\/p>\n<h2>MySQL\u8d77\u52d5<\/h2>\n<p>\u307e\u305f\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u306b\u623b\u3063\u3066\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 &#8211; MySQL &#8211; \u8d77\u52d5\u3002<br \/>\n\u8d77\u52d5\u5f8c\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30da\u30fc\u30b8\u306b\u623b\u3063\u3066phpMyAdmin\u3078\u3002<br \/>\n\u6700\u521d\u304b\u3089OS\u306eroot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u540c\u3058\u7269\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3067OK\u3002\u3089\u304f\u3061\u3093\u3060\u306a\u3041\u3002 <\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u30c9\u30e1\u30a4\u30f3\u8ffd\u52a0\u306f\u81ea\u7531\u3002\u8ab2\u91d1\u3055\u308c\u308b\u3068\u304b\u51fa\u3066\u304f\u308b\u3051\u3069\u3001\u5b9f\u969b\u306fVPS\u30d7\u30e9\u30f3\u3067\u306f\u8ffd\u52a0\u8ab2\u91d1\u3055\u308c\u306a\u3044\u3002 <\/p>\n<h2>xoops\u74b0\u5883\u69cb\u7bc9 <\/h2>\n<h3>\u6587\u5b57\u5316\u3051\u9632\u6b62\u8a2d\u5b9a <\/h3>\n<p>\u5143\u3005EUC\u3067\u904b\u7528\u3057\u3066\u3044\u305f\u306e\u3067\u3001\/etc\/my.cnf\u3092\u958b\u3044\u3066\u3001\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3002 <\/p>\n<blockquote>\n<p>[mysqld]<br \/>\ndefault-character-set = ujis<br \/>\ncharacter-set-server = ujis<br \/>\ninit-connect = SET NAMES ujis<br \/>\nskip-character-set-client-handshake<br \/>\n[mysqldump]<br \/>\ndefault-character-set = ujis<br \/>\n[mysql]<br \/>\ndefault-character-set = ujis <\/p>\n<\/blockquote>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5 <\/p>\n<blockquote>\n<p>service mysqld restart <\/p>\n<\/blockquote>\n<h2>\u65e2\u5b58\u30c7\u30fc\u30bf\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7 <\/h2>\n<p>Amazon EC2\u306e\u30c7\u30fc\u30bf\u306ftar\u306a\u3069\u3067\u56fa\u3081\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3002<br \/>\n\u5f53\u7136db\u3082\u30c0\u30f3\u30d7\u3059\u308b\u3002 <\/p>\n<p>\u305d\u308c\u306b\u3057\u3066\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u65e9\u3044\u306a\u3002\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u7d50\u69cb\u6642\u9593\u304b\u304b\u3063\u3066\u305f\u306e\u306b\u3002<br \/>\n\u3069\u3046\u3084\u3089\u30c7\u30a3\u30b9\u30af\u306f\u76f8\u5f53\u65e9\u3044\u3082\u306e\u3092\u4f7f\u3063\u3066\u3044\u308b\u3089\u3057\u3044\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u3092\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u3078<\/h2>\n<p>\u305f\u3076\u3093\u3001SSH\u304c\u901a\u3063\u3066\u3044\u308c\u3070WinSCP\u3067Amazon EC2\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3002<br \/>\n\u540c\u69d8\u306b\u3001\u304a\u540d\u524d.com\u306b\u3082WinSCP\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u6e21\u3059<\/p>\n<h2>\u304a\u540d\u524d.com\u306eWeb\u30d5\u30a9\u30eb\u30c0\u69cb\u6210 <\/h2>\n<p>\u3053\u3053\u3067\u8efd\u304f\u6ce8\u610f\u70b9\u3002<\/p>\n<p><a href=\"https:\/\/help.onamae.com\/\">http:\/\/www.onamae-server.com\/support\/faq\/vps\/web\/web_46.php<\/a><br \/>\n<a href=\"https:\/\/help.onamae.com\/\">http:\/\/www.onamae-server.com\/support\/faq\/vps\/web\/web_15.php<\/a><\/p>\n<p>\u4e0a\u8a18\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u6bce\u306b\u30d5\u30a9\u30eb\u30c0\u304c\u3042\u308b\u306e\u3067\u305d\u3053\u306b\u30b3\u30d4\u30fc\u3057\u306a\u3044\u3068\u3060\u3081\u3002 <\/p>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u307e\u305a\u78ba\u8a8d\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306b\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3002 <\/p>\n<p>\/etc\/httpd\/conf.d\/zz_00_default_virtualhost.conf <\/p>\n<h2>\u30db\u30b9\u30c8\u540d\u306a\u3057\u3067a-tak.com\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u51fa\u308b\u3088\u3046\u306b\u3059\u308b <\/h2>\n<p>DNS\u306e\u8a2d\u5b9a\u3092Amazon EC2\u304b\u3089\u5909\u3048\u308b\u524d\u306b\u52d5\u4f5c\u78ba\u8a8d\u306e\u305f\u3081\u306b\u3001IP\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3068\u304d\u3082a-tak.com\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u5909\u66f4\u3002<\/p>\n<blockquote>\n<p>vi \/var\/www\/vhosts\/00_default\/conf\/00_default_httpd_vh_base.conf <\/p>\n<p>#DocumentRoot \/var\/www\/vhosts\/00_default\/httpdocs<br \/>\nDocumentRoot \/var\/www\/vhosts\/a-tak.com\/httpdocs <\/p>\n<\/blockquote>\n<h2>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u30c7\u30fc\u30bf\u306e\u5fa9\u5143 <\/h2>\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u4ee5\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc<\/p>\n<blockquote>\n<p>\/var\/www\/vhosts\/a-tak.com\/httpdocs<\/p>\n<\/blockquote>\n<p>\u30b3\u30d4\u30fc\u3059\u308b\u3068\u304d\u306f\u4e0a\u66f8\u304d\u78ba\u8a8d\u306a\u3069\u304c\u3046\u3056\u3044\u306e\u3067\u3001\u300cunalias cp\u300d\u3057\u3066\u304a\u304f\u65b9\u304c\u697d\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5fa9\u5143 <\/h2>\n<p>\u307e\u305a\u306f\u30e6\u30fc\u30b6\u30fc\u4f5c\u6210\u3002<\/p>\n<blockquote>\n<p>mysqladmin -p create xoops <\/p>\n<\/blockquote>\n<p>\u30c0\u30f3\u30d7\u3092\u3092gnuzip\u3068\u304b\u3067\u56fa\u3081\u3066\u3044\u308b\u306a\u3089<\/p>\n<blockquote>\n<p>gunzip &lt; ..\/xoops-backup-20091003.bak.gz | mysql -p xoops<\/p>\n<\/blockquote>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u5fa9\u5143\u304b\u306a\u3002 <\/p>\n<h2>DB\u30e6\u30fc\u30b6\u30fc\u4f5c\u6210 <\/h2>\n<p>\u304a\u540d\u524d.com\u3067\u306fphpMyAdmin\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u7279\u6a29&gt;\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3059\u308b <\/p>\n<p>\u518d\u5ea6\u6a29\u9650\u306e\u753b\u9762\u3067xoops\u3092\u958b\u3044\u3066\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u6bce\u306e\u7279\u6a29\u306e\u3068\u3053\u308d\u3067xoops\u306edb\u3092\u9078\u629e\u3057\u3066\u3001grant\u4ee5\u5916\u3092\u4ed8\u4e0e(usage)\u3002 <\/p>\n<p>\u53c2\u8003:<br \/>\n<a href=\"https:\/\/a-tak.com\/blog\/2008\/05\/nezu-uen\/?more=1&amp;c=1\">https:\/\/a-tak.com\/xoops\/modules\/wordpress\/index.php?p=1449&amp;more=1&amp;c=1<\/a><\/p>\n<p>\u3053\u308c\u3067\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304c\u51fa\u305f <\/p>\n<p>xoops\u304c\u52d5\u304b\u306a\u3044\u5834\u5408\u306f\u30a8\u30e9\u30fc\u30ed\u30b0\u78ba\u8a8d\u3002\u3053\u308c\u3082\u666e\u901a\u3068\u5834\u6240\u304c\u9055\u3046\u3002 <\/p>\n<blockquote>\n<p>view \/var\/www\/vhosts\/00_default\/logs\/error_log <\/p>\n<\/blockquote>\n<p>\u30c9\u30e1\u30a4\u30f3\u540d\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u5834\u5408\u306f<\/p>\n<blockquote>\n<p>view \/var\/www\/vhosts\/a-tak.com\/logs\/error_log <\/p>\n<\/blockquote>\n<p>\u306b\u6b8b\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d1\u30b9\u306e\u5909\u66f4 <\/h2>\n<blockquote>\n<p>vi \/var\/www\/vhosts\/a-tak.com\/httpdocs\/xoops\/mainfile.php <\/p>\n<p>define(&#8216;XOOPS_ROOT_PATH&#8217;, &#8216;\/var\/www\/html\/xoops&#8217;);<br \/>\n\u2193<br \/>\ndefine(&#8216;XOOPS_ROOT_PATH&#8217;, &#8216;\/var\/www\/html\/xoops&#8217;); <\/p>\n<\/blockquote>\n<p>\u3055\u3089\u306burl\u3082\u4e00\u6642\u7684\u306b\u5909\u66f4 <\/p>\n<blockquote>\n<p>#define(&#8216;XOOPS_URL&#8217;, &#8216;https:\/\/a-tak.com\/xoops&#8217;);<br \/>\ndefine(&#8216;XOOPS_URL&#8217;, &#8216;http:\/\/xxx.xxx.xxx.xxx\/xoops&#8217;);<\/p>\n<\/blockquote>\n<h2>php.ini\u306e\u8a2d\u5b9a\u5909\u66f4 <\/h2>\n<p>php.ini\u306e\u30e1\u30e2\u30ea\u3092\u5897\u3084\u3059\u3002amazon ec2\u306e\u8a2d\u5b9a\u306b\u5408\u308f\u305b\u306632MB\u306b\u3002\u304a\u540d\u524d.com\u30c7\u30d5\u30a9\u30eb\u30c8\u306f16MB\u306b\u306a\u3063\u3066\u3044\u308b\u3002 <\/p>\n<blockquote>\n<p>vi \/etc\/php.ini <\/p>\n<p>;memory_limit = 16M ; Maximum amount of memory a script may consume<br \/>\nmemory_limit = 32M ; Maximum amount of memory a script may consume <\/p>\n<\/blockquote>\n<h2>\u6587\u5b57\u5316\u3051\u5bfe\u7b56 <\/h2>\n<blockquote>\n<p>vi \/etc\/httpd\/conf\/httpd.conf <\/p>\n<p>#AddDefaultCharset UTF-8 <\/p>\n<\/blockquote>\n<p>\u3053\u308c\u3084\u3089\u306a\u3044\u3068\u30ed\u30b0\u30a4\u30f3\u3001\u30ed\u30b0\u30aa\u30d5\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5316\u3051\u308b\u3002<br \/>\n\u305d\u3057\u3066\u3001\u30b5\u30fc\u30d3\u30b9\u518d\u8d77\u52d5\u3002<br \/>\n\u3053\u308c\u3067\u30da\u30fc\u30b8\u304c\u307f\u308c\u308b\u306f\u305a\u3002 <\/p>\n<h2>\u8a2d\u5b9a\u3092\u672c\u756a\u7528\u306b\u5408\u308f\u305b\u308b <\/h2>\n<p>\u52d5\u4f5c\u78ba\u8a8d\u5f8c\u3001DNS\u3092\u304a\u540d\u524d.com\u5074\u306b\u5411\u3051\u305f\u3089\u3001\u30c6\u30b9\u30c8\u7528\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u305f\u306e\u3092\u5143\u306b\u623b\u3059 <\/p>\n<p>vi \/var\/www\/vhosts\/a-tak.com\/httpdocs\/xoops\/mainfile.php<br \/>\ndefine(&#8216;XOOPS_URL&#8217;, &#8216;https:\/\/a-tak.com\/xoops&#8217;);<br \/>\n#define(&#8216;XOOPS_URL&#8217;, &#8216;http:\/\/xxx.xxx.xxx.xxx\/xoops&#8217;);<\/p>\n<p>\u3061\u306a\u307f\u306bVPS\u30b5\u30fc\u30d0\u30fc\u306e\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u306fVPS\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u306e\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a &#8211; \u57fa\u672c\u60c5\u5831\u306b\u3042\u308b \u3002<\/p>\n<h2>\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u8a2d\u5b9a\u5909\u66f4[2009.10.12\u8ffd\u8a18]<\/h2>\n<p>  xoops\u306e\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001File Uploads\u306efileupload_realpath\u3092\u8a2d\u5b9a\u3057\u306a\u304a\u3059\u3002<\/p>\n<blockquote>\n<p>  \/var\/www\/vhosts\/xxxxx\/httpdocs\/xoops\/modules\/wordpress\/attach<\/p>\n<\/blockquote>\n<p>  \u3068\u3044\u3046\u611f\u3058\u3067\u5909\u66f4<\/p>\n<h2>\u30ab\u30b9\u30bf\u30e0\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u306e\u6307\u5b9a\u3082\u3057\u3066\u304a\u304f <\/h2>\n<p>vi \/var\/www\/vhosts\/a-tak.com\/conf\/httpd_vh_base.conf <\/p>\n<p>&lt;VirtualHost *:80&gt;<br \/>\n~(snip)<br \/>\nErrorDocument 404 \/404.htm<br \/>\n~(snip)<br \/>\n&lt;\/VirtualHost *:80&gt;<\/p>\n<h2>\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u3067\u30e6\u30fc\u30b6\u30fc\u8ffd\u52a0\u3059\u308b\u3069\u3046\u306a\u308b\u304b<\/h2>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d0\u30fc\u30c1\u30e3\u30eb\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u52dd\u624b\u306b\u8ffd\u52a0\u3055\u308c\u3066\u3044\u304f\u307f\u305f\u3044\u3002<\/p>\n<p>\/var\/www\/vhosts\/a-tak.com\/zone_users <\/p>\n<h2>PHP5.2\u306b\u3042\u3052\u308b <\/h2>\n<p>CentOS5.2\u306ePHP\u30d0\u30fc\u30b8\u30e7\u30f3\u306f5.1\u3002<br \/>\n\u305d\u306e\u307e\u307e\u3067\u306f\u6295\u7968\u306eajax\u304c\u52d5\u304b\u306a\u3044\u306e\u3067PHP5.2\u306b\u3042\u3052\u308b\u3002 <\/p>\n<p>yum\u4f7f\u3046\u3068PHP5.3\u306b\u306a\u3063\u3066\u3001\u4eca\u5ea6\u306fXOOPS\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u306e\u3067\u30015.2\u306b\u624b\u52d5\u3067\u3042\u3052\u308b\u3053\u3068\u306b\u3059\u308b(\u3081\u3093\u3069\u304f\u3055\u3044) <\/p>\n<p>\u307e\u305a\u306f\u4eca\u306ePHP\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6d88\u3059<\/p>\n<blockquote>\n<p>yum remove php<br \/>\nyum remove php-common <\/p>\n<\/blockquote>\n<p>\u95a2\u9023\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u307e\u3068\u3081\u3066remove\u3055\u308c\u3061\u3083\u3063\u305f\u306e\u3067\u30015.2\u7528\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u95a2\u9023\u3059\u308b\u3082\u306e\u306f\u5165\u308c\u76f4\u3057\u3002<\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4ee5\u4e0b\u304b\u3089\u304c\u3093\u3070\u3063\u3066\u843d\u3068\u3057\u305f\u3002 <\/p>\n<p>http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/repoview\/letter_p.group.html<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001\u5b9f\u969b\u306b\u843d\u3068\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u7fa4\u3002<\/p>\n<blockquote>\n<p>wget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-cli-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-common-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-dba-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-mcrypt-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-mysql-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-bcmath-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-xml-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-xmlrpc-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-gd-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-mbstring-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-soap-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-pdo-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-imap-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-devel-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/phpMyAdmin-3.2.2-1.el5.remi.noarch.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-pear-Mail-Mime-1.5.2-5.el5.remi.noarch.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-pear-Mail-mimeDecode-1.5.0-4.el5.remi.noarch.rpm<br \/>\nwget http:\/\/rpms.famillecollet.com\/enterprise\/5\/remi\/x86_64\/php-pear-1.9.0-1.el5.remi.noarch.rpm<br \/>\nrpm -ivh php-common-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-cli-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-bcmath-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-dba-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-devel-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-gd-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-imap-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-mbstring-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-pear-1.9.0-1.el5.remi.noarch.rpm<br \/>\nrpm -ivh php-pear-Mail-mimeDecode-1.5.0-4.el5.remi.noarch.rpm php-pear-Mail-Mime-1.5.2-5.el5.remi.noarch.rpm<br \/>\nrpm -ivh php-pdo-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-mysql-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-soap-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-xml-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh php-xmlrpc-5.2.10-1.el5.remi.x86_64.rpm<br \/>\nrpm -ivh phpMyAdmin-3.2.2-1.el5.remi.noarch.rpm <\/p>\n<\/blockquote>\n<p>\u30b5\u30fc\u30d3\u30b9\u518d\u8d77\u52d5\u3002<\/p>\n<p>service httpd stop<br \/>\nservice httpd start<\/p>\n<p>\u306a\u305c\u304b\u3001\u304a\u540d\u524d.com\u306f\u3001restart\u3067\u306f\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u306e\u3067\u3001\u9762\u5012\u3067\u3082stop &amp; start\u3067\u3002 <\/p>\n<p>\u3053\u308c\u3067\u3001\u3061\u3083\u3093\u3068\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3002<br \/>\n\u304c\u3001\u5c11\u3005\u554f\u984c\u304c\u6b8b\u3063\u305f\u3002<\/p>\n<h2>\u6b8b\u3063\u305f\u554f\u984c<\/h2>\n<p><del>\u4e00\u3064\u306fSSH\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u3068\u304d\u306b\u3084\u305f\u3089\u3068\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u3002\u30b5\u30dd\u30fc\u30c8\u306b\u554f\u3044\u5408\u308f\u305b\u305f\u304c\u539f\u56e0\u78ba\u8a8d\u3067\u304d\u305a\u3068\u306e\u3053\u3068\u3002\u3046\u3061\u304b\u3089\u8a66\u3059\u3068\u3001\u3069\u306e\u30de\u30b7\u30f3\u3067\u3082\u540c\u3058\u72b6\u6cc1\u306a\u306e\u3067\u3001\u3046\u3061\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3001\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u306b\u554f\u984c\u304c\u3042\u308b\u306e\u3060\u308d\u3046\u3002<\/del><\/p>\n<p>\u2191\u3053\u308c\u306f\u89e3\u6c7a\u3002\u4e0a\u306e\u65b9\u306b\u66f8\u3044\u3066\u3042\u308b\u304b\u3089\u898b\u3066\u306d\u3002<\/p>\n<p>\u4e8c\u3064\u76ee\u306f\u304a\u540d\u524d.com\u306e\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u306emx\u30ec\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3067\u304d\u306a\u3044\u3053\u3068\u3002<br \/>\nGoogle Apps\u3092\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u4f7f\u3063\u305f\u308a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u306e\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u60c5\u5831\u306b\u306f\u3001\u304a\u540d\u524d.com\u306e\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u306a\u304f\u3066mx\u30ec\u30b3\u30fc\u30c9\u304c\u7de8\u96c6\u3067\u304d\u308b\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u3001\u305f\u3068\u3048\u3070MyDNS.jp\u306a\u3069\u3092\u7528\u610f\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/p>\n<p>\u305b\u3063\u304b\u304f\u56fa\u5b9aIP\u306a\u306e\u306b\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u304b\u3041\u3002\u306a\u3093\u304b\u3044\u307e\u3044\u3061\u3002<br \/>\n\u304a\u540d\u524d.com\u306e\u30b5\u30dd\u30fc\u30c8\u306e\u8fd4\u7b54\u3067\u306f\u3001\u8981\u671b\u306f\u691c\u8a0e\u3059\u308b\u3068\u306e\u3053\u3068\u3060\u3063\u305f\u306e\u3067\u3001\u5c06\u6765\u7684\u306b\u306f\u5bfe\u5fdc\u3055\u308c\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u306e\u5024\u6bb5\u3067VPS\u4f7f\u3048\u308b\u306e\u306f\u3044\u3044\u304b\u3082\u3002\u30b9\u30da\u30c3\u30af\u7684\u306b\u3082\u500b\u4eba\u3067\u3084\u308b\u5206\u306b\u306f\u5fc5\u8981\u5341\u5206\u3060\u3068\u601d\u3046\u3002<br \/>\nAmazon EC2\u3068\u9055\u3044\u56fd\u5185\u30b5\u30fc\u30d0\u30fc\u306a\u306e\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3068\u304d\u306e\u30ad\u30fc\u5165\u529b\u306b\u5bfe\u3059\u308b\u8ffd\u5f93\u304c\u65e9\u3044\u306e\u3082\u3044\u3044\u3002<\/p>\n<p>\u672c\u5f53\u306b\u30c6\u30b9\u30c8\u7684\u306b\u3059\u3050\u306b\u30b5\u30fc\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3001\u3059\u3050\u3044\u3089\u306a\u304f\u306a\u308b\u3001\u3068\u3044\u3046\u6642\u306b\u306f\u521d\u671f\u8cbb\u304c\u4e0d\u8981\u306aAmazon EC2\u304c\u3044\u3044\u3051\u3069\u3001\u666e\u901a\u306b\u500b\u4eba\u3067\u30b5\u30fc\u30d0\u30fc\u904b\u7528\u3059\u308b\u306a\u3089\u304a\u540d\u524d.com\u3082\u60aa\u304f\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p><div id=\"advads-608793705\" class=\"advads-content-placement-after-3rd-paragraph advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<p><!--web-site linux amazon-ec2 onamae--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon EC2\u304b\u3089\u304a\u540d\u524d.com\u306eVPS\u30b5\u30fc\u30d3\u30b9\u306b\u79fb\u884c\u3057\u305f\u3088\u3001\u305d\u306e\u4e8c\u3002 \u4eca\u56de\u306f\u3001\u7d30\u304b\u3044\u624b\u9806\u3092\u8a18\u9332\u306e\u305f\u3081\u306b\u6b8b\u3057\u3066\u304a\u304f\u3002 \u3042\u304f\u307e\u3067\u30e1\u30e2\u7a0b\u5ea6\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,28],"tags":[101,513,100,94,102],"class_list":["post-1617","post","type-post","status-publish","format-standard","hentry","category-linux","category-website","tag-amazon-ec2","tag-linux","tag--com","tag-94","tag-102"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/1617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/comments?post=1617"}],"version-history":[{"count":0,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/1617\/revisions"}],"wp:attachment":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/media?parent=1617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/categories?post=1617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/tags?post=1617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}