{"id":265,"date":"2010-12-05T01:24:58","date_gmt":"2010-12-04T16:24:58","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2010\/12\/05\/seversman_wordpress\/"},"modified":"2010-12-05T01:24:58","modified_gmt":"2010-12-04T16:24:58","slug":"seversman_wordpress","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2010\/12\/05\/seversman_wordpress\/","title":{"rendered":"SeversMan \u3067\u30ec\u30f3\u30bf\u30eb\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u306bWORDPRESS \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806"},"content":{"rendered":"<h2>\u74b0\u5883\u306e\u6e96\u5099<\/h2>\n<h3>\u30d6\u30ed\u30b0\u7ba1\u7406\u7528\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210<\/h3>\n<pre class=\"prettyprint linenums\"># useradd blog\r\n# passwd blog<\/pre>\n<h2>PHP \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre class=\"prettyprint linenums\"># yum install -y php.i386<\/pre>\n<h3>php-mysql \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u300c\u304a\u4f7f\u3044\u306e\u30b5\u30fc\u30d0\u30fc\u306e PHP \u3067\u306f WordPress \u306b\u5fc5\u8981\u306a MySQL \u62e1\u5f35\u3092\u5229\u7528\u3067\u304d\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u300d\u306e\u5bfe\u5fdc <\/p>\n<pre class=\"prettyprint linenums\"># yum install php-mysql<\/pre>\n<h2>MySQL \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u8d77\u52d5\u3001\u30e9\u30f3\u30ec\u30d9\u30eb3\u3067\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a<\/h3>\n<pre class=\"prettyprint linenums\"># yum install -y mysql-server\r\n# \/etc\/rc.d\/init.d\/mysqld start\r\n# chkconfig --level 3 mysqld on<\/pre>\n<h3>root \u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4<\/h3>\n<p>new_password \u306f\u4efb\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9 dti-vps-xxxxx \u306fServersMan \u306e\u30db\u30b9\u30c8\u540d <\/p>\n<pre class=\"prettyprint linenums\"># mysql\r\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\r\nYour MySQL connection id is 3\r\nServer version: 5.0.77 Source distribution\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\r\nmysql&gt; set password for 'root'@'localhost' = password('new_password');\r\nQuery OK, 0 rows affected (0.00 sec)\r\nmysql&gt; set password for 'root'@'dti-vps-xxxxx' = password('new_password');\r\nQuery OK, 0 rows affected (0.00 sec)\r\nmysql&gt; set password for 'root'@'127.0.0.1' = password('new_password');\r\nQuery OK, 0 rows affected (0.00 sec)<\/pre>\n<h3>\u30e6\u30fc\u30b6\uff0d\u78ba\u8a8d<\/h3>\n<pre class=\"prettyprint linenums\">mysql&gt; select host,user from mysql.user;                          \uff43\r\n+---------------+------+\r\n| host          | user |\r\n+---------------+------+\r\n| 127.0.0.1     | root |\r\n| dti-vps-xxxxx |      |\r\n| dti-vps-xxxxx | root |\r\n| localhost     |      |\r\n| localhost     | root |\r\n+---------------+------+\r\n5 rows in set (0.00 sec)<\/pre>\n<h3>FTP\u30b5\u30fc\u30d0\u30fc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb <\/p>\n<pre class=\"prettyprint linenums\"># yum install -y vsftpd<\/pre>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb vsftpd.conf \u3092\u7de8\u96c6\u3002anomymouse_enabled \u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3001xferlog_file \u884c\u306b\u3066\u30ed\u30b0\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a <\/p>\n<pre class=\"prettyprint linenums\"># vi \/etc\/vsftpd\/vsftpd.conf\r\n#anonymous_enable=YES\r\nxferlog_file=\/var\/log\/vsftpd.log\r\n# \/sbin\/chkconfig --level 3 vsftpd on<\/pre>\n<h2>WordPress \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u79fb\u52d5\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u89e3\u51cd<\/h3>\n<pre class=\"prettyprint linenums\"># cd \/home\/blog\/download\r\n# wget http:\/\/ja.wordpress.org\/wordpress-3.0.1-ja.zip\r\n# unzip wordpress-3.0.1-ja.zip<\/pre>\n<h3>\u89e3\u51cd\u3055\u308c\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u79fb\u52d5\u3057\u3001\u516c\u958b\u540d(blog)\u306b\u30ea\u30cd\u30fc\u30e0<\/h3>\n<pre class=\"prettyprint linenums\"># mv wordpress \/var\/www\/html\r\n# cd \/var\/www\/html\r\n# mv wordpress blog<\/pre>\n<h3>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210<\/h3>\n<pre class=\"prettyprint linenums\"># mysql -u root -p\r\nEnter password:\r\nmysql&gt; create database wordpress;\r\nQuery OK, 1 row affected (0.00 sec)<\/pre>\n<h3>\u6a29\u9650\u306e\u4ed8\u4e0e<\/h3>\n<p>\u6a29\u9650\u3092\u4ed8\u4e0e\u3057\u3001\u30ed\u30b0\u30a2\u30a6\u30c8 <\/p>\n<pre class=\"prettyprint linenums\">mysql&gt; grant all privileges on wordpress.* to 'piroot'@'localhost' identified by 'new_password';\r\nQuery OK, 0 rows affected (0.00 sec)\r\nmysql&gt; flush privileges;\r\nQuery OK, 0 rows affected (0.00 sec)\r\nmysql&gt; exit\r\nBye<\/pre>\n<h2>WordPress \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c<\/h2>\n<h3>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u304d\u8fbc\u307f\u3092\u4e00\u6642\u7684\u306b\u8a31\u53ef\u3059\u308b<\/h3>\n<pre class=\"prettyprint linenums\"># cd \/var\/www\/html\/blog\r\n# chmod o+w blog<\/pre>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b9f\u884c\u753b\u9762\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u8d77\u52d5<\/h3>\n<p>http:\/\/\u30b5\u30fc\u30d0\u30fc\u306e\u30a2\u30c9\u30ec\u30b9\/blog\/wp-admin\/install.php \u3092\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u304d\u3001\u300c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u300d\u3092\u5b9f\u884c&#160; <\/p>\n<h3><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress01.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress01\" border=\"0\" alt=\"wordpress01\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress01_thumb.jpg\" width=\"254\" height=\"78\" \/><\/a> <\/h3>\n<h3>\u4e8b\u524d\u306b\u7528\u610f\u3059\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a\u5024\u306e\u6848\u5185\u3002\u6e96\u5099\u6e08\u307f\u3002<\/h3>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress02.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress02\" border=\"0\" alt=\"wordpress02\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress02_thumb.jpg\" width=\"244\" height=\"153\" \/><\/a> <\/p>\n<h3>\u4e0a\u8a18\u3067\u8a2d\u5b9a\u3057\u305f\u5024\u3092\u5165\u529b\u3059\u308b\u3002<\/h3>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress03.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress03\" border=\"0\" alt=\"wordpress03\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress03_thumb.jpg\" width=\"244\" height=\"179\" \/><\/a> <\/p>\n<h3>\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u3092\u4e0e\u3048\u3066\u3044\u306a\u3044\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u51fa\u6765\u306a\u3044\u306e\u3067\u3001chmod \u306b\u3066\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u3092\u4e0e\u3048\u308b\u3002<\/h3>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress04.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress04\" border=\"0\" alt=\"wordpress04\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress04_thumb.jpg\" width=\"244\" height=\"166\" \/><\/a>&#160;<\/p>\n<p> \u4ee5\u4e0a\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u5b8c\u4e86\u3002 <\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress05.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress05\" border=\"0\" alt=\"wordpress05\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress05_thumb.jpg\" width=\"244\" height=\"158\" \/><\/a> <\/p>\n<p>&#160;<\/p>\n<p> WordPress \u306e\u66f4\u65b0 \u7ba1\u7406\u753b\u9762\u3092\u898b\u308b\u3068\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3067\u304d\u308b\u69d8\u3060\u3002 <\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress07.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress07\" border=\"0\" alt=\"wordpress07\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress07_thumb.jpg\" width=\"244\" height=\"86\" \/><\/a>&#160;<\/p>\n<p> \u81ea\u52d5\u3067\u66f4\u65b0\u3092\u9078\u629e<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress08.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress08\" border=\"0\" alt=\"wordpress08\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress08_thumb.jpg\" width=\"244\" height=\"138\" \/><\/a> <\/p>\n<p>&#160;<\/p>\n<p> \u81ea\u52d5\u3067\u66f4\u65b0\u3059\u308b\u305f\u3081\u306b\u306f\u3001Web\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001FTP\u30e6\u30fc\u30b6\u30fc\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u306f root \u306e\u3082\u306e\u3092\u6307\u5b9a\u3059\u308b\u3002 vsftpd \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f root \u3067\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4e00\u6642\u7684\u306b \/etc\/vsftpd\/ftpusers\u3001\/etc\/vsftpd\/user_list \u306e\u4e21\u65b9\u304b\u3089root \u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3001\u4f5c\u696d\u5f8c\u306b\u623b\u3059\u3002 <\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress09.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress09\" border=\"0\" alt=\"wordpress09\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress09_thumb.jpg\" width=\"244\" height=\"193\" \/><\/a> <\/p>\n<p>&#160;<\/p>\n<p> \u958b\u59cb\u3059\u308b\u3068\u3001\u66f4\u65b0\u304c\u5b8c\u4e86\u3059\u308b\u3002 <\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress10.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"wordpress10\" border=\"0\" alt=\"wordpress10\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SeversManWORDPRESS_CAE\/wordpress10_thumb.jpg\" width=\"244\" height=\"133\" \/><\/a>&#160; <\/p>\n<p>\n  <br \/><iframe style=\"width: 120px; height: 240px\" marginheight=\"0\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=typea09-22&amp;o=9&amp;p=8&amp;l=as1&amp;m=amazon&amp;f=ifr&amp;md=1X69VDGQCMF7Z30FM082&amp;asins=4883377245\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe><iframe style=\"width: 120px; height: 240px\" marginheight=\"0\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=typea09-22&amp;o=9&amp;p=8&amp;l=as1&amp;m=amazon&amp;f=ifr&amp;md=1X69VDGQCMF7Z30FM082&amp;asins=4839936072\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u74b0\u5883\u306e\u6e96\u5099 \u30d6\u30ed\u30b0\u7ba1\u7406\u7528\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210 # useradd blog # passwd blog PHP \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb # yum install -y php.i386 php-mysql \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u300c\u304a\u4f7f\u3044\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[42],"tags":[],"class_list":["post-265","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=265"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/265\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}