{"id":107,"date":"2011-04-04T05:27:57","date_gmt":"2011-04-04T05:27:57","guid":{"rendered":"http:\/\/www.xiit.cn\/?p=107"},"modified":"2011-04-04T05:27:57","modified_gmt":"2011-04-04T05:27:57","slug":"centos-yum%e5%ae%89%e8%a3%85httpd-mysqld-php","status":"publish","type":"post","link":"https:\/\/xiit.cn\/index.php\/2011\/04\/04\/centos-yum%e5%ae%89%e8%a3%85httpd-mysqld-php\/","title":{"rendered":"Centos yum\u5b89\u88c5httpd mysqld php"},"content":{"rendered":"<p>1\u3001\u4e00\u6b21\u6027\u5b89\u88c5\uff1a<\/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>2\u3001\u4f18\u5316mysql<br \/>\nvi \/etc\/my.cnf<br \/>\n\u5728 [mysqld] \u4e0b\u9762\u52a0\u5165<\/p>\n<blockquote><p><code>skip-bdb<br \/>\nskip-innodb<br \/>\nskip-locking<\/code><\/p><\/blockquote>\n<p><!--more--><br \/>\n3. \u542f\u52a8\u670d\u52a1\u914d\u7f6e<\/p>\n<p>chkconfig httpd on [\u8bbe\u7f6eapache\u4e3a\u81ea\u542f\u52a8]<br \/>\nchkconfig mysqld on [\u8bbe\u7f6emysqld\u4e3a\u81ea\u542f\u52a8]<\/p>\n<p>service httpd start [\u542f\u52a8 httpd \u670d\u52a1]<br \/>\nservice mysqld start [\u542f\u52a8mysqld\u670d\u52a1]<\/p>\n<p>4.\u8bbe\u7f6emysql\u6570\u636e\u5e93root\u5e10\u53f7\u5bc6\u7801<br \/>\n<code><br \/>\n \/usr\/bin\/mysqladmin -u root password '\u8fd9\u91cc\u4e3a\u5bc6\u7801'<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u4e00\u6b21\u6027\u5b89\u88c5\uff1a yum -y install httpd php mysql mysql-server ph [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,12,14],"tags":[23,27,34,36],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-apache","category-centos","category-linux","category-mysql","tag-apache","tag-centos","tag-mysql-2","tag-php"],"_links":{"self":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts\/107","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=107"}],"version-history":[{"count":0,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}