{"id":10,"date":"2016-10-19T15:03:55","date_gmt":"2016-11-24T06:03:48","guid":{"rendered":"http:\/\/luchanglong.com.cn\/?p=10"},"modified":"2016-11-24T14:03:48","modified_gmt":"2016-11-24T06:03:48","slug":"lnmp%e7%9a%84%e4%b8%80%e4%ba%9b%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/blog.la998.com\/?p=10","title":{"rendered":"lnmp\u7684\u4e00\u4e9b\u5e38\u7528\u547d\u4ee4"},"content":{"rendered":"<div>LNMP\u72b6\u6001\u7ba1\u7406\u547d\u4ee4\uff1a<\/div>\n<div><\/div>\n<div>LNMP 1.2\u72b6\u6001\u7ba1\u7406: lnmp {start|stop|reload|restart|kill|status}<\/div>\n<div>LNMP 1.2\u5404\u4e2a\u7a0b\u5e8f\u72b6\u6001\u7ba1\u7406: lnmp {nginx|mysql|mariadb|php-fpm|pureftpd} {start|stop|reload|restart|kill|status}<\/div>\n<div>LNMP 1.1\u72b6\u6001\u7ba1\u7406\uff1a \/root\/lnmp {start|stop|reload|restart|kill|status}<\/div>\n<div>Nginx\u72b6\u6001\u7ba1\u7406\uff1a\/etc\/init.d\/nginx {start|stop|reload|restart}<\/div>\n<div>MySQL\u72b6\u6001\u7ba1\u7406\uff1a\/etc\/init.d\/mysql {start|stop|restart|reload|force-reload|status}<\/div>\n<div>Memcached\u72b6\u6001\u7ba1\u7406\uff1a\/etc\/init.d\/memcached {start|stop|restart}<\/div>\n<div>PHP-FPM\u72b6\u6001\u7ba1\u7406\uff1a\/etc\/init.d\/php-fpm {start|stop|quit|restart|reload|logrotate}<\/div>\n<div>PureFTPd\u72b6\u6001\u7ba1\u7406\uff1a \/etc\/init.d\/pureftpd {start|stop|restart|kill|status}<\/div>\n<div>ProFTPd\u72b6\u6001\u7ba1\u7406\uff1a \/etc\/init.d\/proftpd {start|stop|restart|reload}<\/div>\n<div><\/div>\n<div>\u5982\u91cd\u542fLNMP\uff0c\u8f93\u5165\u547d\u4ee4\uff1a\/root\/lnmp restart \u5373\u53ef\uff0c\u5355\u72ec\u91cd\u542fmysql\uff1a\/etc\/init.d\/mysql restart<\/div>\n<div><\/div>\n<div>\n<h3><strong>##\u6dfb\u52a0\u7f51\u7ad9(\u865a\u62df\u4e3b\u673a)##<\/strong><\/h3>\n<p>\u6267\u884c\uff1a<strong>lnmp vhost add<\/strong><\/p>\n<div>\u5220\u9664lamp\u521b\u5efa\u865a\u62df\u673a\u5173\u8054\u6587\u4ef6\u5939\u7684\u547d\u4ee4<\/div>\n<div>[root@iZ94orvma5bZ www]# chattr -i thinkphp5\/.user.ini<\/div>\n<div>[root@iZ94orvma5bZ www]# rm -rf thinkphp5\/<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>LNMP\u72b6\u6001\u7ba1\u7406\u547d\u4ee4\uff1a LNMP 1.2\u72b6\u6001\u7ba1\u7406: lnmp {start|stop|reload|resta &hellip; <a href=\"https:\/\/blog.la998.com\/?p=10\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">lnmp\u7684\u4e00\u4e9b\u5e38\u7528\u547d\u4ee4<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.la998.com\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.la998.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.la998.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.la998.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.la998.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":1,"href":"https:\/\/blog.la998.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":11,"href":"https:\/\/blog.la998.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/11"}],"wp:attachment":[{"href":"https:\/\/blog.la998.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.la998.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.la998.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}