{"id":2682,"date":"2018-11-10T09:55:48","date_gmt":"2018-11-10T01:55:48","guid":{"rendered":"https:\/\/tao0.date\/?p=2682"},"modified":"2019-04-03T18:17:44","modified_gmt":"2019-04-03T10:17:44","slug":"new-server-setup","status":"publish","type":"post","link":"https:\/\/tao0.date\/?p=2682","title":{"rendered":"\u4e00\u5957\u5b8c\u6574\u89e3\u51b3\u65b9\u6848\u4e3a\u65b0\u670d\u52a1\u5668\uff08\u7cfb\u7edf\u5b89\u88c5\u3001\u5efa\u7ad9\u73af\u5883\u914d\u7f6e\u3001\u7f51\u7edc\u548c\u7cfb\u7edf\u4f18\u5316\u3001\u5b8c\u6574\u5907\u4efd\u8fd8\u539f\u8fc1\u79fb\u3001\u684c\u9762\u73af\u5883\u3001\u5de5\u5177\u5408\u96c6\uff09"},"content":{"rendered":"<h3>\u8ba9\u6211\u4eec\u5f00\u59cb<\/h3>\n<h4>Step 1. \u5982\u4f55\u6311\u9009\u53ef\u9760\u7a33\u5b9a\u7684\u670d\u52a1\u5668<\/h4>\n<p>\u8b66\u544a\uff1a\u4e0d\u8981\u5728\u7f51\u7ad9\u670d\u52a1\u5668\u8d39\u7528\u652f\u51fa\u4e0a\u8282\u7701\u8d44\u91d1\u3002\u7f51\u7ad9\u670d\u52a1\u5668\u9700\u8981\u7684\u662f\u7a33\u5b9a\u548c\u53ef\u9760\u3002\uff08\u5982\u679c\u4f60\u8282\u7701\uff0c\u4f60\u5c06\u4f1a\u652f\u4ed8\u66f4\u591a\uff0c\u751a\u81f3\u5931\u53bb\u4f60\u7684\u6570\u636e\u3002\uff09<\/p>\n<p>\u63a8\u8350\u9009\u62e9\u4ee5\u4e0b\u4e91\u5e73\u53f0\u670d\u52a1\u5546\uff0c\u4ed6\u4eec\u5c06\u4f1a\u7ed9\u4f60\u975e\u5e38\u68d2\u7684\u4f53\u9a8c\uff1a<br \/>\n<a href=\"https:\/\/cloud.google.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google Cloud<\/a>\u3001<a href=\"https:\/\/azure.microsoft.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Microsoft Azure Cloud<\/a>\u3001<a href=\"https:\/\/aws.amazon.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Amazon Web Services<\/a>\u3001<a href=\"https:\/\/www.ibm.com\/cloud\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">SoftLayer Cloud<\/a>\u3001<a href=\"https:\/\/www.alibabacloud.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Alibaba Cloud<\/a>\u3002\u4ee5\u53ca\u5176\u4ed6\u4f60\u7684\u56fd\u5bb6\u6700\u597d\u7684\u4e91\u670d\u52a1\u5e73\u53f0\u3002<\/p>\n<p>\u5176\u6b21\uff0c\u5982\u679c\u8d44\u91d1\u4e0d\u8db3\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9\u4ee5\u4e0b\u63a8\u8350\u7684VPS\uff1a<br \/>\n<a href=\"https:\/\/www.vultr.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Vultr<\/a>\u3001<a href=\"https:\/\/www.linode.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Linode<\/a>\u3001<a href=\"https:\/\/www.digitalocean.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">DigitalOcean<\/a>\u3001<a href=\"https:\/\/intl.cloud.tencent.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Tencent Cloud<\/a>\u3002\u4ee5\u53ca\u5176\u4ed6\u4f60\u7684\u56fd\u5bb6\u6700\u597d\u7684VPS\u5546\u5bb6\u3002<\/p>\n<p>\u95ee\uff1a\u4e3a\u4ec0\u4e48\u63a8\u8350\u8fd9\u4e9b\u5546\u5bb6\uff1f<br \/>\n\u7b54\uff1a\u56e0\u4e3a\u8fd9\u4e9b\u5546\u5bb6\u62e5\u6709\u591a\u5e74\u8fd0\u8425\u7ecf\u9a8c\uff0c\u5df2\u7ecf\u62e5\u6709\u5927\u89c4\u6a21\u7528\u6237\u3002\u540c\u65f6\uff0c\u4ed6\u4eec\u7684\u5e73\u53f0\u5747\u63d0\u4f9b\u4e86\u5feb\u7167\u6216\u8005\u6062\u590d\u6a21\u5f0f\uff0c\u65b9\u4fbf\u6211\u4eec\u670d\u52a1\u7684\u5907\u4efd\u6062\u590d\u548c\u8fc1\u79fb\u3002\u7a33\u5b9a\u7684\u670d\u52a1\u4fdd\u62a4\u4e86\u6211\u4eec\u7684\u6570\u636e\u5b89\u5168\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u5982\u679c\u4f60\u7684\u7f51\u7ad9\u5177\u6709\u7279\u5b9a\u654f\u611f\u4fe1\u606f\uff0c\u4f60\u9700\u8981\u9009\u62e9\u65e0\u7248\u6743\u670d\u52a1\u5668\uff0c\u4f8b\u5982\u7f57\u9a6c\u5c3c\u4e9a\u7b49\u56fd\u5bb6\u7684\u670d\u52a1\u5668\u3002<\/p>\n<p>\u8fd9\u91cc\u5206\u4eab\u51e0\u4e2aShell\u670d\u52a1\u5668\u6d4b\u8bd5\u5de5\u5177\uff1a<\/p>\n<p>UnixBench\u4e00\u952e\u8dd1\u5206\uff08\u7531teddysun.com\u63d0\u4f9b\uff09<br \/>\n<code>wget --no-check-certificate https:\/\/github.com\/teddysun\/across\/raw\/master\/unixbench.sh &amp;&amp; chmod +x unixbench.sh &amp;&amp; .\/unixbench.sh<\/code><\/p>\n<p>\u6d4b\u8bd5\u670d\u52a1\u5668\u6027\u80fd\uff08\u7531www.oldking.net\u63d0\u4f9b\uff09<br \/>\n<code>curl -Lso- https:\/\/raw.githubusercontent.com\/oooldking\/script\/master\/superbench.sh | bash<\/code><\/p>\n<p>\u4ec5\u6d4b\u8bd5\u670d\u52a1\u5668\u7f51\u7edc\u60c5\u51b5\uff08\u7531www.oldking.net\u63d0\u4f9b\uff09<br \/>\n<code>wget https:\/\/raw.githubusercontent.com\/oooldking\/script\/master\/superspeed.sh &amp;&amp; chmod +x superspeed.sh &amp;&amp; .\/superspeed.sh<\/code><\/p>\n<h4>Step 2. \u5982\u4f55\u6311\u9009\u7cfb\u7edf\u7248\u672c<\/h4>\n<p>\u8b66\u544a\uff1a\u4f60\u5e94\u8be5\u9009\u62e9\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u7cfb\u7edf\uff0c\u65e0\u8bba\u662fLinux\u8fd8\u662fWindows\u6216\u8005\u5176\u4ed6\u7cfb\u7edf\uff0c\u5e76\u4e14\u5b89\u88c5\u6700\u65b0\u5b89\u5168\u8865\u4e01\u3002\uff08\u4e0d\u8981\u9009\u62e9\u5f00\u53d1\u7248\uff09<\/p>\n<p>RedHat\/CentOS\u3001Debian\/Ubuntu\u3001Windows Server\u90fd\u88ab\u4f7f\u7528\u4e8e\u670d\u52a1\u5668\u4e0a\u3002<br \/>\n\u5176\u4e2dRedHat\/CentOS\u548cWindows Server\u901a\u5e38\u66f4\u591a\u5728\u4e2a\u4eba\u3001\u4f01\u4e1a\u548c\u653f\u5e9c\u5efa\u7ad9\u4e2d\u4f7f\u7528\u3002\u5bf9\u4e8e\u4e00\u4e9b\u4e2a\u4eba\u7ad9\u957f\uff0c\u4ed6\u4eec\u4f1a\u9009\u62e9\u66f4\u7b80\u6d01\u7684Debian\u548cUbuntu\u7cfb\u7edf\u3002\u6211\u63a8\u8350\u4f7f\u7528RedHat\/CentOS\u7cfb\u7edf\u3002<\/p>\n<p>\u95ee\uff1a\u5728\u9009\u62e9\u7cfb\u7edf\u4e0a\uff0c\u9664\u4e86\u4e0a\u9762\u4f60\u8bb2\u7684\u4e4b\u5916\u8fd8\u6709\u4ec0\u4e48\u9700\u8981\u6ce8\u610f\u7684\uff1f<br \/>\n\u7b54\uff1a\u4f60\u8fd8\u5e94\u8be5\u6839\u636e\u516c\u53f8\u9879\u76ee\u7684\u9700\u6c42\u9009\u62e9\uff0c\u4f8b\u5982\u4e00\u4e9b\u653f\u5e9c\u8f6f\u4ef6\u8981\u6c42\u8fd0\u884c\u4e8eWindwos Server\u4e0a\uff0c\u4ed6\u4eec\u9700\u8981MSSQL\u6216\u8005NET.\u6846\u67b6\uff0c\u4ed6\u4eec\u62e5\u6709\u5fae\u8f6f\u7684\u6574\u5957\u670d\u52a1\u63d0\u4f9b\u652f\u6301\uff0c\u56e0\u6b64\u4f60\u5fc5\u987b\u9009\u62e9Windwos Server\u3002<br \/>\n\u540c\u65f6\uff0c\u5f88\u591a\u5546\u4e1a\u8f6f\u4ef6\u90fd\u662f\u8981\u6c42\u5728RedHat\/CentOS\u4e0b\u4f7f\u7528\uff0c\u5176\u4ed6\u7cfb\u7edf\u662f\u4e0d\u88ab\u652f\u6301\u7684\u6216\u8005\u8f6f\u4ef6\u8fd0\u884c\u4e0d\u7a33\u5b9a\uff0c\u56e0\u6b64\u4f60\u5fc5\u987b\u9009\u62e9RedHat\/CentOS\u3002<br \/>\n\u5982\u679c\u4f60\u7684\u8d44\u91d1\u8db3\u591f\uff0c\u6211\u5efa\u8bae\u4f60\u8d2d\u4e70\u7ea2\u5e3d\u4f01\u4e1a\u670d\u52a1\u652f\u6301\u6216\u8005\u5fae\u8f6f\u670d\u52a1\u652f\u6301\u3002<\/p>\n<p>[\u63a8\u8350\u7cfb\u7edf]\u00a0<a href=\"https:\/\/tech.cxthhhhh.com\/linux\/2018\/07\/31\/original-network-one-click-reinstall-centos-7-official-pure-safe-efficient-cn.html\">[\u539f\u521b] \u4e00\u952e\u7f51\u7edc\u91cd\u88c5\u6700\u65b0CentOS 7 \uff08\u5b98\u65b9\uff0c\u7eaf\u51c0\uff0c\u5b89\u5168\uff0c\u9ad8\u6548\uff09<\/a><br \/>\n[\u4e3a\u4ec0\u4e48\u63a8\u8350\uff1f\u8fd9\u4e2a\u7cfb\u7edf\u7eaf\u51c0(\u907f\u514d\u4e86\u670d\u52a1\u5546\u7684\u76d1\u63a7\uff0c\u4f8b\u5982Alibaba Cloud\u3001Tencent Cloud\u7b49\u7b49)\uff0c\u5e76\u4e14\u9488\u5bf9\u4e0d\u540c\u673a\u5668\u4e4b\u95f4\u7684\u7cfb\u7edf\u5907\u4efd\u8fc1\u79fb\u505a\u4e86\u4f18\u5316\u3002\u7528\u4e8e\u65b9\u4fbf\u60a8\u540e\u7eed\u7684\u7ef4\u62a4\u4f7f\u7528\u3002](\u7531tech.cxthhhhh.com\u63d0\u4f9b)<\/p>\n<p>\u6709\u4e9b\u670d\u52a1\u5668\u4e0a\u7cfb\u7edf\u9ed8\u8ba4\u5206\u914d\u78c1\u76d8\u8f83\u5c0f\uff0c\u60a8\u9700\u8981\u624b\u52a8\u6269\u5bb9<\/p>\n<p><a href=\"https:\/\/tech.cxthhhhh.com\/linux\/2018\/07\/30\/original-how-to-expand-linux-hard-disk-lvm-disk-en.html\">[\u539f\u521b] \u5982\u4f55\u6269\u5c55Linux\u786c\u76d8\uff08LVM\u78c1\u76d8\uff09<\/a><\/p>\n<h4>Step 3. \u5982\u4f55\u4f18\u5316\u7cfb\u7edf\u548c\u7f51\u7edc<\/h4>\n<p>\u6211\u63d0\u4f9b\u7684\u8fd9\u5957\u89e3\u51b3\u65b9\u6848\u4e3b\u8981\u9488\u5bf9RedHat\/CentOS\u3002\u56e0\u6b64\u5168\u90e8\u901a\u8fc7\u6d4b\u8bd5\u5728\u6700\u65b0CentOS7.X\u3002<\/p>\n<p>\u4f60\u9700\u8981\u5f00\u542fSwap\u5185\u5b58\uff0c\u9632\u6b62\u7269\u7406\u5185\u5b58\u4e0d\u8db3\u5bfc\u81f4\u9519\u8bef\u3002<br \/>\n\u540c\u65f6\u4f60\u53ef\u4ee5\u5b89\u88c5\u4e00\u4e9b\u7f51\u7edc\u52a0\u901f\u8f6f\u4ef6\uff0c\u4f8b\u5982BBR\uff0cLotServer\u7b49\u3002<\/p>\n<p>\u8fd9\u91cc\u5206\u4eab\u51e0\u4e2aShell\u4f18\u5316\u5de5\u5177\uff1a<\/p>\n<p>1. \u4e00\u952e\u66f4\u6362\u5185\u6838\uff0c\u5b89\u88c5LotServer\u7f51\u7edc\u4f18\u5316\uff0c\u5f00\u542fTCP Fast Open\uff0c\u8bbe\u7f6e2GB Swap\u5185\u5b58\u3002(\u7531tech.cxthhhhh.com\u63d0\u4f9b)<br \/>\n<code>sudo curl -sSL https:\/\/raw.githubusercontent.com\/MeowLove\/AlibabaCloud-CentOS7-Pure-and-safe\/master\/download\/LotServer\/install.sh | sudo bash<\/code><\/p>\n<p>2. \u4e00\u952e\u5b89\u88c5\u6700\u65b0\u5185\u6838\uff0c\u5e76\u542f\u7528Google BBR\u534f\u8bae\u3002\uff08\u7531teddysun.com\u63d0\u4f9b\uff09<br \/>\n<code>wget --no-check-certificate https:\/\/github.com\/teddysun\/across\/raw\/master\/bbr.sh &amp;&amp; chmod +x bbr.sh &amp;&amp; .\/bbr.sh<\/code><\/p>\n<h4>Step 4. \u5982\u4f55\u914d\u7f6e\u670d\u52a1\u5668\u73af\u5883<\/h4>\n<p>\u8b66\u544a\uff1a\u5982\u679c\u4f60\u8d2d\u4e70\u7684\u5546\u4e1a\u8f6f\u4ef6\uff0c\u4ed6\u4eec\u516c\u53f8\u8981\u6c42\u60a8\u5b89\u88c5\u6307\u5b9a\u7cfb\u7edf\uff0c\u4f8b\u5982Redhat\uff0c\u90a3\u4e48\u60a8\u5fc5\u987b\u6309\u7167\u8f6f\u4ef6\u8bf4\u660e\u6587\u6863\u6765\u914d\u7f6e\u60a8\u7684\u670d\u52a1\u5668\u73af\u5883\u3002<\/p>\n<p>\u7f51\u7ad9\u73af\u5883\u914d\u7f6e\uff0c\u5177\u6709\u591a\u79cd\u65b9\u6848\u3002\u6536\u8d39\u7684\u548c\u514d\u8d39\u7684\u3002\u4f60\u9700\u8981\u9009\u62e9\u4f60\u6240\u4fe1\u4efb\u7684\u8f6f\u4ef6\u3002\uff08\u6211\u5c06\u66f4\u591a\u63a8\u8350\u7684\u662f\u5bf9\u4e2d\u6587\u8bed\u8a00\u652f\u6301\u53cb\u597d\u4e14\u66f4\u65b0\u7a33\u5b9a\u6709\u4fdd\u969c\u7684\u5efa\u7ad9\u73af\u5883\u7ba1\u7406\u8f6f\u4ef6\uff09<\/p>\n<p>\u4ed8\u8d39\u65b9\u6848\uff08\u5177\u6709GUI\uff09\uff1a<\/p>\n<p>1. cPanel\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/cpanel.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n2. Plesk\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u548cWindows\u652f\u6301]\u00a0[<a href=\"https:\/\/www.plesk.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n3. AMH\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/amh.sh\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n4. SolusVM\uff08\u5f53\u4f60\u642d\u5efa\u9500\u552e\u5e73\u53f0\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/solusvm.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n5. WHMCS\uff08\u5f53\u4f60\u642d\u5efa\u9500\u552e\u5e73\u53f0\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/www.whmcs.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n6. Virtualizor\uff08\u5f53\u4f60\u9500\u552e\u670d\u52a1\u5668\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/www.virtualizor.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<\/p>\n<p>\u514d\u8d39\u65b9\u6848\uff08\u5177\u6709GUI\uff09\uff1a<br \/>\n1. BT-\u5b9d\u5854\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u548cWindows\u652f\u6301]\u00a0[<a href=\"https:\/\/www.bt.cn\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n2. UPUPW ANK\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Windows\u652f\u6301]\u00a0[<a href=\"http:\/\/www.upupw.net\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n3. AppNode\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/www.appnode.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n4. VestaCP\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/vestacp.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n5. WDCP\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/www.wdlinux.cn\/wdcp\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n6. CyberPanel\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/cyberpanel.net\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n7. CentOS Web Panel\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"http:\/\/centos-webpanel.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n8. ISPConfig\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/www.ispconfig.org\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n9. Feathur\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/feathur.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n10. Proxmox\uff08\u5f53\u4f60\u9500\u552e\u670d\u52a1\u5668\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/www.proxmox.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<\/p>\n<p>\u514d\u8d39\u65b9\u6848\uff08\u6ca1\u6709GUI\u4ec5\u547d\u4ee4\uff09\uff1a<br \/>\n1. LNMP\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/lnmp.org\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n2. LAMP\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/lamp.sh\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n3. Caddy Web\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u548cWindows\u652f\u6301]\u00a0[<a href=\"https:\/\/caddyserver.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<br \/>\n4. OneinStack\uff08\u5f53\u4f60\u642d\u5efa\u7f51\u7ad9\u65f6\uff09[\u5177\u6709Linux\u652f\u6301]\u00a0[<a href=\"https:\/\/oneinstack.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u70b9\u51fb\u524d\u5f80<\/a>]<\/p>\n<p>\u6211\u901a\u5e38\u4f7f\u7528LNMP\u548c\u5b9d\u5854(aaPanel)\uff0c\u56e0\u6b64\u4ed6\u4eec\u7684\u4e00\u952e\u5b89\u88c5\u811a\u672c\u5728\u8fd9\u91cc\u3002<\/p>\n<p>\u5b9d\u5854\uff08aaPanel\uff09\u4e00\u952e\u5b89\u88c5<br \/>\n<code>yum install -y wget &amp;&amp; wget -O install.sh http:\/\/download.bt.cn\/install\/install.sh &amp;&amp; sh install.sh<\/code><\/p>\n<p>LNMP\u4e00\u952e\u5b89\u88c5<br \/>\n<code>wget http:\/\/soft.vpser.net\/lnmp\/lnmp1.5.tar.gz -cO lnmp1.5.tar.gz &amp;&amp; tar zxf lnmp1.5.tar.gz &amp;&amp; cd lnmp1.5 &amp;&amp; .\/install.sh lnmp<\/code><\/p>\n<p>\u5982\u679c\u60a8\u9700\u8981\u4e00\u952e\u5b89\u88c5Linux\u684c\u9762\u73af\u5883\u548cRDP\u8fdc\u7a0b\u8fde\u63a5<br \/>\n<a href=\"https:\/\/tech.cxthhhhh.com\/linux\/2018\/08\/08\/original-one-click-installation-of-desktop-environment-rdp-windows-support-for-linux-cn.html\">[\u539f\u521b] \u4e00\u952e\u5b89\u88c5\u684c\u9762\u73af\u5883\u3001RDP\u3001Windows\u652f\u6301\uff08For Linux\uff09<\/a><\/p>\n<h4>Step 5. \u5bf9\u7cfb\u7edf\u8fdb\u884c\u5b8c\u6574\u5907\u4efd<\/h4>\n<p>\u8b66\u544a\uff1a\u6570\u636e\u662f\u65e0\u4ef7\u4e14\u73cd\u8d35\u7684\uff0c\u4f60\u5fc5\u987b\u7ecf\u5e38\u5907\u4efd\u3002\u6211\u7684\u5efa\u8bae\uff1a\u81f3\u5c11\u4e00\u4e2a\u6708\u8fdb\u884c\u4e00\u6b21\u5b8c\u6574\u5907\u4efd\uff0c\u4e00\u5468\u8fdb\u884c\u4e00\u6b21\u589e\u91cf\u5907\u4efd\u6216\u5dee\u5f02\u5907\u4efd\u3002<\/p>\n<p>\u6211\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u4e00\u5957\u5907\u4efd\u8fd8\u539f\u65b9\u6848\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u3002<\/p>\n<p>1. \u5907\u4efd\u7cfb\u7edf<br \/>\n<a href=\"https:\/\/tech.cxthhhhh.com\/linux\/2018\/08\/03\/original-backup-restore-linux-system-complete-system-protect-data-environment-migration-cn.html\">[\u539f\u521b] \u6574\u673a\u5907\u4efd\/\u8fd8\u539fLinux\u7cfb\u7edf(\u5f02\u673a\u8fc1\u79fb\u3001\u4fdd\u62a4\u6570\u636e\u3001\u73af\u5883\u8fc1\u79fb)<\/a><\/p>\n<p>2. \u8fd8\u539f\u7cfb\u7edf<br \/>\n<a href=\"https:\/\/tech.cxthhhhh.com\/linux\/2018\/08\/02\/original-recovery-linux-system-recovery-backup-protection-data-server-migration.html\">[\u539f\u521b] \u6062\u590dLinux\u7cfb\u7edf\uff08\u6062\u590d\u5907\u4efd\uff0c\u4fdd\u62a4\u6570\u636e\uff0c\u670d\u52a1\u5668\u8fc1\u79fb\uff09<\/a><\/p>\n<p>\u6ce8\u610f\uff1a\u5f53\u4f60\u4f7f\u7528\u4e86\u6211\u63a8\u8350\u7684CentOS7\u65f6\uff0c\u5141\u8bb8\u60a8\u5728\u4e0d\u540c\u670d\u52a1\u5668\u4e4b\u95f4\u8fdb\u884c\u5907\u4efd\u8fd8\u539f\u3002\u5982\u679c\u4f7f\u7528\u5176\u4ed6\u7cfb\u7edf\uff0c\u60a8\u5219\u53ea\u80fd\u5728\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u5907\u4efd\u8fd8\u539f\u3002<\/p>\n<h4>Step 6. \u5176\u4ed6\u4e5f\u8bb8\u6709\u52a9\u4e8e\u60a8\u7684\u5de5\u5177<\/h4>\n<p>1. \u67e5\u770b\u7cfb\u7edf\u7248\u672c<br \/>\n<code>uname -a<\/code><br \/>\n<code>cat \/proc\/version<\/code><\/p>\n<p>2. \u67e5\u770b\u6240\u6709\u5df2\u5b89\u88c5\u5185\u6838\u7248\u672c<br \/>\n<code>rpm -qa | grep kernel<\/code><\/p>\n<p>3. \u4fee\u6539Linux\u7684DNS<br \/>\n<code>vim \/etc\/sysconfig\/network-scripts\/ifcfg-eth0<\/code><br \/>\nDNS1=1.1.1.1<br \/>\nDNS2=8.8.8.8<\/p>\n<p>4. \u4e00\u952e\u5b89\u88c5KMS\u670d\u52a1\u811a\u672c\uff08\u7531teddysun.com\u63d0\u4f9b\uff09<br \/>\n<code>wget --no-check-certificate https:\/\/github.com\/teddysun\/across\/raw\/master\/kms.sh &amp;&amp; chmod +x kms.sh &amp;&amp; .\/kms.sh<\/code><\/p>\n<p>5. \u4e00\u952e\u5b89\u88c5FFMPEG\uff08\u7531www.ffmpegtoolkit.com\u63d0\u4f9b\uff09<br \/>\n<code>yum install git wget -y &amp;&amp; cd \/opt &amp;&amp; git clone https:\/\/github.com\/hostsoft\/ffmpegtoolkit.git ffmpegtoolkit &amp;&amp; cd ffmpegtoolkit &amp;&amp; sh latest.sh<\/code><\/p>\n<p>6. \u67e5\u8be2\u786c\u76d8\u4f7f\u7528\u65f6\u957f(\u4e3b\u8981\u9488\u5bf9\u72ec\u7acb\u670d\u52a1\u5668\uff0cVPS\u6ca1\u610f\u4e49)<br \/>\n<code>yum install smartmontools -y<\/code><br \/>\n<code>smartctl -A \/dev\/sda<\/code><\/p>\n<p>7. Frp\u4e00\u952e\u5b89\u88c5\u811a\u672c\uff08\u5185\u7f51\u7a7f\u900f\u5229\u5668\uff09\uff08\u7531koolshare.cn\u7684clang\u5927\u4f6c\u63d0\u4f9b\uff09<br \/>\n<code>wget --no-check-certificate https:\/\/raw.githubusercontent.com\/clangcn\/onekey-install-shell\/master\/frps\/install-frps.sh -O .\/install-frps.sh &amp;&amp; chmod 700 .\/install-frps.sh &amp;&amp; .\/install-frps.sh install<\/code><\/p>\n<p>8. \u4e00\u952e\u5b89\u88c5Aria2+Ariang+Filemanager+H5ai\u7ba1\u7406\u811a\u672c\uff08\u7531teduis.com\u63d0\u4f9b\uff09<br \/>\n<code>wget --no-check-certificate https:\/\/raw.githubusercontent.com\/Thnineer\/Bash\/master\/aria2u.sh &amp;&amp; chmod +x aria2u.sh &amp;&amp; bash aria2u.sh<\/code><\/p>\n<p>9. Online.net\u673a\u5668\u914d\u7f6eIPV6\u4e00\u952e\u811a\u672c\uff08\u7531Github\u7528\u6237jxzy199306\u63d0\u4f9b\uff09<br \/>\n<code>sudo wget -O \/etc\/cxthhhhh.com\/ipv6-dhclient-script.sh https:\/\/raw.githubusercontent.com\/jxzy199306\/ipv6_dhclient_online_net\/master\/ipv6_dhclient_online_net.sh &amp;&amp; chmod +x \/etc\/cxthhhhh.com\/ipv6-dhclient-script.sh &amp;&amp; bash \/etc\/cxthhhhh.com\/ipv6-dhclient-script.sh<\/code><\/p>\n<p>10. \u4efb\u610f\u670d\u52a1\u5668\u914d\u7f6eIPV6\u6559\u7a0b\uff08\u7531tech.cxthhhhh.com\u63d0\u4f9b\uff09<br \/>\n<a href=\"https:\/\/tech.cxthhhhh.com\/linux\/2018\/07\/29\/original-configure-ipv6-for-the-server.html\">[Original] \u624b\u52a8\u7ed9\u4efb\u610f\u670d\u52a1\u5668\u914d\u7f6e IPV6<\/a><\/p>\n<p>11. \u4e00\u952e\u91cd\u88c5\u7eaf\u51c0CentOS 7\u811a\u672c \u65e0\u9700VNC\u3001\u65e0\u9700CD-ROM\u6302\u8f7d\uff08\u7531tech.cxthhhhh.com\u63d0\u4f9b\uff09<br \/>\n<a href=\"https:\/\/tech.cxthhhhh.com\/linux\/2018\/07\/31\/original-network-one-click-reinstall-centos-7-official-pure-safe-efficient-cn.html\">[\u539f\u521b] \u4e00\u952e\u7f51\u7edc\u91cd\u88c5CentOS 7 \uff08\u5b98\u65b9\uff0c\u7eaf\u51c0\uff0c\u5b89\u5168\uff0c\u9ad8\u6548\uff09<\/a><\/p>\n<p>12. Debian\/Ubuntu\/CentOS \u4e00\u952e\u91cd\u88c5\u811a\u672c\uff08\u7531moeclub.org\u63d0\u4f9b\uff09<br \/>\n<a href=\"https:\/\/moeclub.org\/2018\/04\/03\/603\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">[ Linux VPS ] Debian\/Ubuntu\/CentOS \u7f51\u7edc\u5b89\u88c5\/\u91cd\u88c5\u7cfb\u7edf\/\u7eaf\u51c0\u5b89\u88c5 \u4e00\u952e\u811a\u672c<\/a><\/p>\n<p>13. \u9b54\u6cd5\u559d\u5976\u5de5\u5177\uff08\u5177\u6709\u7279\u5b9a\u6027\uff0c\u56e0\u6b64\u4e0d\u63d0\u4f9b\u89e3\u91ca\uff0c\u5982\u679c\u4f60\u4e0d\u660e\u767d\u8bf7\u4e0d\u8981\u4f7f\u7528\uff09\uff08\u7531doub.io\u63d0\u4f9b\uff09<br \/>\n<code>wget -N --no-check-certificate https:\/\/raw.githubusercontent.com\/ToyoDAdoubi\/doubi\/master\/ssrmu.sh &amp;&amp; chmod +x ssrmu.sh &amp;&amp; bash ssrmu.sh<\/code><\/p>\n<p>14. \u5b89\u88c5Supervisor\u5b88\u62a4\u8fdb\u7a0b<br \/>\n<code>pip install supervisor\u00a0\/ yum install supervisor -y<\/code><br \/>\n<code>yum install python-setuptools<\/code><br \/>\n<code>easy_install supervisor<\/code><\/p>\n<p>15. \u4e00\u952e\u6e05\u9664Linux\u767b\u9646\u4fe1\u606f\u548c\u547d\u4ee4\u8f93\u5165\u4fe1\u606f<br \/>\n<code>echo &gt; \/var\/log\/wtmp<\/code><br \/>\n<code>echo &gt; \/var\/log\/btmp<\/code><br \/>\n<code>echo &gt; \/var\/log\/lastlog<\/code><br \/>\n<code>history -c<\/code><\/p>\n<p>16. \u91cd\u5efaGrub2\u542f\u52a8\u5f15\u5bfc(\u8bf7\u53c2\u7167\u60a8\u7684\u78c1\u76d8)<br \/>\nBIOS-Based \u5f15\u5bfc\u7684\u673a\u5668<br \/>\n<code>grub2-install device<\/code><br \/>\n<code>grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/code><br \/>\nUEFI-Based \u5f15\u5bfc\u7684\u673a\u5668<br \/>\n<code>yum reinstall grub2-efi shim<\/code><br \/>\n<code>grub2-mkconfig -o \/boot\/efi\/EFI\/redhat\/grub.cfg<\/code><\/p>\n<p>17. \u4fee\u6539Linux\u7cfb\u7edf\u9ed8\u8ba4\u8bed\u8a00<br \/>\n<code>localectl set-locale LANG=zh_CN.UTF8<\/code>\uff08\u4e2d\u6587\uff09<br \/>\n<code>localectl set-locale LANG=en_US.UTF-8<\/code>\uff08\u82f1\u6587\uff09<\/p>\n<p>18. V-2\u5c04\u7ebf\u4e00\u952e\u5b89\u88c5 for CentOS7\uff08\u5177\u6709\u7279\u5b9a\u6027\uff0c\u56e0\u6b64\u4e0d\u63d0\u4f9b\u89e3\u91ca\uff0c\u5982\u679c\u4f60\u4e0d\u660e\u767d\u8bf7\u4e0d\u8981\u4f7f\u7528\uff09\uff08\u7531Github\u7528\u6237233boy\u63d0\u4f9b\uff09<br \/>\n<code>yum install curl git-core -y &amp;&amp; git clone https:\/\/github.com\/233boy\/v2ray &amp;&amp; cd v2ray &amp;&amp; chmod +x install.sh &amp;&amp; .\/install.sh local<\/code><\/p>\n<p>19. \u4e00\u952e\u5b89\u88ddCpuLimit\uff08\u7531Github\u7528\u6237opsengine\u63d0\u4f9b\uff09<br \/>\n<code>wget -O cpulimit.zip https:\/\/github.com\/opsengine\/cpulimit\/archive\/master.zip &amp;&amp; unzip cpulimit.zip &amp;&amp; cd cpulimit-master &amp;&amp; make &amp;&amp; cp src\/cpulimit \/usr\/bin<\/code><\/p>\n<p>20. \u5982\u4f55\u914d\u7f6eSwap\u9875\u9762\u6587\u4ef6\uff082GB\u865a\u62df\u5185\u5b58\uff09<br \/>\n<code>dd if=\/dev\/zero of=\/var\/swap bs=1024 count=2097152<\/code><br \/>\n<code>mkswap \/var\/swap<\/code><br \/>\n<code>chmod 0644 \/var\/swap<\/code><br \/>\n<code>swapon \/var\/swap<\/code><br \/>\n<code>echo '\/var\/swap swap swap default 0 0' &gt;&gt; \/etc\/fstab<\/code><\/p>\n<p>21. Linux\u4e0b\u901a\u8fc7\u7ec8\u7aef\u8fde\u63a5\u5176\u4ed6SSH\u670d\u52a1\u5668<br \/>\n<code>ssh \u7528\u6237\u540d@IP<\/code><br \/>\n\u4f8b\u5982\uff08<code>ssh\u00a0root@8.8.8.8<\/code>\uff09<br \/>\n\u8f93\u5165\u8fdc\u7aef\u7528\u6237\u7684\u5bc6\u7801\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8ba9\u6211\u4eec\u5f00\u59cb Step 1. \u5982\u4f55\u6311\u9009\u53ef\u9760\u7a33\u5b9a\u7684\u670d\u52a1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":3362,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-2682","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-34"],"_links":{"self":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts\/2682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2682"}],"version-history":[{"count":0,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts\/2682\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/media\/3362"}],"wp:attachment":[{"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}