{"id":19347,"date":"2016-12-24T06:33:23","date_gmt":"2016-12-23T22:33:23","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/12\/24\/%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux-%e5%ae%89%e8%a3%9d-lamp-server\/"},"modified":"2021-03-18T17:24:52","modified_gmt":"2021-03-18T09:24:52","slug":"%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux-%e5%ae%89%e8%a3%9d-lamp-server","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/12\/24\/%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux-%e5%ae%89%e8%a3%9d-lamp-server\/","title":{"rendered":"\u8a66\u7528 Banana Pi M3 &#8211; CentOS Linux \u5b89\u88dd LAMP Server"},"content":{"rendered":"<p>1. \u66f4\u65b0\u5957\u4ef6\u5eab<br \/># <span style=\"color: #ff0000\">yum update<\/span><\/p>\n<p>2. \u5b89\u88dd LAMP \u5957\u4ef6<br \/># <span style=\"color: #ff0000\">yum install httpd mariadb-server php php-gd php-mbstring php-mysql php-pdo php-pear php-soap php-xml php-xmlrpc<\/span><\/p>\n<p>3. \u8a2d\u5b9a\u958b\u6a5f\u6642\u555f\u52d5<br \/># <span style=\"color: #ff0000\">systemctl enable httpd<\/span><br \/><span style=\"color: #0000ff\">Created symlink from \/etc\/systemd\/system\/multi-user.target.wants\/httpd.service to \/usr\/lib\/systemd\/system\/httpd.service.<\/span><br \/># <span style=\"color: #ff0000\">systemcrl enable mariadb<\/span><br \/><span style=\"color: #0000ff\">Created symlink from \/etc\/systemd\/system\/multi-user.target.wants\/mariadb.service to \/usr\/lib\/systemd\/system\/mariadb.service.<\/span>[@more@]4. \u9632\u706b\u7246\u8a2d\u5b9a<br \/>#<span style=\"color: #ff0000\"> \/usr\/bin\/firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=http<\/span><br \/># <span style=\"color: #ff0000\">\/usr\/bin\/firewall-cmd &#8211;reload<\/span><\/p>\n<p>5. \u555f\u52d5 Apache \/ MariaDB<br \/># <span style=\"color: #ff0000\">systemctl start httpd<\/span><br \/># <span style=\"color: #ff0000\">systemctl start mariadb<\/span><\/p>\n<p>6. \u700f\u89bd\u7db2\u9801 <span style=\"color: #ff0000\">http:\/\/Server&#8217;IP<\/span><br \/><a id=\"res_3750208\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3750208.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3750208.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u66f4\u65b0\u5957\u4ef6\u5eab# yum update 2. \u5b89\u88dd LAMP \u5957\u4ef6# yum install httpd m &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/12\/24\/%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux-%e5%ae%89%e8%a3%9d-lamp-server\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u8a66\u7528 Banana Pi M3 &#8211; CentOS Linux \u5b89\u88dd LAMP Server\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[162,117],"tags":[],"class_list":["post-19347","post","type-post","status-publish","format-standard","hentry","category-c-83744","category-c-78462"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["680236"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19347"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=19347"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19347\/revisions"}],"predecessor-version":[{"id":20892,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19347\/revisions\/20892"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=19347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=19347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=19347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}