<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>偶得小站</title><link>https://400400.xyz/</link><description>Good Luck To You!</description><item><title>解决360浏览器开机启动的情况</title><link>https://400400.xyz/post/57.html</link><description>&lt;article class=&quot;joe_detail__article&quot; style=&quot;margin: 0px; padding: 15px 0px 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; font-size: 15px; word-break: break-word; color: var(--routine); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, Arial, sans-serif; white-space: normal;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 18px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; line-height: 26px;&quot;&gt;360浏览器开机自动启动，自动启动项目也没有，可看一下Windows的设置，是不是开启了这个选项，这个选项一般会导致出现类似浏览器自启动的现象（该选项仅在v2004及以后版本出现）。具体如图：&lt;br style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;&lt;span data-fancybox=&quot;Joe&quot; href=&quot;https://400400.xyz/zb_users/upload/2022/04/20220423154515_87913.jpg&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; display: block;&quot;&gt;&lt;img src=&quot;https://400400.xyz/zb_users/upload/2022/04/20220423154515_87913.jpg&quot; alt=&quot;360浏览器开机启动，麻烦题主看一下Windows的设置，是不是开启了这个选项，这个选项一般会导致出现类似浏览器自启动的现象（该选项仅在v2004及以后版本出现）.jpg&quot; title=&quot;360浏览器开机启动，麻烦题主看一下Windows的设置，是不是开启了这个选项，这个选项一般会导致出现类似浏览器自启动的现象（该选项仅在v2004及以后版本出现）.jpg&quot; style=&quot;margin: 0px auto; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; border: 0px; vertical-align: middle; display: block; max-width: 100%; border-radius: var(--radius-inner); transition: transform 0.35s ease 0s, box-shadow 0.35s ease 0s, -webkit-transform 0.35s ease 0s; cursor: zoom-in; transform: translateY(-5px); box-shadow: rgba(136, 161, 206, 0.3) 0px 34px 20px -24px;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/article&gt;&lt;div class=&quot;joe_detail__agree&quot; style=&quot;margin: 0px 0px 15px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; justify-content: center; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, Arial, sans-serif; white-space: normal;&quot;&gt;&lt;div class=&quot;agree&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; text-align: center; font-size: 12px; color: var(--minor); user-select: none;&quot;&gt;&lt;div class=&quot;icon&quot; style=&quot;margin: 0px 0px 8px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(245, 108, 108); cursor: pointer;&quot;&gt;&lt;svg class=&quot;icon-1&quot; viewbox=&quot;0 0 1024 1024&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;28&quot; height=&quot;28&quot;&gt;&lt;path d=&quot;M736 128c-65.952 0-128.576 25.024-176.384 70.464-4.576 4.32-28.672 28.736-47.328 47.68L464.96 199.04C417.12 153.216 354.272 128 288 128 146.848 128 32 242.848 32 384c0 82.432 41.184 144.288 76.48 182.496l316.896 320.128C450.464 911.68 478.304 928 512 928s61.568-16.32 86.752-41.504l316.736-320 2.208-2.464C955.904 516.384 992 471.392 992 384c0-141.152-114.848-256-256-256z&quot; fill=&quot;#fff&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;svg class=&quot;icon-2 active&quot; viewbox=&quot;0 0 1024 1024&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;28&quot; height=&quot;28&quot;&gt;&lt;path d=&quot;M512 928c-28.928 0-57.92-12.672-86.624-41.376L106.272 564C68.064 516.352 32 471.328 32 384c0-141.152 114.848-256 256-256 53.088 0 104 16.096 147.296 46.592 14.432 10.176 17.92 30.144 7.712 44.608-10.176 14.432-30.08 17.92-44.608 7.712C366.016 204.064 327.808 192 288 192c-105.888 0-192 86.112-192 192 0 61.408 20.288 90.112 59.168 138.688l315.584 318.816C486.72 857.472 499.616 863.808 512 864c12.704.192 24.928-6.176 41.376-22.624l316.672-319.904C896.064 493.28 928 445.696 928 384c0-105.888-86.112-192-192-192-48.064 0-94.08 17.856-129.536 50.272l-134.08 134.112c-12.512 12.512-32.736 12.512-45.248 0s-12.512-32.736 0-45.248L562.24 196c48.32-44.192 109.664-68 173.76-68 141.152 0 256 114.848 256 256 0 82.368-41.152 144.288-75.68 181.696l-317.568 320.8C569.952 915.328 540.96 928 512 928z&quot; fill=&quot;#fff&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;&lt;span class=&quot;text&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;text&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;joe_detail__operate&quot; style=&quot;margin: 0px 0px 15px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; color: var(--routine); display: flex; align-items: center; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, 微软雅黑, Arial, sans-serif; white-space: normal;&quot;&gt;&lt;div class=&quot;joe_detail__operate-tags&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; flex: 1 1 0%; display: flex; align-items: center; overflow-x: auto;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 23 Apr 2022 15:44:42 +0800</pubDate></item><item><title>[转]开启腾讯版的BBR-TCPA安装教程</title><link>https://400400.xyz/post/56.html</link><description>&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;PingFang SC&amp;quot;, Tahoma, Arial, sans-serif; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;;&quot;&gt;腾讯TEG操作系统组发布了免费的TCPA加速程序&lt;/span&gt;，&lt;span style=&quot;box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;;&quot;&gt;众所周知,BBR目前使用量巨大，甚至有小伙伴开发了BBR 暴力版、BBR 暴力魔改版、BBR plus版等等。目前也有朋友用&lt;/span&gt;锐速&lt;span style=&quot;box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;;&quot;&gt;，但是锐速有断流情况，这个不推荐。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;PingFang SC&amp;quot;, Tahoma, Arial, sans-serif; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;我这里也直接说结论。&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; color: #FF0000;&quot;&gt;BBR各版本中 BBR PLUS效果最好&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;PingFang SC&amp;quot;, Tahoma, Arial, sans-serif; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;;&quot;&gt;一、鹅厂自评的结果&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;PingFang SC&amp;quot;, Tahoma, Arial, sans-serif; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #555555; font-family: &amp;quot;Microsoft Yahei&amp;quot;;&quot;&gt;1.BBR算法相比标准的TCP的cubic算法，性能提升明显。小文件差异不大；大文件的下载性能明显，约35%左右。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; 2.TCPA的启用，外加系统参数优化后， 大小文件均比标准的TCP提升40%以上。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; 3.TCPA的启用，外加系统参数优化后，小文件比BBR能提升40%以上，大文件比BBR能提升5%~10%。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;好了，闲话少叙，下面开始教大家安装腾讯的TCPA 。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;二、&lt;span style=&quot;box-sizing: border-box;&quot;&gt;腾讯的TCPA安装教程&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;目前仅支持centos系统，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;安装TCPA很简单，只有几句命令&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-size: 12px; margin-top: 20px; margin-bottom: 20px; padding: 10px 15px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); white-space: pre-wrap; overflow-wrap: break-word; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 20px; font-family: &amp;quot;courier new&amp;quot;; overflow: auto; color: rgb(248, 248, 212); word-break: break-all; background-color: rgb(39, 40, 34); border: none; border-radius: 4px;&quot;&gt;yum&amp;nbsp;-y&amp;nbsp;install&amp;nbsp;net-tools
wget&amp;nbsp;https://d.kxxzz.com/sh/kernel-3.10.0-693.5.2.tcpa06.tl2.x86_64.rpm
rpm&amp;nbsp;-ivh&amp;nbsp;kernel-3.10.0-693.5.2.tcpa06.tl2.x86_64.rpm&amp;nbsp;--force
reboot&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;此时vps会重启，静待重启之后&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-size: 12px; margin-top: 20px; margin-bottom: 20px; padding: 10px 15px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); white-space: pre-wrap; overflow-wrap: break-word; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 20px; font-family: &amp;quot;courier new&amp;quot;; overflow: auto; color: rgb(248, 248, 212); word-break: break-all; background-color: rgb(39, 40, 34); border: none; border-radius: 4px;&quot;&gt;wget&amp;nbsp;https://d.kxxzz.com/sh/tcpa_packets_180619_1151.tar.bz2
tar&amp;nbsp;jxvf&amp;nbsp;tcpa_packets_180619_1151.tar.bz2
cd&amp;nbsp;tcpa_packets
sh&amp;nbsp;install.sh
cd&amp;nbsp;/usr/local/storage/tcpav2
sh&amp;nbsp;start.sh&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;值得注意的是，TCPA目前默认仅加速80、443、8080这三个端口。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;PS： 不想麻烦的朋友，可以使用一键脚本&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-size: 12px; margin-top: 20px; margin-bottom: 20px; padding: 10px 15px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); white-space: pre-wrap; overflow-wrap: break-word; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 20px; font-family: &amp;quot;courier new&amp;quot;; overflow: auto; color: rgb(248, 248, 212); word-break: break-all; background-color: rgb(39, 40, 34); border: none; border-radius: 4px;&quot;&gt;wget&amp;nbsp;https://d.kxxzz.com/sh/tcpa.sh
chmod&amp;nbsp;+x&amp;nbsp;tcpa.sh
sh&amp;nbsp;tcpa.sh&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;重启后安装自动完成,lsmod|grep tcpa查看是否开启成功。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;通过HTML5 speedtest可以看到。腾讯的TCPA带宽利用率并没有BBR plus高。没有BBR PLUS那么暴力！&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; margin: 18px 0px; padding: 10px 0px; border-width: 0px 0px 1px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: solid; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: rgb(234, 234, 234); border-left-color: rgb(234, 96, 0); border-image: initial; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; font-size: 18px; line-height: 1.1; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); white-space: normal; color: rgb(85, 85, 85); background-color: rgb(255, 255, 255);&quot;&gt;网页打开速度测试&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2022/04/20220423100420_59679.gif&quot; data-source=&quot;https://400400.xyz/zb_users/upload/2022/04/20220423100420_59679.gif&quot; class=&quot;js-lightbox&quot; data-group=&quot;group-1&quot; data-id=&quot;one&quot; style=&quot;box-sizing: border-box; margin: 5px 0px; padding: 0px; border: 0px; vertical-align: middle; font-family: inherit; font-style: inherit; outline: 0px; box-shadow: rgb(221, 221, 221) 0px 0px 6px 3px; max-width: 90%; height: 261px; display: block; width: 544px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;网页整体完成时间是1.9s。这相比BBR PLUS，网页打开速度减少了接近1半！&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;，使用了TCPA，完全加载完成仅需1.9s.&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;这相比BBR PLUS，进步了不少！&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;三、总结&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;对于建站用户来说，TCPA比BBR PLUS更香，更好用。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(85, 85, 85); word-break: break-all; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 15px; white-space: normal; overflow-wrap: break-word; background-color: rgb(255, 255, 255);&quot;&gt;但是你如果用于看视频等大带宽的应用，还是BBR PLUS更适合你！&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; font-family: inherit; font-style: inherit; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all;&quot;&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Heiti SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 15px; text-indent: 30px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 23 Apr 2022 10:03:47 +0800</pubDate></item><item><title>win10更新1803版后只有edge浏览器能上网，其他360、猎豹等浏览器无法上网的解决办法</title><link>https://400400.xyz/post/55.html</link><description>&lt;p&gt;&amp;nbsp; &amp;nbsp; win10更新1803版后只有edge浏览器能上网，其他如猎豹、360等浏览器的急速模式下，只要是带有https的网址，打开任何页面都是”正在建立安全连接“，都是一直在加载缓慢或直接无法打开，我也在网上查了好多办法，什么重置“WinSock目录”、安装Windows相关功能组件、重置dns都统统无效。最后终于找到了解决的方法和大家一起分享。亲测有效哦。方法如下：&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 近期，工程师收到大量反馈360浏览器，极速模式无法打开网页，兼容模式无此问题。IE浏览器和Edge都正常。&lt;br/&gt;下面的解决办法仅限于Win10系统，有如上现象。&lt;br/&gt;&amp;nbsp; &amp;nbsp; 为了方便操作，下面这个是win10浏览器修复工具，下载链接：&lt;a href=&quot;https://400400.xyz/zb_users/upload/2018/09/201809282314122394499.zip&quot; title=&quot;win10浏览器修复工具.zip&quot; style=&quot;color: rgb(0, 102, 204);&quot;&gt;win10浏览器修复工具.zip&lt;/a&gt;(1.78 MB)&lt;/p&gt;&lt;p&gt;下载后解压，右键“win10浏览器修复工具.exe”点“以管理员权限运行”，点“修复”&lt;br/&gt;&lt;br/&gt;&amp;nbsp; &amp;nbsp; 手动解决办法：Root整个键值成功删掉过一次即可，如果还有问题都是因为没有成功删掉过一次，（以后再生成的不会影响使用）&lt;br/&gt;&lt;br/&gt;步骤1、&lt;br/&gt;（1）打开注册表，点开始菜单，点运行，输入regedit.exe后回车&lt;br/&gt;（2）找到注册表键值HKEY_CURRENT_USER\Software\Microsoft\SystemCertificates\Root，右键Root点删除，点“是”，点“确定”&lt;br/&gt;（3）如果有残留键值ProtectedRoots&lt;br/&gt;（4）右键ProtectedRoots点“权限”，（如果有弹窗，点重新排序，不是每台电脑都会遇到），把所有用户名（下图4个，有的是6个）都设置成完全控制权限，点确定，右键ProtectedRoots，点删除，如下图&lt;br/&gt;（5）如果有其他残留键值，比如Certificates键值，设置成完全控制权限后删除&lt;br/&gt;（6）右键Root点权限，设置成完全控制权限后删除&lt;br/&gt;（7）如果出现“无法保存对ProtectedRoots 权限所作的更改”，请用步骤2的方式删除&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://400400.xyz/zb_users/upload/2018/09/201809282312557540336.png&quot; alt=&quot;1.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;步骤2、&lt;br/&gt;主要原因有：继承不都是“无”。&lt;br/&gt;（1）点控制面板，点“账户”，可以查当前账户是什么，比如“张三&lt;br/&gt;（2）右键ProtectedRoots点“权限”，点“高级”，找到“所有者”，如下图所有者是Administrator，点右边的“更改”，出现界面后，点高级，点立即查找，找到本地账户，找到“张三”，（一般不需要修改)&lt;br/&gt;（3）&lt;span style=&quot;color: #FF0000;&quot;&gt;确认“继承于”一栏都设置成“无”。&lt;/span&gt;有的电脑是“父对象”、“CURRENT_USER\Softwar...”，左键点中那一栏，点“禁用继承”，弹出框点“将已继承的权限转换为此对象的显式权限”，如下图&lt;br/&gt;（4）&lt;span style=&quot;color: #FF0000;&quot;&gt;“访问”一栏都设置成“完全控制”。&lt;/span&gt;左键选中那一栏，点编辑，勾选“完全控制”，点确定&lt;br/&gt;（5）右键ProtectedRoots删除（如果不行，一定是上面步骤有地方没设置对，重复步骤2）&lt;br/&gt;（6）删除Root键值，同上，确认“继承于”一栏都设置成“无”，访问”一栏都设置成“完全控制”，再右键Root删除&lt;br/&gt;&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;img src=&quot;https://400400.xyz/zb_users/upload/2018/09/201809282313268135471.png&quot; alt=&quot;2.png&quot;/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;解决办法二、&lt;br/&gt;工程师排查发现和系统补丁有关，链接：https://support.microsoft.com/en-us/help/4103721，可以重装下Win10系统解决。&lt;/p&gt;</description><pubDate>Fri, 28 Sep 2018 23:06:31 +0800</pubDate></item><item><title>介紹好用工具：Cmder ( 具有 Linux 溫度的 Windows 命令提示字元工具 )</title><link>https://400400.xyz/post/54.html</link><description>&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;在前端工程師的&lt;a href=&quot;http://baike.baidu.com/view/8316896.htm&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;鄙視鍊&lt;/a&gt;中， Windows 一直以來都被 Mac OS X 的人所鄙視，我覺得其中有個癥結點在於 Mac OS X 的 Terminal 下可以做的事情很多，而且又與 Unix-like 的作業系統相容，很多指令都可以共用，又有很多 Shell 可以安裝，確實比 Windows 的命令提示字元 ( Command Prompt ) 或 PowerShell 來的方便許多。由於我個人也越來越常在 Windows 平台使用前端開發相關工具，因此也越來越常用命令提示字元進行指令列操作，直到最近把&amp;nbsp;&lt;a href=&quot;http://gooseberrycreative.com/cmder/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;cmder&lt;/a&gt;&amp;nbsp;裝起來玩，我的 Windows 才開始有了點 Linux 的溫度，本篇文章就讓我來好好介紹&amp;nbsp;&lt;a href=&quot;http://gooseberrycreative.com/cmder/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;cmder&lt;/a&gt;&amp;nbsp;這套前端工程師的逆天神器吧！&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; line-height: 1.1; color: rgb(51, 51, 51); margin-top: 20px; margin-bottom: 10px; font-size: 20px; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體, Lato, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif !important;&quot;&gt;安裝 cmder&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;先到&amp;nbsp;&lt;a href=&quot;http://gooseberrycreative.com/cmder/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;cmder&lt;/a&gt;&amp;nbsp;官網 (&amp;nbsp;&lt;a title=&quot;http://cmder.net/&quot; href=&quot;http://cmder.net/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;http://cmder.net/&lt;/a&gt;&amp;nbsp;) 下載此工具，基本上 cmder 並沒有安裝檔，他就是一個壓縮檔，下載回來解壓縮就能使用，你甚至可以放到 USB 就可以雖時帶著走，連調整過的設定都會放在這個目錄下，不會用到系統機碼 (Registry)，所以也很適合放在 Dropbox / Google Drive / OneDrive 共享於多台電腦。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;下載的時候，有兩個版本，分別是 mini 與 full 版，唯一的差別在於有沒有內建 msysgit 工具，這是&amp;nbsp;&lt;a href=&quot;http://git-scm.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Git for Windows&lt;/a&gt;&amp;nbsp;的標準配備，裡面不僅僅有 Git 工具程式，其實還包含了一些 Linux 環境下常用的工具程式，例如 less, grep, tar, unzip, grep, sed, … 等等，如果你確定電腦已經有安裝&amp;nbsp;&lt;a href=&quot;http://git-scm.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Git for Windows&lt;/a&gt;&amp;nbsp;的話，可以直接下載 mini 版即可。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213431_48744.png&quot; width=&quot;519&quot; height=&quot;294&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;解壓縮之後如下圖示，點擊&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Cmder.exe&lt;/strong&gt;&amp;nbsp;即可啟動程式：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213432_95933.png&quot; width=&quot;496&quot; height=&quot;277&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;你也可以將 Cmder 安裝路徑加入到 PATH 使用者環境變數中，方便在任意命令提示字元模式下自動啟動 Cmder 程式。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; line-height: 1.1; color: rgb(51, 51, 51); margin-top: 20px; margin-bottom: 10px; font-size: 20px; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體, Lato, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif !important;&quot;&gt;首次使用微調&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;蠻多人第一次使用 Cmder 的時候都會遇到以下問題（如下圖示），這是因為目前 Cmder 預設會啟動 PowerShell 主控台 (Console)，但 Windows 內建的 PowerShell 預設的 ExecutionPolicy 是 AllSigned，也就是任何沒有簽章的 PowerShell 指令檔都是不允許執行的，而 Cmder 在啟動的時候需要執行一些初始化命令，但卻被 PowerShell 阻擋了。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213433_38144.png&quot; width=&quot;678&quot; height=&quot;492&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;解決這個問題很簡單，只要輸入以下指令修改 ExecutePolicy 的預設值即可：&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;上述命令執行完畢後，你可以嘗試按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Alt+Shift+2&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;在 Cmder 內再開啟一個新的 PowerShell Console，今後開啟 Cmder 就不會再看到錯誤了。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;不過，像我通常習慣開啟「命令提示字元」主控台，所以我都會修改 Cmder 的預設值，讓每次開啟 Cmder 都直接進入傳統的「命令提示字元」主控台，其設定方式如下：&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Win+Alt+P&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;開啟選項設定。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;切換到 Startup 頁籤，設定 Specified named task 並選取&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;{cmd}&lt;/strong&gt;，然後儲存設定。如下圖示：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213434_71843.png&quot; width=&quot;644&quot; height=&quot;478&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;第三個微調工作，則是我發現的一個問題，因為 Cmder 修改了預設的命列列提示符號，改用&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color:#0000ff;font-family:Consolas;box-sizing: border-box;&quot;&gt;λ&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;符號（如下圖示）&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213435_32073.png&quot; width=&quot;678&quot; height=&quot;137&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;用這個字元是蠻酷的，不過卻引發「畫面殘留文字」的問題，打指令的時候只要輸入 5 個字元以上，當你按下 Ctrl+Z 復原輸入就會讓畫面上殘留一些刪除不掉的文字。如下圖示：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213436_59045.png&quot; width=&quot;678&quot; height=&quot;120&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;上述殘留文字問題，只要按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+L&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;或輸入&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;cls&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;命令清空畫面就可以解決，但還是有點惱人，所以我會將這個字元改成 Mac / Linux 環境下常見的&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;$&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;符號。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;請編輯 Cmder 安裝目錄下的&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;vendor\init.bat&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;檔案，只到第 12 行，把：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;@prompt $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m&lt;span style=&quot;color:#ff0000;box-sizing: border-box;&quot;&gt;{lamb}&lt;/span&gt;$S$E[0m&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;修改成以下即可：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;@prompt $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m&lt;span style=&quot;color:#ff0000;box-sizing: border-box;&quot;&gt;$$&lt;/span&gt;$S$E[0m&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;第四個微調工作則是將&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+W&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;快速鍵關閉，因為 Cmder 預設將&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+W&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;設定為關閉目前主控台，不過我們在 Linux 環境下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+W&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;主要是用來刪除一段文字用的，這功能被拿掉就真的礙手礙腳了，所以建議將此快速鍵關閉。&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Win+Alt+P&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;開啟選項設定。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;切換到 Keys &amp;amp; Macro 頁籤，找到 Close active console 並把 hotkey 給清除掉即可。如下圖示：&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213437_27334.png&quot; width=&quot;644&quot; height=&quot;478&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; line-height: 1.1; color: rgb(51, 51, 51); margin-top: 20px; margin-bottom: 10px; font-size: 20px; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體, Lato, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif !important;&quot;&gt;介紹 cmder 畫面功能&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;cmder 功能極為強大，功能也非常多，但從視窗畫面上看不太出其強大實力，我們就先來介紹「看的見」的功能，本文稍後再來介紹其他特性。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213437_47886.png&quot; width=&quot;652&quot; height=&quot;531&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;如上圖示編號的部分說明如下：&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;可以利用&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+T&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;建立新頁籤，利用&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+W&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;關閉頁籤，還可以透過&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+Tab&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;切換頁籤，跟一般瀏覽器頁籤操作習慣一致。&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Alt+F4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;： 關閉所有頁籤&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Alt+Shift+1&lt;/strong&gt;&lt;/span&gt;： 開啟 cmd.exe&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Alt+Shift+2&lt;/span&gt;&lt;/strong&gt;： 開啟 powershell.exe&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Alt+Shift+3&lt;/span&gt;&lt;/strong&gt;： 開啟 powershell.exe (系統管理員權限)&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;： 快速切換到第 1 個頁籤 Ctrl + 2 ： 快速切換到第 2 個頁籤&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;： 快速切換到第 n 個頁籤 ( n 值無上限 )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可在視窗內搜尋畫面上出現過的任意關鍵字。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;新增頁籤按鈕，可透過滑鼠新增頁籤。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;切換頁籤按鈕，可透過滑鼠切換頁籤。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;鎖定視窗，讓視窗無法再輸入。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;切換視窗是否提供卷軸功能，啟動時可查詢之前顯示過的內容。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;按下滑鼠左鍵可開啟系統選單，滑鼠右鍵可開啟工具選項視窗。&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Win+Alt+P&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;： 開啟工具選項視窗&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; line-height: 1.1; color: rgb(51, 51, 51); margin-top: 20px; margin-bottom: 10px; font-size: 20px; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體, Lato, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif !important;&quot;&gt;關於 cmder 的元件組成&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;cmder 其實結合了多套軟體，其中包括&amp;nbsp;&lt;a href=&quot;https://github.com/msysgit/msysgit&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;msysgit&lt;/a&gt;&amp;nbsp;與最重要的&amp;nbsp;&lt;a href=&quot;http://conemu.github.io/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;ConEmu&lt;/a&gt;&amp;nbsp;與&amp;nbsp;&lt;a href=&quot;http://mridgers.github.io/clink/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Clink&lt;/a&gt;&amp;nbsp;軟體，而&amp;nbsp;&lt;a href=&quot;http://conemu.github.io/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;ConEmu&lt;/a&gt;&amp;nbsp;與&amp;nbsp;&lt;a href=&quot;http://mridgers.github.io/clink/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Clink&lt;/a&gt;&amp;nbsp;這兩套軟體就是 cmder 真正的核心元件。&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/msysgit/msysgit&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;msysgit&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;除了提供 Git for Windows 相關工具外，其實還提供了多套 Unix/Linux 環境下常用的指令列工具，例如 less, ls, tar, unzip, md5sum, grep, sed, … 等多套工具。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;光是一個 grep 就不知道比 Windows 內建的 findstr 強幾百倍了！&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://conemu.github.io/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;ConEmu&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://conemu.github.io/en/TableOfContents.html&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Documentation&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://conemu.github.io/en/Settings.html&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Settings pages&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://conemu.github.io/en/Whats_New.html&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;What&amp;#39;s New&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;改變視窗大小變得非常容易 (原本的命令提示字元改變視窗大小很麻煩，而且限制很多)&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;額外加上了頁籤 (Tabs) 功能&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可自訂 cmder 剛啟動時的預設頁籤屬性&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可輸入&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Alt+Enter&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;將視窗設為全螢幕，再按一次&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Alt+Enter&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;就會復原回原本的視窗大小&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可設定字形反鋸齒選項：Standard, ClearType, Disabled&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;自訂模擬器的顯示字型 ( Windows Fonts )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支援正體中文顯示!&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支援用鍵盤控制卷軸，其快速鍵與 Linux 終端機模式下的快速鍵一致。&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Shift+PgUp&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;： 往上捲動一頁&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Shift+PgDown&lt;/strong&gt;&lt;/span&gt;： 往下捲動一頁&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支援滑鼠的&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;文字選取&lt;/strong&gt;與&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;區塊選取&lt;/strong&gt;功能&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可設定視窗透明度&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;文字選取&lt;/strong&gt;：直接用滑鼠在畫面上選字就可以選取，選取的文字會自動複製到剪貼簿。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;區塊選取&lt;/strong&gt;：先按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Alt&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;鍵在用滑鼠在畫面上選字就可以進行區塊選取，選取的文字會自動複製到剪貼簿。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;ConEmu 是一套 Windows 主控台模擬器 (console emulator)，其背後其實隱含了一個真正的 Windows 命令提示字元視窗，只是被隱藏起來而已，原本命令提示字元中的訊息都會轉送到模擬器上，並且輸出到 ConEmu 自己的主控台顯示，因此使用者感覺不出差異，但事實上你在視窗上打的字、輸入的快速鍵，都是在 ConEmu 自己的視窗上作業的，你在視窗上輸入的文字與指令也都是他幫你把輸入的結果傳到背後隱藏的 Windows 命令提示字元視窗而已。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;ConEmu 也提供了許多能夠自由客製化的設定，我大概摘要一些重要功能如下：&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;完整功能請自行參閱文件&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://mridgers.github.io/clink/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Clink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/mridgers/clink/blob/master/docs/clink.md&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;clink/clink.md at master · mridgers/clink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;執行&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;vendor\clink\clink.bat&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;即可啟用 Clink 功能。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;以系統管理員身分執行&amp;nbsp;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;vendor\clink\clink.bat autorun -i&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;可將 Clink 自動注入到 Cmd.exe 之中。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;如要移除 Clink 綁定，可執行&amp;nbsp;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;vendor\clink\clink.bat autorun -u&amp;nbsp;&lt;/strong&gt;即可。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+V&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;： 貼上剪貼簿中的文字內容&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+Z&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;： 復原輸入 ( Undo )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+Alt+U&lt;/span&gt;&lt;/strong&gt;： 回上一層 ( 等於幫你輸入了&amp;nbsp;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;cd ..&lt;/span&gt;&amp;nbsp;命令，超方便的 )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Alt+H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;： 顯示所有快速鍵清單&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+LeftKey&amp;nbsp; ( ← )&lt;/span&gt;&lt;/strong&gt;：鍵盤游標可向左移動一個字&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+RightKey ( → )&lt;/span&gt;&lt;/strong&gt;：鍵盤游標可向右移動一個字&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+A&lt;/span&gt;&lt;/strong&gt;：鍵盤游標直接移到最左邊（最前面）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+E&lt;/span&gt;&lt;/strong&gt;：鍵盤游標直接移到最右邊（最後面）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+H&lt;/span&gt;&lt;/strong&gt;：等同於 Backspace 按鍵&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;ESC&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;：清除目前輸入的整行&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+Alt+J&lt;/span&gt;&lt;/strong&gt;：將指令輸入切換至 vim 模式 (進階用法，不會用 vim 的人不要用喔)&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;：在 vim 模式可按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+E&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;切換回預設模式 (Emacs)&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;所有行內編輯功能幾乎與 Bash 操作一模一樣！&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+R&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;就��以開始搜尋之前輸入過的指令 ( 天啊，跟 Bash 一樣，好貼心喔 )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;鍵盤輸入 “Tab” 就會自動完成打到一半的指令或參數&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;輸入命令到一半時，輸入 “Tab” 會自動顯示可能的命令清單，所有在 PATH 環境變數下的那些目錄全部都會搜尋出來，超實用啊！&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支援執行檔、檔案名稱、目錄名稱的自動完成&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支援環境變數自動完成 ( 輸入&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;%user&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;按 Tab 鍵兩下就會提供所有 user 開頭的環境變數名稱 )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支援第三方工具的參數自動完成功能，例如&amp;nbsp;&lt;a href=&quot;http://git-scm.com/&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Git&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://mercurial.selenic.com/&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Mercurial&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://subversion.apache.org/&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;SVN&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://golang.org/&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Go&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.perforce.com/&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;P4&lt;/a&gt;&amp;nbsp;(Perforce),&amp;nbsp;&lt;a href=&quot;https://www.npmjs.com/&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;npm&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://chocolatey.org/&quot; rel=&quot;nofollow&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Chocolatey&lt;/a&gt;, … 等等，如果不夠用還可以自行擴充 。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Clink 將 GNU Readline 函式庫整合進原生的 Windows 命令提示字元視窗，提供命令列模式下強大的編輯與輸入能力，這也是用了 cmder 之後會這麼像在 Linux 環境下使用的感覺。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;GNU Readline 函式庫提供的非常豐富的指令自動完成功能 ( auto-completion )、查詢歷史指令 ( history )、基本行內編輯功能 ( line-editing capabilities )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;自動完成功能 ( auto-completion )&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;查詢歷史指令&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;基本行內編輯功能 (line-editing capabilities)&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;支援多種鍵盤快速鍵使用&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Clink 可以直接跟原生的 Cmd.exe 搭配使用&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;完整功能請自行參閱文件&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; line-height: 1.1; color: rgb(51, 51, 51); margin-top: 20px; margin-bottom: 10px; font-size: 20px; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體, Lato, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif !important;&quot;&gt;其他功能&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;除了上述功能外，Cmder 還增加了&amp;nbsp;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;alias&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;功能，可以讓你就像在 Linux 底下那樣設定許多常指令的別名 ( Alias )，讓你用短短的指令執行一些常見但指令超長又難以記憶的語法。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213438_65543.png&quot; width=&quot;678&quot; height=&quot;540&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;像我常會需要在命令提示字元下開啟檔案總管並且自動瀏覽到當前目錄，以往我都會打&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color:#0000ff;font-family:Consolas;box-sizing: border-box;&quot;&gt;start .&lt;/span&gt;&lt;/strong&gt;開啟目錄，我就自己建立了一個&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color:#0000ff;font-family:Consolas;box-sizing: border-box;&quot;&gt;e.&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;別名命令，以後只要打&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color:#0000ff;font-family:Consolas;box-sizing: border-box;&quot;&gt;e.&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;就可以開啟檔案總管，超棒的啊！ ^_^&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img title=&quot;&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180925213439_75544.png&quot; width=&quot;678&quot; height=&quot;328&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;最後還有主控台文字自動放大縮小功能，你只要按下&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;font-family:Consolas;box-sizing: border-box;&quot;&gt;Ctrl+滑鼠滾輪&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;就可以辦到，如果你用支援兩點觸控的筆電，也可以在觸控板上用兩指放大的手勢調整文字大小。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style=&quot;box-sizing: border-box; line-height: 1.1; color: rgb(51, 51, 51); margin-top: 20px; margin-bottom: 10px; font-size: 20px; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體, Lato, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif !important;&quot;&gt;心得分享&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;想當年在玩 Linux 的時候，很多棘手的工作都可以透過簡單的指令完成，相較於 Windows 平台就很少有這種體驗，大多還是要靠其他人寫好的 GUI 工具才能快速解決問題，像我之前就曾經分享過&amp;nbsp;&lt;a href=&quot;https://blog.miniasp.com/post/2008/01/30/Useful-tool-grepWin.aspx&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;grepWin&lt;/a&gt;、&lt;a href=&quot;https://blog.miniasp.com/post/2011/01/08/Useful-tool-Everything-Search-Engine.aspx&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(66, 139, 202); text-decoration-line: none;&quot;&gt;Everything Search Engine&lt;/a&gt;&amp;nbsp;工具，這些工具在 Linux 底下老早就有相對應的 grep, locate 等工具可以輔助，但 Windows 就一直沒有內建。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &amp;quot;Segoe UI&amp;quot;, 微軟正黑體; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;遇到 Cmder 之後，終於找回當年玩 Linux 打指令時的熟悉感，你也一起試試吧！ ^_^&lt;/p&gt;</description><pubDate>Tue, 25 Sep 2018 21:33:37 +0800</pubDate></item><item><title>2017公共DNS服务器评估报告——公共DNS推荐</title><link>https://400400.xyz/post/53.html</link><description>&lt;div class=&quot;exp-content-block&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;exp-content-body&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;DNS在平时上网中扮演重要角色，如果不注意DNS的话，可能会导致网速慢、弹窗广告、网址打不开、打开不是自己想要的网站、劫持、墙中墙等一系列问题。针对DNS的问题，今天我们就来总结一下，看看哪个DNS服务器最好用！注意：本测试仅通过奇云测对服务器进行综合测试，具体使用情况请以用户本地为主。&lt;a href=&quot;https://laod.cn/tag/%e5%85%ac%e5%85%b1dns/&quot; title=&quot;查看与 公共DNS 相关的文章&quot; target=&quot;_blank&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(50, 136, 211); text-decoration-line: none; -webkit-tap-highlight-color: rgba(255, 0, 0, 0);&quot;&gt;公共DNS&lt;/a&gt;请自行判断，如不需要可以使用ISP默认分配的DNS。&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;a href=&quot;https://400400.xyz/zb_users/upload/2018/09/20180924164923_11035.png&quot; class=&quot;fancybox&quot; data-fancybox-group=&quot;button&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(50, 136, 211); text-decoration-line: none; -webkit-tap-highlight-color: rgba(255, 0, 0, 0);&quot;&gt;&lt;img class=&quot;alignnone wp-image-3519 size-full&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180924164923_11035.png&quot; alt=&quot;2017公共DNS服务器评估报告——公共DNS推荐&quot; width=&quot;742&quot; height=&quot;493&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin: 0px auto; outline: 0px; padding: 0px; vertical-align: middle; display: block;&quot;/&gt;&lt;/a&gt;&lt;/p&gt;&lt;h2 style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(228, 0, 0); border-image: initial; font-family: inherit; font-size: 1.7rem; font-style: inherit; margin: 10px -21px; outline: 0px; padding: 0px 44px; vertical-align: baseline; line-height: 32.3px;&quot;&gt;DNS各地延迟排行榜（主）&lt;/h2&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: inherit; font-style: inherit; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px;&quot;&gt;&lt;/span&gt;&lt;h4 id=&quot;title-0&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-size: 1.6rem; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em;&quot;&gt;DNSPod DNS+：★★★★★（推荐）&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;DNSPod的&amp;nbsp;Public&amp;nbsp;DNS+是目前国内第一家支持ECS的&lt;a href=&quot;https://laod.cn/tag/%e5%85%ac%e5%85%b1dns/&quot; title=&quot;查看与 公共DNS 相关的文章&quot; target=&quot;_blank&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(50, 136, 211); text-decoration-line: none; -webkit-tap-highlight-color: rgba(255, 0, 0, 0);&quot;&gt;公共DNS&lt;/a&gt;，是DNSPod推出的公共域名解析服务，可以为全网用户提供域名的公共递归解析服务！&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选：119.29.29.29&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选：182.254.116.116&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：测试数据显示Public&amp;nbsp;DNS+国内数据均比114DNS好，强力推荐！&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px; color: #444444; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 id=&quot;title-1&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;114DNS：★★★★★&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;国内用户量巨大的DNS，访问速度快，各省都有节点，同时满足电信、联通、移动各运营商用户，可以有效预防劫持。&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选：114.114.114.114&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选：114.114.115.115&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：虽然测试结果比不上Public&amp;nbsp;DNS+理想，但是也是非常不错的DNS！&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px; color: #444444; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 id=&quot;title-2&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;阿里 AliDNS：★★★★&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;阿里公共DNS是阿里巴巴集团推出的DNS递归解析系统，目标是成为国内互联网基础设施的组成部分，面向互联网用户提供“快速”、“稳定”、“智能”的免费DNS递归解析服务。&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选：223.5.5.5&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选：223.6.6.6&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：排名第三的DNS也不是吹的，只是节点貌似有点少。&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px; color: #444444; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 id=&quot;title-3&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;DNS派：★★★★&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;DNS派是聚流科技旗下的DNS服务平台,为个人用户、网站主、企业提供各种有关DNS业务的服务,包括个人上网的域名解析服务、网站授权解析服务、企业域名解析服务等。&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选（电信/移动/铁通）：101.226.4.6&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选（电信/移动/铁通）：218.30.118.6&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选（联通）：123.125.81.6&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选（联通）：140.207.198.6&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：360出品！测试结果还不错！&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px; color: #444444; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 id=&quot;title-4&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;百度 BaiduDNS：★★★&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;百度DNS旗下云解析服务,依托百度一流基础设施和强大技术实力,为用户提供免费的、超越竞品的服务体验。没有套餐区分,安全,稳定,高效&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选：180.76.76.76&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：暂时不知道百度有多少节点。不过应该也不少吧。&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px; color: #444444; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 id=&quot;title-5&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;CNNIC SDNS：★★★&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;SDNS是由中国互联网络信息中心(CNNIC)正式推出的免费的公共云解析服务(SecureDNS,简称SDNS)。该服务可为广大网民提供安全、智能、高速的上网接入解析服务。&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选：1.2.4.8&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选：210.2.4.8&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：作为国家出品的DNS，有待测试……（你敢用吗？反正我不敢）&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px; color: #444444; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 id=&quot;title-6&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;OpenDNS：★（不推荐）&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;OpenDNS是一个免费的域名解析服务提供商（DNS）。创建于2006年，长期以来致力于为广大个人用户以及商务企业用户和公共领域提供免费的域名解析服务。&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选：208.67.222.222&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选：208.67.220.220&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：国内节点少！貌似就几个，不推荐使用！&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;directory&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: #3690CF; border-image: initial; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 8px -21px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; height: 30px; color: #444444; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 id=&quot;title-7&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 41.6px; text-indent: 2em; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;Google DNS：★（强烈不推荐）&lt;/h4&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;谷歌公共域名解析服务（Google Public DNS）是由谷歌公司于2009年发布的一项新的DNS服务。主要为了替代ISPs或其他公司提供的DNS服务。&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;DNS 服务器 IP 地址：&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;首选：8.8.8.8&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;备选：8.8.4.4&lt;br style=&quot;box-sizing: inherit;&quot;/&gt;作者点评：机房在国外，国内无节点！你如果用了谷歌DNS你的信息有可能会免费出国转一圈才回来！强烈不推荐使用！只适合国外用户使用！&lt;/p&gt;&lt;div class=&quot;exp-content-block&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, Tahoma, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(68, 68, 68); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;exp-content-body&quot; style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;h2 class=&quot;exp-content-head&quot; style=&quot;box-sizing: inherit; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-left-style: solid; border-top-color: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: rgb(228, 0, 0); border-image: initial; font-family: inherit; font-size: 1.7rem; font-style: inherit; margin: 10px -21px; outline: 0px; padding: 0px 44px; vertical-align: baseline; line-height: 32.3px;&quot;&gt;最后总结&lt;/h2&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;本测试结果受用户地区和DNS技术提供商的服务器等不同因素影响。建议用户在选择DNS时可以依照本排行，ping不同dns服务商的首选DNS地址，一般是哪个延迟最低用哪个。不同地区我也不好发言。&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin-top: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;建议不要使用运营商默认的DNS，因为运营商经常劫持。&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 24 Sep 2018 16:48:21 +0800</pubDate></item><item><title>BBR+BBR魔改+Lotsever(锐速)一键脚本 for Centos/Debian/Ubuntu</title><link>https://400400.xyz/post/52.html</link><description>&lt;p&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;测试VPS：&lt;/span&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;Vultr 纽约节点&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;VPS系统：&lt;/span&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;Debian 8 x64&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;本地网络：&lt;/span&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;湖南电信100M&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;加速脚本：&lt;/span&gt;&lt;a href=&quot;https://www.94ish.me/1635.html&quot; target=&quot;_blank&quot; style=&quot;word-wrap: break-word; color: rgb(51, 102, 153); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;千影一键脚本&lt;/a&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;前言：最近一直在折腾加速问题，之前用过&lt;/span&gt;&lt;a href=&quot;https://github.com/dlxg/YankeeBBR&quot; target=&quot;_blank&quot; style=&quot;word-wrap: break-word; color: rgb(51, 102, 153); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;YankeeBBR大佬的BBR魔改脚本&lt;/a&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;，测试时用过新加坡/洛杉矶/纽约节点&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;不知道是我网络地址问题还是VPS节点原因，新加坡和洛杉矶节点看油管视频，&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;速度只有2-4M/s，后来换纽约节点后，看油管视频速度有5-8M/s，IDM下载速度最高可达7-11M/s&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;（具体还得大家自己多换几个节点来测试，最终选择最适合自个的）&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;font-size:24px;word-wrap: break-word;&quot;&gt;安装：&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;Linux-NetSpeed（代码和文件都已经备份保存到&lt;/span&gt;&lt;a href=&quot;https://github.com/dlxg/Linux-NetSpeed&quot; target=&quot;_blank&quot; style=&quot;word-wrap: break-word; color: rgb(51, 102, 153); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;我的github&lt;/a&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;里面了，有兴趣的朋友也可以自行保存备份一下&lt;/span&gt;&lt;a href=&quot;https://github.com/dlxg/Linux-NetSpeed&quot; target=&quot;_blank&quot; style=&quot;word-wrap: break-word; color: rgb(51, 102, 153); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;https://github.com/dlxg/Linux-NetSpeed&lt;/a&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;）&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color:Red;word-wrap: break-word;&quot;&gt;支持系统：Centos 6+/Debian 8+/Ubuntu 14+&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;（经过测试BBR魔改版不支持Debian 7）&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;运行以下命令：&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;/p&gt;&lt;div class=&quot;blockcode&quot; style=&quot;word-wrap: break-word; overflow: hidden; margin: 10px 0px; padding: 10px 0px 5px 10px; background: url(&amp;quot;https://www.hostloc.com/static/image/common/codebg.gif&amp;quot;) 0px 0px repeat-y rgb(247, 247, 247); color: rgb(102, 102, 102); zoom: 1; border: 1px solid rgb(204, 204, 204); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal;&quot;&gt;&lt;div id=&quot;code_d9C&quot; style=&quot;word-wrap: break-word;&quot;&gt;&lt;ol style=&quot;word-wrap: break-word; margin-left: 10px !important; padding: 0px !important;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wget -N --no-check-certificate &amp;quot;https://raw.githubusercontent.com/dlxg/Linux-NetSpeed/master/tcp.sh&amp;quot; &amp;amp;&amp;amp; chmod +x tcp.sh &amp;amp;&amp;amp; ./tcp.sh&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;span style=&quot;word-wrap: break-word; margin-left: 43px; font-size: 12px; cursor: pointer; color: #336699 !important;&quot;&gt;复制代码&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;font-size:18px;word-wrap: break-word;&quot;&gt;使用说明：&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;使用脚本后会出现如下选项：&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;img id=&quot;aimg_Gf49K&quot; class=&quot;zoom&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180923203524_63760.png&quot; border=&quot;0&quot; alt=&quot;&quot; width=&quot;363&quot; height=&quot;359&quot; style=&quot;word-wrap: break-word; cursor: pointer; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;根据自己需求操作，重启后再使用&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blockcode&quot; style=&quot;word-wrap: break-word; overflow: hidden; margin: 10px 0px; padding: 10px 0px 5px 10px; background: url(&amp;quot;https://www.hostloc.com/static/image/common/codebg.gif&amp;quot;) 0px 0px repeat-y rgb(247, 247, 247); color: rgb(102, 102, 102); zoom: 1; border: 1px solid rgb(204, 204, 204); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal;&quot;&gt;&lt;div id=&quot;code_ilg&quot; style=&quot;word-wrap: break-word;&quot;&gt;&lt;ol style=&quot;word-wrap: break-word; margin-left: 10px !important; padding: 0px !important;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;./tcp.sh&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;span style=&quot;word-wrap: break-word; margin-left: 43px; font-size: 12px; cursor: pointer; color: #336699 !important;&quot;&gt;复制代码&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;命令接着操作。&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;word-wrap: break-word; font-weight: 700; color: #444444; font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; background-color: #FFFFFF;&quot;&gt;脚本会自动检测安装的情况，请注意脚本菜单下的状态检测即可。&lt;br style=&quot;word-wrap: break-word;&quot;/&gt;&lt;br style=&quot;word-wrap: break-word;&quot;/&gt;如果在删除内核环节出现这样一张图，注意选择&lt;span style=&quot;color:Red;word-wrap: break-word;&quot;&gt;NO&lt;/span&gt;，然后根据提示重启系统。&lt;/span&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;br style=&quot;word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;img id=&quot;aimg_V9BLl&quot; class=&quot;zoom&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180923203524_15502.png&quot; border=&quot;0&quot; alt=&quot;&quot; width=&quot;600&quot; height=&quot;277&quot; style=&quot;word-wrap: break-word; cursor: pointer; color: rgb(68, 68, 68); font-family: Tahoma, &amp;quot;Microsoft Yahei&amp;quot;, Simsun; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 23 Sep 2018 20:34:53 +0800</pubDate></item><item><title>Linux centos 远程SSH默认22端口修改为其他端口</title><link>https://400400.xyz/post/51.html</link><description>&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;手动修改SSH的默认端口：&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1，控制SSH访问端口的文件为&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #002060;&quot;&gt;&amp;nbsp;/etc/ssh/sshd_config&lt;/span&gt;&amp;nbsp;。&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;因此，编辑SSH配置文件sshd_config：&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #FF0000;&quot;&gt;#vi /etc/ssh/sshd_config&lt;/span&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2，查找到 Port=22字段，将其前面的注释去掉：&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;strong style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #002060;&quot;&gt;#Port 22&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #002060;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//将注释符#去掉&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; #AddressFamily any&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;#ListenAddress 0.0.0.0&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; #ListenAddress ::&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3，在这行下面再加同样的一行，端口号改为自己准备修改后的端口：&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Port 22&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #002060;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;strong style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;&gt;Port 2022&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; //新增一行，增加修改后的端口号&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;#AddressFamily any&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;#ListenAddress 0.0.0.0&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; #ListenAddress ::&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4，修改保存后，重启SSH服务：&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #FF0000;&quot;&gt;#/etc/init.d/sshd restart&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//或者&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #FF0000;&quot;&gt;#service sshd restart&lt;/span&gt;&amp;nbsp;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5，如果还不通访问，需要关闭防火墙：&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #FF0000;&quot;&gt;#/etc/init.d/iptables&amp;nbsp;stop&lt;/span&gt;&amp;nbsp;&amp;nbsp; //或者&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #FF0000;&quot;&gt;#service iptables stop&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;或者在防火墙过滤规则中上增加一条，允许对新增的端口2022的访问：&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #FF0000;&quot;&gt;#vi /etc/sysconfig/iptables&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;新增一条策略，放通端口2022：&lt;br style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:INPUT ACCEPT [0:0]&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:FORWARD ACCEPT [0:0]&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:OUTPUT ACCEPT [0:0]&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-A INPUT -p icmp -j ACCEPT&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-A INPUT -i lo -j ACCEPT&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; max-width: 100%; word-break: break-all; color: #002060;&quot;&gt;-A INPUT -m state --state NEW -m tcp -p tcp --dport 2022 -j ACCEPT&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-A INPUT -j REJECT --reject-with icmp-host-prohibited&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-A FORWARD -j REJECT --reject-with icmp-host-prohibited&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;COMMIT&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;6、查看2022端口是否开放：netstat -an|grep 2022&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp;netstat -nlpt | grep ssh 看看验证下ssh服务端口号是否修改。（此步可省略）&lt;/p&gt;&lt;p style=&quot;font-family: -apple-system, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, sans-serif; -webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0.7rem; padding: 0px; max-width: 100%; word-break: break-all; color: rgb(61, 70, 77); line-height: 1.8; word-wrap: break-word; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;这样，就可以通过2022远程访问linux主机了。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 16 Sep 2018 08:54:43 +0800</pubDate></item><item><title>设置宝塔面板优化php服务器性能</title><link>https://400400.xyz/post/50.html</link><description>&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;提高 php 服务器性能的办法有很多，但是对于已经安装了宝塔面板的服务器而言就相对简单多了，今天魏艾斯博客就把如何通过设置宝塔面板来提高服务器性能的过程写下来，希望能帮到初次使用宝塔面板的朋友们。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;群里面很多朋友初次接触 php 环境和宝塔面板，而且很多人用 avada、The 7、newspaper、Enfold、Betheme、 Richer 等耗费系统资源的 WordPress 模板，如果不做额外优化的话，网站打开速度真的很慢。比如一个朋友使用阿里云 ECS 国内服务器（配置：2 核 8g 内存 40g 系统盘 100g 数据盘 5m 带宽），启用 newspaper 主题，站点属于艺术类网站以图片为主，首页就是一个大 banner 和 N 多图片，全高清高分辨率那种的，联通百兆光纤打开需要近 10 秒钟，他自己也很不满意。要知道国内带宽成本极高，一台云服务器接近一半成本是带宽费用，普通网站 1M 带宽起步也不错了而他买了 5M 还慢，所以不优化一下真的不好意思让客户上来看。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;宝塔面板是我们再熟悉不过的国产 Linux 面板了，目前在国内可以说是风声水起，用户量不断上涨。有关宝塔面板的安装使用在魏艾斯博客里面已经写过很多了，不再啰嗦。为了让服务器运行速度更快，我们就使用宝塔面板提供的功能来优化一下服务器配置。&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;一&lt;/strong&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;、定期释放内存&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;添加计划任务，可以设置每天或一周释放一次，间隔时间根据自己网站情况定，执行时机建议为半夜，如：1:30。具体如下图所示，在宝塔面板左侧的计划任务中操作即可。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;mip-img class=&quot;aligncenter size-medium mip-wp-enforced-sizes mip-element mip-layout-responsive mip-layout-size-defined mip-img-loaded&quot; src=&quot;/i/s/boke.yigujin.cn/img/2018/180724_baotamianban.png&quot; width=&quot;640&quot; height=&quot;309&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第1张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: 0px auto; padding: 0px; display: block; width: 808px; font-size: 0px; position: relative; overflow: hidden !important; max-width: 100%;&quot;&gt;&lt;mip-i-space style=&quot;margin: 0px; padding: 390.109px 0px 0px; display: block;&quot;&gt;&lt;/mip-i-space&gt;&lt;img class=&quot;mip-fill-content mip-replaced-content&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912153138_38038.png&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第1张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: auto; width: 808px; display: block; min-width: 100%; height: 390.109px; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: 0px !important; border: none !important;&quot;/&gt;&lt;/mip-img&gt;&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;二&lt;/strong&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;、添加 Swap&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;关于 Swap 的重要性及教程可以参考《SWAP 是什么？SWAP 有什么用？SWAP 怎么用？》和《CentOS7 创建（添加）、删除以及配置 swap 分区的教程》，不管服务器内存多大都建议添加 Swap。在宝塔面板的软件管理&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;系统工具中找到 Linux 工具箱 1.4，点击最右侧的“设置”打开 Swap 虚拟内存，按照下面的推荐值进行设置。&lt;/p&gt;&lt;blockquote style=&quot;margin: 8px 0px 24px; padding: 16px; color: rgb(53, 53, 53); background: rgba(127, 127, 127, 0.125); border-left: 2px solid rgb(10, 137, 192); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Swap 推荐值：&lt;/strong&gt;&lt;/strong&gt;2G 和 2G 以下内存的服务器，设置成和物理内存相同容量 SWAP；2G 以上的，设置为 2G。如果跑的程序特别耗费内存，2G 内存以上的 Swap 也可以设置与内存相同。&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;mip-img class=&quot;aligncenter size-medium mip-wp-enforced-sizes mip-element mip-layout-responsive mip-layout-size-defined mip-img-loaded&quot; src=&quot;/i/s/boke.yigujin.cn/img/2018/180724_baotamianban1.png&quot; width=&quot;640&quot; height=&quot;366&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第2张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: 0px auto; padding: 0px; display: block; width: 808px; font-size: 0px; position: relative; overflow: hidden !important; max-width: 100%;&quot;&gt;&lt;mip-i-space style=&quot;margin: 0px; padding: 462.063px 0px 0px; display: block;&quot;&gt;&lt;/mip-i-space&gt;&lt;img class=&quot;mip-fill-content mip-replaced-content&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912153139_96123.png&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第2张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: auto; width: 808px; display: block; min-width: 100%; height: 462.063px; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: 0px !important; border: none !important;&quot;/&gt;&lt;/mip-img&gt;&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;三&lt;/strong&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;、安装 PHP 缓存扩展&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;个人博客的 php 缓存扩展推荐使用&amp;nbsp;Opcache 脚本缓存和&amp;nbsp;Memcached 内容缓存。在软件管理&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;你使用的 php 版本最右侧点击“设置”，进入安装扩展，右侧点击这两个扩展后面的“安装”，再确认一次，很快搞定。内容缓存和脚本缓存都只安装一个，不要同时安装多个。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;mip-img class=&quot;aligncenter size-medium mip-wp-enforced-sizes mip-element mip-layout-responsive mip-layout-size-defined mip-img-loaded&quot; src=&quot;/i/s/boke.yigujin.cn/img/2018/180724_baotamianban2.png&quot; width=&quot;640&quot; height=&quot;368&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第3张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: 0px auto; padding: 0px; display: block; width: 808px; font-size: 0px; position: relative; overflow: hidden !important; max-width: 100%;&quot;&gt;&lt;mip-i-space style=&quot;margin: 0px; padding: 464.594px 0px 0px; display: block;&quot;&gt;&lt;/mip-i-space&gt;&lt;img class=&quot;mip-fill-content mip-replaced-content&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912153141_92381.png&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第3张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: auto; width: 808px; display: block; min-width: 100%; height: 464.594px; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: 0px !important; border: none !important;&quot;/&gt;&lt;/mip-img&gt;&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;四&lt;/strong&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;、php 配置调整&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;同样在 php 管理的配置修改中，memory_limit 脚本内存限制修改成 256M，这样 wordpress 跑起来更顺畅了；upload_max_filesize 允许上传文件的最大尺寸，像 avada 模板可能会超过这个数值无法上传，需要修改为大于上传文件的数值。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;mip-img class=&quot;aligncenter size-medium mip-wp-enforced-sizes mip-element mip-layout-responsive mip-layout-size-defined mip-img-loaded&quot; src=&quot;/i/s/boke.yigujin.cn/img/2018/180724_baotamianban3.png&quot; width=&quot;600&quot; height=&quot;540&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第4张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: 0px auto; padding: 0px; display: block; width: 808px; font-size: 0px; position: relative; overflow: hidden !important; max-width: 100%;&quot;&gt;&lt;mip-i-space style=&quot;margin: 0px; padding: 727.188px 0px 0px; display: block;&quot;&gt;&lt;/mip-i-space&gt;&lt;img class=&quot;mip-fill-content mip-replaced-content&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912153142_42262.png&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第4张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: auto; width: 808px; display: block; min-width: 100%; height: 727.188px; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: 0px !important; border: none !important;&quot;/&gt;&lt;/mip-img&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;在配置文件中 Ctrl+F 搜索 memory_limit，把默认值修改成 256M，保存。下图是老魏改好后的。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;mip-img class=&quot;aligncenter size-medium mip-wp-enforced-sizes mip-element mip-layout-responsive mip-layout-size-defined mip-img-loaded&quot; src=&quot;/i/s/boke.yigujin.cn/img/2018/180724_baotamianban4.png&quot; width=&quot;600&quot; height=&quot;521&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第5张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: 0px auto; padding: 0px; display: block; width: 808px; font-size: 0px; position: relative; overflow: hidden !important; max-width: 100%;&quot;&gt;&lt;mip-i-space style=&quot;margin: 0px; padding: 701.609px 0px 0px; display: block;&quot;&gt;&lt;/mip-i-space&gt;&lt;img class=&quot;mip-fill-content mip-replaced-content&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912153144_49014.png&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第5张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: auto; width: 808px; display: block; min-width: 100%; height: 701.609px; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: 0px !important; border: none !important;&quot;/&gt;&lt;/mip-img&gt;&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;五、PHP 并发调整&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;宝塔面板提供了几个优化过的 php 并发方案，一般 1 核 1G 内存的云服务器，设置 30 并发或 50 并发都可以，其他配置请自己测试一下合适并发方案。不建议并发超过 300 ，如果并发不够用还是优化数据库缓存可能更有效。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;mip-img class=&quot;aligncenter size-medium mip-wp-enforced-sizes mip-element mip-layout-responsive mip-layout-size-defined mip-img-loaded&quot; src=&quot;/i/s/boke.yigujin.cn/img/2018/180724_baotamianban5.png&quot; width=&quot;600&quot; height=&quot;411&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第6张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: 0px auto; padding: 0px; display: block; width: 808px; font-size: 0px; position: relative; overflow: hidden !important; max-width: 100%;&quot;&gt;&lt;mip-i-space style=&quot;margin: 0px; padding: 553.469px 0px 0px; display: block;&quot;&gt;&lt;/mip-i-space&gt;&lt;img class=&quot;mip-fill-content mip-replaced-content&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912153144_32228.png&quot; alt=&quot;如何设置宝塔面板优化php服务器性能? 建站经验 第6张&quot; sizes=&quot;(min-width: 600px) 600px, 100vw&quot; style=&quot;margin: auto; width: 808px; display: block; min-width: 100%; height: 553.469px; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: 0px !important; border: none !important;&quot;/&gt;&lt;/mip-img&gt;&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;六、php 版本和 MySQL 数据库版本&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;php7 的性能比低版本有很大提升，这里强烈建议使用 php7 以上版本；1 核 1G 配置的数据库推荐 MySQL5.5，而 5.6 要求最低内存 1G 以上，所以大家应该知道如何选择了。&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;七、卸载多余扩展组件&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;如果程序不需要，就卸载 ZendGuardLoader、ioncube、PATH_INFO，安装后不用也一直占用一部分内存。设置完了要重启服务器，让调整后的参数生效。&lt;/p&gt;&lt;h2 style=&quot;margin: 0px; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;八、搭配阿里云存储 OSS 使用&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;像本文开头提到的群友网站高清图片较多的，如果达到几千张且还要不停增加的话，建议在购买阿里云 ECS 云服务器的基础上搭配阿里云存储 OSS，把图片分流到 OSS 存储空间上去，ECS 只放程序部分，这样网站打开速度会快很多的。&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; color: rgb(53, 53, 53); font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;经过上面的一番折腾整理优化，你的云服务器应该比之前流畅很多了，没有做到的同学赶紧去试试吧，也可以在下面留言交流你认为更合适的优化方案。&lt;/p&gt;</description><pubDate>Wed, 12 Sep 2018 15:29:10 +0800</pubDate></item><item><title>忘记密码不用愁，只需一步即可查看保存的密码</title><link>https://400400.xyz/post/49.html</link><description>&lt;div class=&quot;exp-content-block&quot; style=&quot;color: rgb(51, 51, 51); line-height: 28px; margin-top: 40px; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;exp-content-body exp-brief-step&quot; style=&quot;text-align: justify; margin-top: 5px;&quot;&gt;&lt;div class=&quot;exp-content-listblock&quot; style=&quot;position: relative;&quot;&gt;&lt;div class=&quot;content-listblock-text&quot;&gt;&lt;p style=&quot;margin-top: 20px; margin-bottom: 20px; padding: 0px;&quot;&gt;网络时代，每个人都有多个账号。有些朋友喜欢多个账号使用一个密码，虽然这样很容易记忆，但是也非常不安全。每个账号都使用不同又很难记忆，好在现在很多浏览器都有保存密码的功能，但是如何查看已保存的密码呢？&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;exp-content-block&quot; style=&quot;color: rgb(51, 51, 51); line-height: 28px; margin-top: 40px; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, arial, 宋体, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;h2 class=&quot;exp-content-head&quot; style=&quot;margin: 40px 0px 0px; padding: 0px 0px 7px; font-size: 22px; font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: 400; font-stretch: normal; line-height: 24px; font-family: 微软雅黑; border-bottom: 1px solid rgb(214, 214, 216);&quot;&gt;&lt;a style=&quot;color: rgb(45, 100, 179);&quot; name=&quot;section-2&quot;&gt;&lt;/a&gt;方法/步骤&lt;div class=&quot;audio-wp audio-wp-2&quot; data-text=&quot;&quot; data-for=&quot;&quot; data-index=&quot;1&quot; style=&quot;display: inline-block; margin-left: 4px; color: rgb(81, 154, 242); cursor: pointer; font-size: 14px; line-height: 1; vertical-align: middle;&quot;&gt;&lt;span class=&quot;audio-inner&quot; style=&quot;display: inline-block; height: 20px;&quot;&gt;&lt;span class=&quot;audio-icon&quot; style=&quot;display: inline-block; width: 15px; height: 20px; background: url(&amp;quot;//exp.bdstatic.com/static/article/widget/audio/img/audio_5b24a3c.png?__sprite&amp;quot;);&quot;&gt;&lt;/span&gt;&lt;span class=&quot;audio-icon-2&quot; style=&quot;position: relative; display: inline-block; width: 6px; height: 20px; margin-left: 3px; background-image: url(&amp;quot;//exp.bdstatic.com/static/article/widget/audio/img/a1_c12da1b.png?__sprite&amp;quot;);&quot;&gt;&lt;/span&gt;&lt;span class=&quot;audio-icon-3&quot; style=&quot;position: relative; display: inline-block; width: 6px; height: 20px; margin-left: -2px; background-image: url(&amp;quot;//exp.bdstatic.com/static/article/widget/audio/img/a2_0c36615.png?__sprite&amp;quot;);&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;desc&quot; style=&quot;position: relative; top: -5px; margin-left: 2px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/h2&gt;&lt;div class=&quot;exp-content-body&quot; style=&quot;text-align: justify; margin-top: 5px;&quot;&gt;&lt;ol class=&quot;exp-conent-orderlist list-paddingleft-2&quot; style=&quot;list-style-type: none;&quot;&gt;&lt;li class=&quot;exp-content-list &quot; style=&quot;&quot;&gt;&lt;div class=&quot;list-icon&quot; style=&quot;width: 32px; height: 32px; position: absolute; left: -18px; color: rgb(238, 255, 238); text-align: center; line-height: 32px; background: url(&amp;quot;//exp.bdstatic.com/static/article/widget/img-baidu-com/step_ol_bg_e53cfaf.png&amp;quot;) no-repeat; visibility: hidden; top: -8px !important;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;content-list-text&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;浏览器保存的密码无法查看&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;content-list-media&quot;&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;zoom: 1; position: relative; padding: 10px 0px;&quot;&gt;&lt;a class=&quot;exp-image-wraper&quot; href=&quot;http://jingyan.baidu.com/album/5225f26b54c62ee6fb09084a.html?picindex=1&quot; log=&quot;type:20150831,pos:enter_step&quot; target=&quot;_self&quot; style=&quot;text-decoration-line: none; color: rgb(45, 100, 179); position: relative; display: block; float: left;&quot;&gt;&lt;img class=&quot;exp-image-default&quot; alt=&quot;忘记密码不用愁，只需一步即可查看保存的密码&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912112349_41346.jpg&quot; style=&quot;border: 0px; display: block; max-width: 500px; overflow: hidden;&quot;/&gt;&lt;span class=&quot;exp-album-enter-mask&quot; style=&quot;position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; background: #333333; opacity: 0; cursor: pointer;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class=&quot;exp-content-list &quot; style=&quot;&quot;&gt;&lt;div class=&quot;list-icon&quot; style=&quot;width: 32px; height: 32px; position: absolute; left: -18px; top: 43px; color: rgb(238, 255, 238); text-align: center; line-height: 32px; background: url(&amp;quot;//exp.bdstatic.com/static/article/widget/img-baidu-com/step_ol_bg_e53cfaf.png&amp;quot;) no-repeat; visibility: hidden;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;content-list-text&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;右键点击密码框，弹出窗口选择“检查”&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;content-list-media&quot;&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;zoom: 1; position: relative; padding: 10px 0px;&quot;&gt;&lt;a class=&quot;exp-image-wraper&quot; href=&quot;http://jingyan.baidu.com/album/5225f26b54c62ee6fb09084a.html?picindex=2&quot; log=&quot;type:20150831,pos:enter_step&quot; target=&quot;_self&quot; style=&quot;text-decoration-line: none; color: rgb(45, 100, 179); position: relative; display: block; float: left;&quot;&gt;&lt;img class=&quot;exp-image-default&quot; alt=&quot;忘记密码不用愁，只需一步即可查看保存的密码&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912112351_62177.jpg&quot; style=&quot;border: 0px; display: block; max-width: 500px; overflow: hidden;&quot;/&gt;&lt;span class=&quot;exp-album-enter-mask&quot; style=&quot;position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; background: #333333; opacity: 0; cursor: pointer;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class=&quot;exp-content-list &quot; style=&quot;&quot;&gt;&lt;div class=&quot;list-icon&quot; style=&quot;width: 32px; height: 32px; position: absolute; left: -18px; top: 43px; color: rgb(238, 255, 238); text-align: center; line-height: 32px; background: url(&amp;quot;//exp.bdstatic.com/static/article/widget/img-baidu-com/step_ol_bg_e53cfaf.png&amp;quot;) no-repeat; visibility: hidden;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;content-list-text&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;代码中将“password”改成“text”&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;content-list-media&quot;&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;zoom: 1; position: relative; padding: 10px 0px;&quot;&gt;&lt;a class=&quot;exp-image-wraper&quot; href=&quot;http://jingyan.baidu.com/album/5225f26b54c62ee6fb09084a.html?picindex=3&quot; log=&quot;type:20150831,pos:enter_step&quot; target=&quot;_self&quot; style=&quot;text-decoration-line: none; color: rgb(45, 100, 179); position: relative; display: block; float: left;&quot;&gt;&lt;img class=&quot;exp-image-default&quot; alt=&quot;忘记密码不用愁，只需一步即可查看保存的密码&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912112351_42696.jpg&quot; style=&quot;border: 0px; display: block; max-width: 500px; overflow: hidden;&quot;/&gt;&lt;span class=&quot;exp-album-enter-mask&quot; style=&quot;position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; background: #333333; opacity: 0; cursor: pointer;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;zoom: 1; position: relative; padding: 10px 0px;&quot;&gt;&lt;a class=&quot;exp-image-wraper&quot; href=&quot;http://jingyan.baidu.com/album/5225f26b54c62ee6fb09084a.html?picindex=4&quot; log=&quot;type:20150831,pos:enter_step&quot; target=&quot;_self&quot; style=&quot;text-decoration-line: none; color: rgb(45, 100, 179); position: relative; display: block; float: left;&quot;&gt;&lt;img class=&quot;exp-image-default&quot; alt=&quot;忘记密码不用愁，只需一步即可查看保存的密码&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912112352_57322.jpg&quot; style=&quot;border: 0px; display: block; max-width: 500px; overflow: hidden;&quot;/&gt;&lt;span class=&quot;exp-album-enter-mask&quot; style=&quot;position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; background: #333333; opacity: 0; cursor: pointer;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class=&quot;exp-content-list &quot; style=&quot;&quot;&gt;&lt;div class=&quot;list-icon&quot; style=&quot;width: 32px; height: 32px; position: absolute; left: -18px; top: 43px; color: rgb(238, 255, 238); text-align: center; line-height: 32px; background: url(&amp;quot;//exp.bdstatic.com/static/article/widget/img-baidu-com/step_ol_bg_e53cfaf.png&amp;quot;) no-repeat; visibility: hidden;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;content-list-text&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;修改后可以看到密码以明文方式显示&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;content-list-media&quot;&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;zoom: 1; position: relative; padding: 10px 0px;&quot;&gt;&lt;a class=&quot;exp-image-wraper&quot; href=&quot;http://jingyan.baidu.com/album/5225f26b54c62ee6fb09084a.html?picindex=5&quot; log=&quot;type:20150831,pos:enter_step&quot; target=&quot;_self&quot; style=&quot;text-decoration-line: none; color: rgb(45, 100, 179); position: relative; display: block; float: left;&quot;&gt;&lt;img class=&quot;exp-image-default&quot; alt=&quot;忘记密码不用愁，只需一步即可查看保存的密码&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180912112353_99499.jpg&quot; style=&quot;border: 0px; display: block; max-width: 500px; overflow: hidden;&quot;/&gt;&lt;span class=&quot;exp-album-enter-mask&quot; style=&quot;position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; background: #333333; opacity: 0.1; cursor: pointer;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;enter-step-btn&quot; style=&quot;background: url(&amp;quot;//exp.bdstatic.com/static/article/widget/img-baidu-com/show-step_24c46fe.png&amp;quot;) no-repeat; width: 120px; height: 40px; position: absolute; top: 74px; left: 212.5px; margin-top: -20px; margin-left: -60px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 40px; font-family: 微软雅黑; color: #FFFFFF; text-indent: 22px; display: block; text-align: left; cursor: pointer; zoom: 1;&quot;&gt;步骤阅读&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class=&quot;exp-content-list &quot; style=&quot;&quot;&gt;&lt;div class=&quot;list-icon&quot; style=&quot;width: 32px; height: 32px; position: absolute; left: -18px; top: 43px; color: rgb(238, 255, 238); text-align: center; line-height: 32px; background: url(&amp;quot;//exp.bdstatic.com/static/article/widget/img-baidu-com/step_ol_bg_e53cfaf.png&amp;quot;) no-repeat; visibility: visible;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;content-list-text&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;此方法适用于绝大多数网站，包括路由器密码等，非常实用。&lt;/p&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 12 Sep 2018 11:22:46 +0800</pubDate></item><item><title>网站开启https后地址栏安全锁灰色或黄色叹号</title><link>https://400400.xyz/post/48.html</link><description>&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;关于https各大搜索引擎都以友好的态度对待，那么我们是不是也该开启https呢？就我个人的博客站开启https后效果很明显，我这是不怎么更新的站点，不知道你们的站会怎样。网站开启https以后，地址栏的安全锁是灰色且带有黄色叹号，那么出现这样的问题是该如何处理呢？&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;首先你要知道开启https那就必须是全站都开启，全站那就是不管什么链接http都必须改成https。时光分享网就是图片的链接还是http所以在点击安全锁的时候出现一段话。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;如下：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-861&quot; src=&quot;https://400400.xyz/zb_users/upload/2018/09/20180911113224_85589.jpg&quot; alt=&quot;&quot; width=&quot;526&quot; height=&quot;470&quot; data-tag=&quot;bdshare&quot; style=&quot;box-sizing: border-box; border: 0px; vertical-align: middle; margin: 0px auto; display: block;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;红色框里的一段话就是安全锁灰色且出现黄色叹号的问题原因。根据提示修改网站解决问题：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;解决方法一：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;直接在html中添加下面的标注解释语句即可：&lt;/p&gt;&lt;div class=&quot;dp-highlighter&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;bar&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/div&gt;&lt;ol class=&quot;dp-c list-paddingleft-2&quot; start=&quot;1&quot; style=&quot;box-sizing: border-box; margin-bottom: 20px; margin-left: 50px; padding: 0px; list-style-position: initial; list-style-image: initial;&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13.5px; padding: 2px 4px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 4px;&quot;&gt;&amp;lt;meta&amp;nbsp;http-equiv=&lt;span class=&quot;string&quot; style=&quot;box-sizing: border-box;&quot;&gt;“Content-Security-Policy”&lt;/span&gt;&amp;nbsp;content=&lt;span class=&quot;string&quot; style=&quot;box-sizing: border-box;&quot;&gt;“upgrade-insecure-requests”&lt;/span&gt;&amp;nbsp;/&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;解决方法二：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;在Apache、Nginx甚至是后端语言上,加上下面的header头即可：&lt;/p&gt;&lt;div class=&quot;dp-highlighter&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;bar&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/div&gt;&lt;ol class=&quot;dp-c list-paddingleft-2&quot; start=&quot;1&quot; style=&quot;box-sizing: border-box; margin-bottom: 20px; margin-left: 50px; padding: 0px; list-style-position: initial; list-style-image: initial;&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13.5px; padding: 2px 4px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 4px;&quot;&gt;header(&lt;span class=&quot;string&quot; style=&quot;box-sizing: border-box;&quot;&gt;“Content-Security-Policy:&amp;nbsp;upgrade-insecure-requests”&lt;/span&gt;);&amp;nbsp;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; word-wrap: break-word; text-indent: 30px; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;不管是上面的哪种方法，其目的都是为了让让全站https，只要有不是https的页面都会提示安全锁灰色黄色叹号。按照方法试试吧。如果不成功，那么全站检索http地址的链接。修给成htps。&lt;/p&gt;</description><pubDate>Tue, 11 Sep 2018 11:31:47 +0800</pubDate></item></channel></rss><!--20.17 ms , 7 query , 1560kb memory , 0 error-->