{"id":659,"date":"2014-09-16T14:27:16","date_gmt":"2014-09-16T06:27:16","guid":{"rendered":"http:\/\/www.yusian.com\/blog\/?p=659"},"modified":"2016-07-16T15:10:30","modified_gmt":"2016-07-16T07:10:30","slug":"%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85phpmyadmin","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/centos\/2014\/09\/16\/142716659.html","title":{"rendered":"\u5982\u4f55\u5b89\u88c5phpmyadmin"},"content":{"rendered":"<p>1\u3001\u4e0b\u8f7d\u5b89\u88c5\u5305\u5e76\u5b89\u88c5\u670d\u52a1<\/p>\n<p><strong>yum install phpmyadmin <\/strong><\/p>\n<p>2\u3001\u5f00\u542f\u8fdc\u7a0b\u8bbf\u95ee\uff08\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ea\u6709127.0.0.1\u7684\u5730\u5740\u80fd\u8bbf\u95ee\uff09<\/p>\n<p>2.1\u6253\u5f00\u914d\u7f6e\u6587\u4ef6 <strong>vi \/etc\/httpd\/conf.d<\/strong><\/p>\n<pre line=\"1\" highlight=\"12\"><Directory \/usr\/share\/phpMyAdmin\/>\n   <IfModule mod_authz_core.c>\n     # Apache 2.4\n     <RequireAny>\n       Require ip 127.0.0.1\n       Require ip ::1\n     <\/RequireAny>\n   <\/IfModule>\n   <IfModule !mod_authz_core.c>\n     # Apache 2.2\n     Order Deny,Allow\n     Deny from All\n     Allow from 127.0.0.1\n     Allow from ::1\n   <\/IfModule>\n<\/Directory><\/pre>\n<p>2.2 \u4fee\u6539\u914d\u7f6e<br \/>\n\u5c06Deny from All \u6539\u6210# Deny frome All <\/p>\n<p>2.3 \u4fdd\u5b58\u9000\u51fa\u5e76\u91cd\u542fhttp\u670d\u52a1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u4e0b\u8f7d\u5b89\u88c5\u5305\u5e76\u5b89\u88c5\u670d\u52a1 yum install phpmyadmin 2\u3001\u5f00\u542f\u8fdc\u7a0b\u8bbf\u95ee\uff08\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ea\u6709127.0.0.1\u7684\u5730\u5740\u80fd\u8bbf\u95ee\uff09 2.1\u6253\u5f00\u914d\u7f6e\u6587\u4ef6 vi \/etc\/httpd\/conf.d # Apache 2.4 Require ip 127.0.0.1 Require ip ::1 # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 2.2 \u4fee\u6539\u914d\u7f6e \u5c06Deny from All \u6539\u6210# Deny frome All 2.3 \u4fdd\u5b58\u9000\u51fa\u5e76\u91cd\u542fhttp\u670d\u52a1<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[8,22],"class_list":["post-659","post","type-post","status-publish","format-standard","hentry","category-centos","tag-linux","tag-mysql"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=659"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/659\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}