{"id":2026,"date":"2013-06-09T05:25:00","date_gmt":"2013-06-08T21:25:00","guid":{"rendered":"http:\/\/kuki.idv.tw\/?p=2026"},"modified":"2013-06-09T05:25:00","modified_gmt":"2013-06-08T21:25:00","slug":"ubuntu%e5%ae%89%e8%a3%9dhttpdmysqlphpphpmyadmin","status":"publish","type":"post","link":"https:\/\/www.kuki.idv.tw\/?p=2026","title":{"rendered":"ubuntu\u5b89\u88ddhttpd+mysql+php+phpmyadmin"},"content":{"rendered":"<p>\u5b89\u88ddMySQL-Server<br \/>\n$ <code>sudo apt-get install mysql-server<\/p>\n<p><\/code>\u5b89\u88ddApache HTTP Server<br \/>\n$ <code> sudo apt-get install apache2<\/code><\/p>\n<p>\u5b89\u88ddPHP for Apache HTTP Server<br \/>\n$ <code> sudo apt-get install php5<\/code><\/p>\n<p>\u5b89\u88ddMySQL for Apache HTTP Server<br \/>\n$ <code> sudo apt-get install libapache2-mod-auth-mysql<br \/>\n<\/code>$<code> sudo apt-get install php5-mysql<\/p>\n<p><\/code> &lt;h3&gt;<span style=\"font-size: small;\">\u5b89\u88ddphpMyAdmin<br \/>\n$ sudo apt-get install phpmyadmin<\/p>\n<p>\u88dd\u5b8c\u5f8c\u5fc5\u9808\u5148\u65b0\u589e\u4e00\u500bmysql\u7684\u5e33\u865f<br \/>\n$ mysqladmin -u root password [\u5bc6\u78bc]<\/span><\/p>\n<p>PS.<br \/>\n&lt;\/h3&gt;<\/p>\n<div>\n<ul>\n<li>\u9019\u88e1\u65b0\u589e\u7684root\u8ddf\u7cfb\u7d71\u7684root\u662f\u4e0d\u540c\u7684\uff0c\u5982\u679c\u907a\u6f0f\u7b2c\u4e8c\u500b\u6b65\u9a5f\u6703\u767c\u751f\u932f\u8aa4 =&gt; #1045 &#8211; Access denied for user &#8216;root&#8217;@&#8217;localhost&#8217; (using password: YES)<\/li>\n<li>\u5b89\u88dd\u5b8c\u7562\u5f8c\u5957\u4ef6\u6703\u81ea\u52d5\u5728\/var\/www\u4e0b\u5efa\u7acb\u9023\u7d50\uff0c\u7db2\u5740\u5217\u8f38\u5165http:\/\/127.0.0.1\/phpmyadmin\u5373\u53ef\u9032\u5165<\/li>\n<\/ul>\n<\/div>\n<p><code><br \/>\n<\/code><br \/>\n\u8cc7\u6599\u5eab\u9810\u8a2d\u76ee\u9304\uff1a\/var\/lib\/mysql<br \/>\n\u7db2\u9801\u9810\u8a2d\u76ee\u9304\uff1a\/var\/www<br \/>\nApache\u8a2d\u5b9a\u6a94\uff1a\/etc\/apache2\/apache2.conf<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88ddMySQL-Server $ sudo apt-get install mysql-server \u5b89\u88ddAp &hellip; <a href=\"https:\/\/www.kuki.idv.tw\/?p=2026\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008ubuntu\u5b89\u88ddhttpd+mysql+php+phpmyadmin\u3009<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2026"}],"collection":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2026"}],"version-history":[{"count":1,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2026\/revisions"}],"predecessor-version":[{"id":2028,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2026\/revisions\/2028"}],"wp:attachment":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}