{"id":824,"date":"2017-10-10T13:15:24","date_gmt":"2017-10-10T05:15:24","guid":{"rendered":"http:\/\/192.168.1.20\/?p=824"},"modified":"2017-10-13T22:12:48","modified_gmt":"2017-10-13T14:12:48","slug":"ubuntu{d4daabd1ba368d9860c36387ddb72bbda14f8f9559d69d60a952800885260c03}e5{d4daabd1ba368d9860c36387ddb72bbda14f8f9559d69d60a952800885260c03}bd{47dd41ec6bdcbd9a214c783a3735392b82ea6d1d918378c5a53e06407","status":"publish","type":"post","link":"http:\/\/alextop.top\/?p=824","title":{"rendered":"ubuntu\u5f7b\u5e95\u5e72\u51c0\u5378\u8f7dMySQL\u3001Apache2\u3001Php\u7684\u65b9\u6cd5\uff08\u5404\u7248\u672c\u901a\u7528"},"content":{"rendered":"<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">2015-10-30 11:03<br \/>\n<\/span><\/h1>\n<ol>\n<li>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u5378\u8f7d\u5220\u9664 mysql<br \/>\n<\/span><\/h1>\n<\/li>\n<\/ol>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">1 sudo apt-get autoremove &#8211;purge mysql-server-5.0<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">2 sudo apt-get remove mysql-server<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">3 sudo apt-get autoremove mysql-server<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">4 sudo apt-get remove mysql-common (\u975e\u5e38\u91cd\u8981)<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u4e0a\u9762\u7684\u5176\u5b9e\u6709\u4e00\u4e9b\u662f\u591a\u4f59\u7684\uff0c\u5efa\u8bae\u8fd8\u662f\u6309\u7167\u987a\u5e8f\u6267\u884c\u4e00\u904d<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u6e05\u7406\u6b8b\u7559\u6570\u636e\uff1a<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">dpkg -l |grep ^rc|awk &#8216;{print $2}&#8217; |sudo xargs dpkg -P<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo find \/etc -name &#8220;*mysql*&#8221; |xargs \u00a0rm -rf<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u6700\u540e\u7528 dpkg -l | grep mysql \u68c0\u67e5\uff0c\u5982\u65e0\u8fd4\u56de\u5373\u5e72\u51c0\u5378\u8f7d<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u4e8c\u3001\u5378\u8f7d\u5220\u9664apache<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo apt-get &#8211;purge remove apache-common<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo apt-get &#8211;purge remove apache<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u627e\u5230\u6ca1\u6709\u5220\u9664\u6389\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4e00\u5e76\u5220\u9664<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo find \/etc -name &#8220;*apache*&#8221; |xargs \u00a0rm -rf<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo rm -rf \/var\/www<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo rm -rf \/etc\/libapache2-mod-jk<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo rm -rf \/etc\/init.d\/apache2<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo rm -rf \/etc\/apache2<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u5220\u9664\u5173\u8054\uff0c<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">dpkg -l |grep apache2|awk &#8216;{print $2}&#8217;|xargs dpkg -P<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u5220\u9664svn<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo apt-get remove subversion<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo apt-get remove libapache2-svn<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u6700\u540e\u7528 dpkg -l | grep apache \u548c dpkg -l | grep apache2\u68c0\u67e5\uff0c\u5982\u65e0\u8fd4\u56de\u5373\u5e72\u51c0\u5378\u8f7d<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u4e09\u3001\u5378\u8f7d\u5220\u9664php<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo apt-get -purge remove libapache2-mod-php5 php5 php5-gd php5-mysql<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo apt-get autoremove php5<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u5220\u9664\u5173\u8054\uff0c<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">sudo find \/etc -name &#8220;*php*&#8221; |xargs \u00a0rm -rf<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u6e05\u695a\u6b8b\u7559\u4fe1\u606f<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">dpkg -l |grep ^rc|awk &#8216;{print $2}&#8217; |sudo xargs dpkg -P<br \/>\n<\/span><\/h1>\n<h1><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 12pt;\">\u6700\u540e\u7528 dpkg -l | grep php \u548cdpkg -l | grep php5 \u68c0\u67e5\uff0c\u5982\u65e0\u8fd4\u56de\u5373\u5e72\u51c0\u5378\u8f7d<br \/>\n<\/span><\/h1>\n","protected":false},"excerpt":{"rendered":"<p>2015-10-30 11:0&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-824","post","type-post","status-publish","format-standard","hentry","category-jishu"],"_links":{"self":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts\/824"}],"collection":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=824"}],"version-history":[{"count":0,"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts\/824\/revisions"}],"wp:attachment":[{"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=824"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}