{"id":51,"date":"2011-01-02T10:18:05","date_gmt":"2011-01-02T10:18:05","guid":{"rendered":"http:\/\/www.xiit.cn\/?p=51"},"modified":"2011-01-02T10:18:05","modified_gmt":"2011-01-02T10:18:05","slug":"centos-yum%e5%ae%89%e8%a3%85apachephpmysql","status":"publish","type":"post","link":"https:\/\/xiit.cn\/index.php\/2011\/01\/02\/centos-yum%e5%ae%89%e8%a3%85apachephpmysql\/","title":{"rendered":"Centos yum\u5b89\u88c5apache+php+mysql"},"content":{"rendered":"<p>\u9996\u5148\u66f4\u65b0\u7cfb\u7edf<\/p>\n<blockquote><p><code>yum -y update<\/code><\/p><\/blockquote>\n<p>\u7cfb\u7edf\u66f4\u65b0\u540e,\u5982\u679cyum\u5b89\u88c5\u65f6\u63d0\u793a\u9519\u8bef\u4fe1\u606f,\u8bf7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4fee\u590d.<\/p>\n<blockquote><p><code>yum -y install httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql php-mcrypt php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc mysql-connector-odbc mysql-devel libdbi-dbd-mysql<\/code><\/p><\/blockquote>\n<p><!--more-->\u7b49\u5b89\u88c5\u5b8c\u6210\u540e vi \/etc\/my.cnf \u5728mysqld\u4e2d\u4e09\u884c\u4f18\u5316\u547d\u4ee4<br \/>\n\u8fd9\u4e09\u884c\u5bf9256M\u5c0f\u5185\u5b58VPS\u53ef\u4ee5\u7701\u4e0b100M\u5185\u5b58<\/p>\n<blockquote><p><code>skip-bdb<br \/>\nskip-innodb<br \/>\nskip-locking<\/code><\/p><\/blockquote>\n<p>\u91cd\u542f\u7cfb\u7edf\u540e\u81ea\u52a8\u542f\u52a8\u670d\u52a1<br \/>\nchkconfig httpd on             [\u8bbe\u7f6eapache\u4e3a\u81ea\u542f\u52a8]<br \/>\nchkconfig mysqld on           [\u8bbe\u7f6emysqld\u4e3a\u81ea\u542f\u52a8]<\/p>\n<p>\u6ce8\uff1a\u53d6\u6d88\u7cfb\u7edf\u542f\u52a8\u81ea\u542f\u670d\u52a1\u4e3a chkconfig httpd off<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u66f4\u65b0\u7cfb\u7edf yum -y update \u7cfb\u7edf\u66f4\u65b0\u540e,\u5982\u679cyum\u5b89\u88c5\u65f6\u63d0\u793a\u9519\u8bef\u4fe1\u606f,\u8bf7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4fee\u590d. yu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[23,34,36],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-linux","tag-apache","tag-mysql-2","tag-php"],"_links":{"self":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}