{"id":250,"date":"2006-12-02T11:16:06","date_gmt":"2006-12-02T03:16:06","guid":{"rendered":"http:\/\/192.168.50.160\/wordpress\/?p=250"},"modified":"2006-12-02T11:16:06","modified_gmt":"2006-12-02T03:16:06","slug":"apache-php-mysql%e5%ae%89%e8%a3%9d%e7%ad%86%e8%a8%98","status":"publish","type":"post","link":"https:\/\/history.dowdot.idv.tw\/?p=250","title":{"rendered":"apache php mysql\u5b89\u88dd\u7b46\u8a18"},"content":{"rendered":"<p>\u9019\u7bc7\u5176\u5be6\u4e4b\u524dpo\u904e\u4e86\uff0c\u53ea\u662f\u524d\u9663\u5b50DB\u6bc0\u640d\uff0c\u5728\u4fee\u5fa9\u5f8c\u597d\u50cf\u5c31\u4e0d\u898b\u4e86\uff0c\u539f\u5167\u5bb9\u5df1\u4e0d\u53ef\u8003,\u6240\u4ee5\u5c31\u53ea\u7559\u6700\u91cd\u9ede\u7684\u90e8\u4efd\u518dpo\u4e00\u904d\u3002<\/p>\n<p>[Apache+PHP]<\/p>\n<p>gzip -d httpd-2_0_NN.tar.gz<\/p>\n<p>tar xvf httpd-2_0_NN.tar<\/p>\n<p>gunzip php-NN.tar.gz<\/p>\n<p>tar -xvf php-NN.tar<br \/>\n<!--more--><br \/>\ncd httpd-2_0_NN<\/p>\n<p>\/configure --enable-so<\/p>\n<p>make;make install<\/p>\n<p>cd ..\/php-NN<\/p>\n<p>.\/configure --with-apxs2=\/usr\/local\/apache2\/bin\/apxs --with-mysql<\/p>\n<p>make;make install<\/p>\n<p>cp php.ini-dist \/usr\/local\/lib\/php.ini<\/p>\n<p>AddType application\/x-httpd-php .php .phtml<\/p>\n<p>AddType application\/x-httpd-php-source .phps<\/p>\n<p>[mysql]<br \/>\nshell> groupadd mysql<\/p>\n<p>shell> useradd -g mysql mysql<\/p>\n<p>shell> cd \/usr\/local<\/p>\n<p>shell> gunzip < \/path\/to\/mysql-VERSION-OS.tar.gz | tar xvf -\n\nshell> ln -s full-path-to-mysql-VERSION-OS mysql<\/p>\n<p>shell> cd mysql<\/p>\n<p>shell> scripts\/mysql_install_db --user=mysql<\/p>\n<p>shell> chown -R root  .<\/p>\n<p>shell> chown -R mysql data<\/p>\n<p>shell> chgrp -R mysql .<\/p>\n<p>shell> bin\/mysqld_safe --user=mysql &<\/p>\n<p>\u8349\u7a3f\u7de8\u8f2f:2006\/07\/09 11:16<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9019\u7bc7\u5176\u5be6\u4e4b\u524dpo\u904e\u4e86\uff0c\u53ea\u662f\u524d\u9663\u5b50DB\u6bc0\u640d\uff0c\u5728\u4fee\u5fa9\u5f8c\u597d\u50cf\u5c31\u4e0d\u898b\u4e86\uff0c\u539f\u5167\u5bb9\u5df1\u4e0d\u53ef\u8003,\u6240\u4ee5\u5c31\u53ea\u7559\u6700\u91cd\u9ede\u7684\u90e8\u4efd\u518dpo\u4e00\u904d\u3002 [Apache+PHP] gzip -d httpd-2_0_NN.tar.gz tar xvf httpd-2_0_NN.tar gunzip php-NN.tar.gz tar -&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":""},"categories":[8],"tags":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5NCTI-42","_links":{"self":[{"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/250"}],"collection":[{"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":0,"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"wp:attachment":[{"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/history.dowdot.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}