{"id":100,"date":"2017-03-17T14:55:59","date_gmt":"2017-03-17T06:55:59","guid":{"rendered":"https:\/\/blog.lcsoul.cn\/?p=100"},"modified":"2017-03-17T14:55:59","modified_gmt":"2017-03-17T06:55:59","slug":"%e5%ae%9d%e5%a1%94vps%e7%ae%a1%e7%90%86%e9%9d%a2%e6%9d%bf-vps%e9%9d%a2%e6%9d%bf%e6%8e%a8%e8%8d%90%ef%bc%88%e6%9c%ac%e7%ab%99%e6%ad%a3%e5%9c%a8%e4%bd%bf%e7%94%a8%e7%9a%84%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.lcsoul.top\/index.php\/2017\/03\/17\/%e5%ae%9d%e5%a1%94vps%e7%ae%a1%e7%90%86%e9%9d%a2%e6%9d%bf-vps%e9%9d%a2%e6%9d%bf%e6%8e%a8%e8%8d%90%ef%bc%88%e6%9c%ac%e7%ab%99%e6%ad%a3%e5%9c%a8%e4%bd%bf%e7%94%a8%e7%9a%84%ef%bc%89\/","title":{"rendered":"\u5b9d\u5854VPS\u7ba1\u7406\u9762\u677f&#8212;VPS\u9762\u677f\u63a8\u8350\uff08\u672c\u7ad9\u6b63\u5728\u4f7f\u7528\u7684\uff09"},"content":{"rendered":"<p>\u8fd9\u4e2aVPS\u9762\u677f\u662f\u6211\u53bb\u5e74\u5e74\u5e95\u63a5\u89e6\u5230\u7684 \u4e4b\u524d\u7528\u7684\u963f\u91cc\u4e91\u7684\u4e91\u865a\u62df\u4e3b\u673a \u540e\u6765\u6362\u5230\u5883\u5916\u7684VPS\u7528\u7684AMH\u7684\u514d\u8d39\u7248\u5f00\u4e86SSL \u53bb\u5e74\u5e74\u5e95\u53c8\u6362\u56de\u5883\u5185\u963f\u91cc\u4e91\u7684ECS\u4e3b\u673a<br \/>\n<strong><a href=\"http:\/\/www.bt.cn\/\" target=\"_blank\" rel=\"nofollow noopener\" data-original-title=\"\u70b9\u51fb\u8fdb\u5165\u5b9d\u5854\u5b98\u7f51\">\u5b9d\u5854<\/a>\uff08BT.CN\uff09<\/strong>\u662f\u4e2aVPS\u7684\u7ba1\u7406\u9762\u677f\uff0c\u6709linux\u548cwindows\u4e24\u4e2a\u7248\u672c\uff0cwindows\u7248\u7684\u6211\u4e0d\u662f\u5f88\u719f\u6089\uff0c\u7528\u7684\u90fd\u662flinux\u7248\u7684\u3002linux\u7248\u7684\u53ef\u4ee5Apache\/Nginx\/Tengine\/PHP\/MySQ L\u5404\u79cd\u73af\u5883\u7ec4\u4ef6\u7248\u672c\u81ea\u7531\u5207\u6362\uff0c\u800c\u4e14\u53ef\u4ee5\u591aPHP\u7248\u672c\u5171\u5b58\uff0c\u4e0d\u8fc7\u76ee\u524dLinux\u7248\u53ea\u652f\u6301CentOS6.x\/7.x\u3002<br \/>\n\u5b98\u65b9\u4ecb\u7ecd\uff1a\u4e00\u952e\u521b\u5efa\u7f51\u7ad9\u3001FTP\u3001\u6570\u636e\u5e93\u3001SSL\uff1b\u5b89\u5168\u7ba1\u7406\uff0c\u8ba1\u5212\u4efb\u52a1\uff0c\u6587\u4ef6\u7ba1\u7406\uff0cPHP\u591a\u7248\u672c\u5171\u5b58\u53ca\u5207\u6362\uff1b\u81ea\u5e26LNMP\u4e0eLAMP<br \/>\n\u672c\u7ad9\u4f7f\u7528\u7684\u662f2.X\u7684\u7248\u672c\uff0c\u73b0\u57283.X\u7248\u672c\u6b63\u5728\u516c\u6d4b<br \/>\n<strong><a href=\"http:\/\/www.bt.cn\/\" data-original-title=\"\u70b9\u51fb\u8fdb\u5165\u5b9d\u5854\u5b98\u7f51\">\u5b98\u7f51<\/a>\uff1a\u5b9d\u5854<a href=\"http:\/\/www.bt.cn\/\" data-original-title=\"\u70b9\u51fb\u8fdb\u5165\u5b9d\u5854\u5b98\u7f51\"> Linux\/Windows \u9762\u677f<\/a><\/strong><\/p>\n<h2><strong>\u7a33\u5b9a\u72482.8.9\uff083\u67088\u65e5\u66f4\u65b0\uff09<\/strong><\/h2>\n<p><strong>\u7b80\u4ecb\uff1a<\/strong><br \/>\n\u6682\u65f6\u53ea\u5bf9 CentOS 5.x \/ 6.x \/ 7.x \u63d0\u4f9b\u652f\u6301\uff1b<br \/>\n\u5305\u542b\u8f6f\u4ef6\uff1a<br \/>\nNginx-Tengine-2.2.0<br \/>\nNginx1.8 &#8211; 1.10<br \/>\nApache2.4.20<br \/>\nPHP5.2 &#8211; 7.1\uff08\u5b89\u88c5\u65f6\u53ef\u9009\uff0c\u652f\u6301\u591a\u7248\u672c\u5171\u5b58,\u9664php7.0,php7.1\u90fd\u5df2\u5305\u542bzendloader\uff09<br \/>\nMySQL5.5 &#8211; 5.7\uff08\u5b89\u88c5\u65f6\u53ef\u9009\uff09<br \/>\nPure-Ftpd<br \/>\nphpMyadmin<br \/>\nWEB\u5728\u7ebf\u9762\u677f<br \/>\n<strong>\u7cfb\u7edf\u8981\u6c42\uff1a<\/strong><br \/>\n<span style=\"color: red;\">\u5185\u5b58\uff1a128M\u4ee5\u4e0a\uff0c\u63a8\u8350512M\u4ee5\u4e0a<\/span><br \/>\n<span style=\"color: red;\">\u78c1\u76d8\uff1a\u81f3\u5c114GB\u53ef\u7528\u78c1\u76d8\u7a7a\u95f4<\/span><br \/>\n<span style=\"color: red;\">\u5176\u5b83\uff1a\u786e\u4fdd\u662f\u5e72\u51c0\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6ca1\u6709\u5b89\u88c5\u8fc7\u5176\u5b83\u73af\u5883\u5e26\u7684Apache\/Nginx\/php\/MySQL<\/span><br \/>\n<strong>\u529f\u80fd\u8bf4\u660e\uff1a<\/strong><br \/>\n1.\u5728\u7ebf\u67e5\u770b\u670d\u52a1\u5668\u8d44\u6e90\u72b6\u6001\uff1b<br \/>\n2.\u4e00\u952e\u5efa\u7ad9\uff08\u5305\u542bFTP\uff0c\u6570\u636e\u5e93\u7684\u5efa\u7acb\uff0c\u53ea\u97001\u79d2\uff09\uff1b<br \/>\n3.\u7f51\u7ad9\u3001FTP\u3001\u6570\u636e\u5e93\u7684\u65e5\u5e38\u7ba1\u7406\u4ee5\u53ca\u5907\u4efd\uff1b<br \/>\n4.\u9632\u706b\u5899\u7aef\u53e3\u7ba1\u7406\uff1b<br \/>\n5.SSH\u670d\u52a1\u4ee5\u53ca\u7aef\u53e3\u7ba1\u7406\uff1b<br \/>\n6.\u5f3a\u5927\u7684\u5728\u7ebf\u6587\u4ef6\u7ba1\u7406\u7cfb\u7edf\uff0c\u652f\u6301\u6279\u91cf\u4e0a\u4f20\u3001\u4e0b\u8f7d\u3001\u6587\u4ef6\u590d\u5236\u3001\u79fb\u52a8\u3001\u5220\u9664\u3001\u5728\u7ebf\u7f16\u8f91\u3001\u56fe\u7247\u5728\u7ebf\u9884\u89c8\u3001\u76ee\u5f55\u538b\u7f29\u3001(zip\u3001tar.gz)\u89e3\u538b\u529f\u80fd\u3002<br \/>\n7.\u7b80\u6613WEB\u7248\u7ec8\u7aef<br \/>\n8.\u53ef\u9009\u7ec4\u5efaLNMP\u6216LAMP\u73af\u5883<br \/>\n9.\u652f\u6301\u4e00\u952e\u642d\u5efaSSL\u7ad9\u70b9<br \/>\n<strong>\u5b89\u88c5\u547d\u4ee4(\u7f16\u8bd1\u5b89\u88c5\uff0c\u7a33\u5b9a\u3001\u9002\u7528\u4e8e\u751f\u4ea7\u73af\u5883\uff0c\u8017\u65f6\u957f\uff0c\u7ea630\u5206\u949f\u52302\u5c0f\u65f6)\uff1a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">yum -y install screen wget &amp;&amp; screen -S bt\nwget -O install.sh http:\/\/download.bt.cn\/src\/install.sh &amp;&amp; sh install.sh\n<\/pre>\n<p><strong>\u5b89\u88c5\u547d\u4ee4(RPM\u5b89\u88c5\uff0c\u9002\u7528\u4e8e\u6d4b\u8bd5\u4f53\u9a8c\uff0c\u5b89\u88c5\u5feb\uff0c\u7ea65\u5206\u949f)\uff1a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">yum -y install screen wget &amp;&amp; screen -S bt\nwget -O install.sh http:\/\/103.224.251.79:5671\/rpm\/install.sh &amp;&amp; sh install.sh\n<\/pre>\n<p>\u9002\u5408\u5168\u65b0\u7684linux\u670d\u52a1\u5668\u4f7f\u7528\uff0c\u5df2\u7ecf\u88c5\u6709\u5176\u4ed6\u73af\u5883\u7684Linux\u670d\u52a1\u5668\u8bf7\u52ff\u5b89\u88c5\u3002<br \/>\n<strong>\u5b89\u88c5\u8bf4\u660e\uff1a<\/strong><br \/>\n1\u3001\u60a8\u53ef\u4ee5\u9009\u62e91\u4e2a\u6216\u591a\u4e2aPHP\u7248\u672c\uff0c\u8fdb\u884c\u5b89\u88c5\uff0c\u82e5\u9009\u4e867\u62168\uff0c\u521b\u5efa\u7f51\u7ad9\u65f6\u53ef\u4ee5\u9009\u62e9PHP\u7248\u672c<br \/>\n2\u3001\u82e5\u975e\u5fc5\u8981\uff0c\u4e0d\u5efa\u8bae\u5b89\u88c5MySQL5.7<br \/>\n3\u3001\u672c\u9762\u677f\u96c6\u6210\u73af\u5883\u4e3a\u6e90\u7801\u5b89\u88c5\u65b9\u5f0f\uff0c\u6839\u636e\u670d\u52a1\u5668\u6027\u80fd\u4e0d\u540c\uff0c\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u8017\u65f640 &#8211; 300\u5206\u949f<br \/>\n4\u3001\u82e5\u60a8\u9009\u62e9\u4e86\u5355\u4e2aPHP\u7248\u672c\uff0c\u5728\u9700\u8981\u7684\u60c5\u51b5\u4e0b\u53ef\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6dfb\u52a0PHP\u7248\u672c: sh \/www\/server\/install.sh add<br \/>\n5\u3001\u82e5\u60a8\u7f16\u8bd1\u5b8c\u53d1\u73b0\u9009\u9519\u4e86MySQL\u7248\u672c\uff0c\u65e0\u9700\u91cd\u88c5\uff0c\u53ef\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u91cd\u65b0\u7f16\u8bd1MySQL: sh \/www\/server\/install.sh mysql<br \/>\n<span style=\"color: #ff0000;\">6\u3001\u82e5\u60a8\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2dSSH\u4e2d\u65ad\uff0c\u91cd\u65b0\u8fde\u63a5\u540e\uff0c\u65e0\u9700\u91cd\u65b0\u5b89\u88c5\uff0c\u8f93\u5165 <\/span><span style=\"color: #0c0c0c;\">screen -r bt<\/span><span style=\"color: #ff0000;\"> \u5373\u53ef\u6062\u590d\u4e4b\u524d\u7684\u5b89\u88c5\u8fc7\u7a0b<\/span><br \/>\n7\u3001\u82e5\u60a8\u8981\u5bf9PHP\u6216Nginx\u6dfb\u52a0\u63d2\u4ef6\uff0c\u9700\u8981\u7528\u5230\u7f16\u8bd1\u5305\uff0c\u53ef\u5230\u5bf9\u5e94\u7684\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684src\u76ee\u5f55\u627e\u5230\u7f16\u8bd1\u5305<br \/>\n<strong>\u5e38\u7528\u547d\u4ee4\uff1a<\/strong><br \/>\nNginx\u670d\u52a1\u7ba1\u7406\uff1aservice nginx {start|stop|restart|reload}<br \/>\nApache\u670d\u52a1\u7ba1\u7406\uff1aservice httpd {start|stop|restart|reload}<br \/>\nMySQL\u670d\u52a1\u7ba1\u7406\uff1aservice mysqld {start|stop|restart|reload}<br \/>\nFTP\u670d\u52a1\u7ba1\u7406\uff1aservice pure-ftpd {start|stop|restart}<br \/>\nPHP\u670d\u52a1\u7ba1\u7406\uff1aservice php-fpm-{52|53|54|55|56|70} {start|stop|restart|reload}<br \/>\n\u5b9d\u5854\u63a5\u53e3\u670d\u52a1\u7ba1\u7406\uff1aservice yunclient {start|stop}<br \/>\n<strong>\u96c6\u6210WEB\u9762\u677f\uff1a<\/strong><br \/>\n\u6211\u4eec\u5df2\u7ecf\u96c6\u6210\u4e86\u4e00\u5957\u975e\u5e38\u597d\u7528\u7684\u9762\u677f\uff0c\u4f7f\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<br \/>\n\u9762\u677f\u5730\u5740\uff1ahttp:\/\/{\u60a8\u7684\u670d\u52a1\u5668IP}:888<br \/>\n\u521d\u59cb\u5316\uff1a\u7b2c\u4e00\u6b21\u4f7f\u7528\u4f1a\u8981\u6c42\u521d\u59cb\u5316\u914d\u7f6e\uff0c\u8bf7\u6309\u7167\u63d0\u793a\u586b\u5165\u914d\u7f6e\u4fe1\u606f<br \/>\n\u767b\u9646\uff1a\u76f4\u63a5\u4f7f\u7528\u521d\u59cb\u5316\u914d\u7f6e\u65f6\u586b\u5199\u7684\u5e10\u53f7\u53ca\u5bc6\u7801\u767b\u9646<br \/>\n\u9762\u677f\u529f\u80fd\uff1a\u7f51\u7ad9\u7ba1\u7406\u3001FTP\u7ba1\u7406\u3001\u6570\u636e\u5e93\u7ba1\u7406\u3001\u6587\u4ef6\u7ba1\u7406\u3001\u9632\u706b\u5899\u7ba1\u7406<br \/>\n<span style=\"color: red;\">\u6ce81\uff1a\u56e0\u9762\u677f\u6d89\u53ca\u6587\u4ef6\u7ba1\u7406\u529f\u80fd\uff0c\u8bf7\u5b89\u88c5\u5b8c\u540e\uff0c\u7acb\u5373\u5bf9\u9762\u677f\u8fdb\u884c\u521d\u59cb\u5316\uff0c\u5e76\u4e0d\u8981\u8bbe\u7f6e\u8fc7\u4e8e\u7b80\u5355\u7684\u5bc6\u7801\u3002<\/span><br \/>\n<span style=\"color: red;\">\u6ce82\uff1a\u867d\u7136\u6211\u4eec\u5df2\u5bf9\u7cfb\u7edf\u5173\u952e\u76ee\u5f55\u505a\u4e86\u4fdd\u62a4\uff0c\u4f46\u4f9d\u7136\u4e0d\u5efa\u8bae\u60a8\u5bf9\u7cfb\u7edf\u5173\u952e\u76ee\u5f55\u8fdb\u884c\u64cd\u4f5c\u3002<\/span><br \/>\n<strong>\u5982\u4f55\u5378\u8f7d\uff1a<\/strong><br \/>\n\u547d\u4ee4\uff1ash \/www\/server\/uninstall.sh<br \/>\n\u8b66\u544a\uff1a\u4f1a\u5378\u8f7d\u6240\u6709\u4f7f\u7528\u5b9d\u5854\u5b89\u88c5\u7684\u73af\u5883\u5305\uff0c\u4f1a\u81ea\u52a8\u5907\u4efd Nginx\u914d\u7f6e\u6587\u4ef6\u3001pure-ftpd\u6570\u636e\u5e93 \u3001MySQL\u6570\u636e\u5e93\u76ee\u5f55 \u5230 \/www\/backup\/oldServer \uff0c\u4f46\u4e0d\u786e\u4fdd\u5907\u4efd\u5b8c\u6574\u6027\uff0c\u5efa\u8bae\u5378\u8f7d\u524d\u81ea\u884c\u5907\u4efd\u6570\u636e\u3002<br \/>\n&nbsp;<\/p>\n<h2><strong>Beta\u7248 3.3\uff083\u670815\u65e5\u66f4\u65b0\uff09<\/strong><\/h2>\n<p>\u5b9d\u5854Linux\u9762\u677f3.3\u7248\u672c\u662f\u5b9d\u5854\u7528\u4e24\u5e74\u591a\u7684\u9762\u677f\u7814\u53d1\u7ecf\u9a8c\u4ee5\u53ca\u5386\u7ecf100\u591a\u4e2a\u7248\u672c\u7684\u8fed\u4ee3\uff0c\u6700\u65b0\u63a8\u51fa\u7684\u7a33\u5b9a\u7248\u672c\uff0c\u6240\u6709\u6a21\u5757\u4f7f\u7528Python\u7f16\u5199\uff0c\u66f4\u52a0\u7a33\u5b9a\u5b89\u5168\u3002\u5b9d\u5854Linux\u9762\u677f3.3\u7248\u672c2\u5206\u949f\u80fd\u88c5\u597d\uff0c\u53ef\u4ee5\u4e00\u952e\u7ba1\u7406\u60a8\u7684\u670d\u52a1\u5668\u3002<br \/>\n<strong>Linux\u9762\u677f3.3Beta\u5b89\u88c5\u811a\u672c\uff1a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">yum install -y wget &amp;&amp; wget -O install.sh http:\/\/download.bt.cn\/install\/install.sh &amp;&amp; sh install.sh\n<\/pre>\n<p>\u4f7f\u7528SSH \u8fde\u63a5\u5de5\u5177\uff0c\u6267\u884c\u4e0a\u9762\u6846\u5185\u547d\u4ee4\u5f00\u59cb\u5b89\u88c5\uff08\u5927\u7ea62\u5206\u949f\u5b8c\u6210\u9762\u677f\u5b89\u88c5\uff09<br \/>\n<strong>\u5907\u7528\u8282\u70b9\u3010\u4e0a\u6d77\u3011\uff1a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">yum install -y wget &amp;&amp; wget -O install.sh http:\/\/btsave1.oss-cn-shanghai.aliyuncs.com &amp;&amp; sh install.sh\n<\/pre>\n<p><strong>\u5907\u7528\u8282\u70b9\u3010\u9999\u6e2f\u3011\uff1a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">yum install -y wget &amp;&amp; wget -O install.sh http:\/\/btsave2.oss-cn-hongkong.aliyuncs.com\/install\/install.sh &amp;&amp; sh install.sh<\/pre>\n<p><strong>\u5907\u7528\u8282\u70b9\u3010\u7f8e\u56fd\u3011\uff1a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">yum install -y wget &amp;&amp; wget -O install.sh http:\/\/btsave3.oss-us-west-1.aliyuncs.com\/install\/install.sh &amp;&amp; sh install.sh<\/pre>\n<p><strong>\u547d\u4ee4\u884c\u7248\u672c\u66f4\u65b0\u65b9\u5f0f(\u5728\u7ebf\u66f4\u65b0\u5931\u6548\u65f6\u53ef\u4ee5\u4f7f\u7528)\uff1a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">wget -O update.sh http:\/\/www.bt.cn\/linux\/update.sh\nsh update.sh http:\/\/download.bt.cn\/install\/update\/LinuxPanel-3.3.0.zip<\/pre>\n<p><strong>\u5b89\u88c5\u8981\u6c42\uff1a<\/strong><br \/>\n\u5185\u5b58\uff1a128M\u4ee5\u4e0a\uff0c\u63a8\u8350512M\u4ee5\u4e0a\uff08\u7eaf\u9762\u677f\u7ea6\u5360\u7cfb\u7edf10M\u5185\u5b58\uff09<br \/>\n\u786c\u76d8\uff1a100M\u4ee5\u4e0a\u53ef\u7528\u786c\u76d8\u7a7a\u95f4\uff08\u7eaf\u9762\u677f\u7ea6\u536020M\u78c1\u76d8\u7a7a\u95f4\uff09<br \/>\n\u7cfb\u7edf\uff1a\u6682\u65f6\u53ea\u5bf9 CentOS 6.x \/ 7.x \u63d0\u4f9b\u652f\u6301\uff08\u6682\u4e0d\u652f\u6301 Ubuntu\u3001Debian\uff09\uff1b<br \/>\n\u786e\u4fdd\u662f\u5e72\u51c0\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6ca1\u6709\u5b89\u88c5\u8fc7\u5176\u5b83\u73af\u5883\u5e26\u7684Apache\/Nginx\/php\/MySQL<br \/>\n<strong>\u9762\u677f\u7279\u8272\u529f\u80fd\uff1a<\/strong><br \/>\n\u4e00\u952e\u914d\u7f6e\u670d\u52a1\u5668\u73af\u5883\uff08LANP\/LNMP\uff09<br \/>\n\u4e00\u952e\u5b89\u5168\u91cd\u542f<br \/>\n\u4e00\u952e\u521b\u5efa\u7ba1\u7406\u7f51\u7ad9\u3001ftp\u3001\u6570\u636e\u5e93<br \/>\n\u4e00\u952e\u914d\u7f6e\uff08\u5b9a\u671f\u5907\u4efd\u3001\u6570\u636e\u5bfc\u5165\u3001\u4f2a\u9759\u6001\u3001301\u3001SSL\u3001\u5b50\u76ee\u5f55\u3001\u53cd\u5411\u4ee3\u7406\u3001\u5207\u6362PHP\u7248\u672c\uff09<br \/>\n\u4e00\u952e\u5b89\u88c5\u5e38\u7528PHP\u6269\u5c55(fileinfo\u3001intl\u3001opcache\u3001imap\u3001memcache\u3001apc\u3001redis\u3001ioncube\u3001imagick)<br \/>\n\u6570\u636e\u5e93\u4e00\u952e\u5bfc\u5165\u5bfc\u51fa<br \/>\n\u7cfb\u7edf\u76d1\u63a7\uff08CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8IO\u3001\u7f51\u7edcIO\uff09<br \/>\n\u9632\u706b\u5899\u7aef\u53e3\u653e\u884c<br \/>\nSSH\u5f00\u542f\u4e0e\u5173\u95ed\u53caSSH\u7aef\u53e3\u66f4\u6539<br \/>\n\u7981PING\u5f00\u542f\u6216\u5173\u95ed<br \/>\n\u65b9\u4fbf\u9ad8\u6548\u7684\u6587\u4ef6\u7ba1\u7406\u5668\uff08\u4e0a\u4f20\u3001\u4e0b\u8f7d\u3001\u538b\u7f29\u3001\u89e3\u538b\u3001\u67e5\u770b\u3001\u7f16\u8f91\u7b49\u7b49\uff09<br \/>\n\u8ba1\u5212\u4efb\u52a1\uff08\u5b9a\u671f\u5907\u4efd\u3001\u65e5\u5fd7\u5207\u5272\u3001shell\u811a\u672c\uff09<br \/>\n\u8f6f\u4ef6\u7ba1\u7406\uff08\u4e00\u952e\u5b89\u88c5\u3001\u5378\u8f7d\u3001\u7248\u672c\u5207\u6362\uff09<br \/>\n<strong>\u9762\u677f\u7ba1\u7406\u5e38\u7528\u547d\u4ee4\uff1a<\/strong><br \/>\n\u5b9d\u5854 3.x \u670d\u52a1\u7ba1\u7406<br \/>\n#\u505c\u6b62<\/p>\n<pre class=\"prettyprint linenums\">service bt stop<\/pre>\n<p>#\u542f\u52a8<\/p>\n<pre class=\"prettyprint linenums\">service bt start<\/pre>\n<p>#\u91cd\u542f<\/p>\n<pre class=\"prettyprint linenums\">service bt restart<\/pre>\n<p>#\u5378\u8f7d3.x\u9762\u677f<\/p>\n<pre class=\"prettyprint linenums\">service bt stop &amp;&amp; chkconfig --del bt &amp;&amp; rm -f \/etc\/init.d\/bt &amp;&amp; rm -rf \/www\/server\/panel<\/pre>\n<p>#\u67e5\u770b\u5f53\u524d\u9762\u677f\u7aef\u53e3<\/p>\n<pre class=\"prettyprint linenums\">cat \/www\/server\/panel\/data\/port.pl<\/pre>\n<p>#\u547d\u4ee4\u884c\u4fee\u6539\u9762\u677f\u7aef\u53e3\uff0c\u5982\u8981\u6539\u62108881\uff08centos 6\uff09<\/p>\n<pre class=\"prettyprint linenums\">echo '8881' &gt; \/www\/server\/panel\/data\/port.pl &amp;&amp; service bt restart\niptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPT<\/pre>\n<p>#\u547d\u4ee4\u884c\u4fee\u6539\u9762\u677f\u7aef\u53e3\uff0c\u5982\u8981\u6539\u62108881\uff08centos 7\uff09<\/p>\n<pre class=\"prettyprint linenums\">echo '8881' &gt; \/www\/server\/panel\/data\/port.pl &amp;&amp; service bt restart\nfirewall-cmd --permanent --zone=public --add-port=8881\/tcp<\/pre>\n<p>#\u5f3a\u5236\u4fee\u6539MySQL\u7ba1\u7406(root)\u5bc6\u7801\uff0c\u5982\u8981\u6539\u6210123456<\/p>\n<pre class=\"prettyprint linenums\">cd \/www\/server\/panel &amp;&amp; python tools.pyc root 123456<\/pre>\n<p>#\u547d\u4ee4\u884c\u4fee\u6539\u9762\u677f\u5bc6\u7801\uff0c\u5982\u8981\u6539\u6210123456<\/p>\n<pre class=\"prettyprint linenums\">cd \/www\/server\/panel &amp;&amp; python tools.pyc panel 123456<\/pre>\n<p>#\u7ad9\u70b9\u914d\u7f6e\u6587\u4ef6\u4f4d\u7f6e<\/p>\n<pre class=\"prettyprint linenums\">\/www\/server\/panel\/vhost<\/pre>\n<p>#\u5220\u9664\u9762\u677f\u57df\u540d\u7ed1\u5b9a<\/p>\n<pre class=\"prettyprint linenums\">rm -f \/www\/server\/panel\/data\/domain.conf<\/pre>\n<p>#\u6e05\u7406\u767b\u9646\u9650\u5236<\/p>\n<pre class=\"prettyprint linenums\">rm -f \/www\/server\/panel\/data\/*.login<\/pre>\n<p>#\u7b2c\u4e09\u65b9\u5e94\u7528\u670d\u52a1\u540d\u79f0<br \/>\nnginx: nginx<br \/>\napache: httpd<br \/>\npure-ftpd: pure-ftpd<br \/>\nphp5.2: php-fpm-52<br \/>\nphp5.3: php-fpm-53<br \/>\nphp5.4: php-fpm-54<br \/>\n\u4ee5\u6b64\u7c7b\u63a8<br \/>\n#php.ini\u4f4d\u7f6e,\u5982php5.4\u7684<\/p>\n<pre class=\"prettyprint linenums\">\/www\/server\/php\/54\/etc\/php.ini<\/pre>\n<p>#my.cnf\u4f4d\u7f6e<\/p>\n<pre class=\"prettyprint linenums\">\/etc\/my.cnf<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2aVPS\u9762\u677f\u662f\u6211\u53bb\u5e74\u5e74\u5e95\u63a5\u89e6\u5230\u7684 \u4e4b\u524d\u7528\u7684\u963f\u91cc\u4e91\u7684\u4e91\u865a\u62df\u4e3b\u673a \u540e\u6765\u6362\u5230\u5883\u5916\u7684VPS\u7528\u7684AMH\u7684\u514d\u8d39\u7248\u5f00\u4e86SS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[27,95,118,151,229],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-vps","tag-bt-cn","tag-vps","tag-118","tag-151","tag-229"],"_links":{"self":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":0,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}