<?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://123000.xyz/</link><description>Good Luck To You!</description><item><title>甲骨文创建实例时免密匙直接开启root登录</title><link>https://123000.xyz/post/60.html</link><description>&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 0px; border: 0px; vertical-align: baseline; 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; outline: none; line-height: 26px; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;&quot;&gt;我们在创建甲骨文实例时，甲骨文为我们生成了密钥 但是我还是习惯了密码登陆&lt;br style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;因为我没办法随时随地在多终端上保留密钥，虽然密钥很安全，但是那很不方便的&lt;br style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;所以我会在创建实例的时候直接开启root登陆 无视密钥，如果你需要这样做 那么往下看&lt;/p&gt;&lt;h2 style=&quot;box-sizing: border-box; margin: 0px 0px 18px; padding: 0px 15px; 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(234, 96, 0); border-image: initial; font-weight: 500; vertical-align: baseline; 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; outline: none; font-size: 18px; line-height: 24px; color: var(--main); white-space: normal; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent; position: relative;&quot;&gt;开启root登陆&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 0px; border: 0px; vertical-align: baseline; 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; outline: none; line-height: 26px; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;&quot;&gt;在创建实例的时候，留意下方的高级设置&lt;br style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;&lt;span data-fancybox=&quot;Joe&quot; href=&quot;https://123000.xyz/zb_users/upload/2022/05/20220528012255_43224.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; display: block;&quot;&gt;&lt;img src=&quot;https://123000.xyz/zb_users/upload/2022/05/20220528012255_43224.png&quot; alt=&quot;37085-ap9bxkm9pql.png&quot; title=&quot;37085-ap9bxkm9pql.png&quot; data-source=&quot;https://123000.xyz/zb_users/upload/2022/05/20220528012255_43224.png&quot; class=&quot;js-lightbox&quot; data-group=&quot;group-1&quot; data-id=&quot;one&quot; style=&quot;box-sizing: border-box; margin: 0px auto; padding: 0px; border: 0px; vertical-align: middle; font-family: inherit; font-style: inherit; outline: none; box-shadow: rgb(221, 221, 221) 0px 0px 6px 3px; max-width: 90%; -webkit-tap-highlight-color: transparent; display: block; 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; height: auto !important;&quot;/&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;点开之后，可以看到启动脚本，我们将配置好的脚本粘贴进去，在机器创建时会配置root登陆&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-size: 12px; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;&gt;#!/bin/bash
echo&amp;nbsp;root:密码&amp;nbsp;|sudo&amp;nbsp;chpasswd&amp;nbsp;root
sudo&amp;nbsp;sed&amp;nbsp;-i&amp;nbsp;&amp;#39;s/^#\?PermitRootLogin.*/PermitRootLogin&amp;nbsp;yes/g&amp;#39;&amp;nbsp;/etc/ssh/sshd_config;
sudo&amp;nbsp;sed&amp;nbsp;-i&amp;nbsp;&amp;#39;s/^#\?PasswordAuthentication.*/PasswordAuthentication&amp;nbsp;yes/g&amp;#39;&amp;nbsp;/etc/ssh/sshd_config;
sudo&amp;nbsp;service&amp;nbsp;sshd&amp;nbsp;restart&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 18px; padding: 0px; border: 0px; vertical-align: baseline; 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; outline: none; line-height: 26px; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255); -webkit-tap-highlight-color: transparent;&quot;&gt;修改脚本中的 密码 为你想要设置的&lt;br style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;&lt;span data-fancybox=&quot;Joe&quot; href=&quot;https://123000.xyz/zb_users/upload/2022/05/20220528012256_61859.png&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; display: block;&quot;&gt;&lt;img src=&quot;https://123000.xyz/zb_users/upload/2022/05/20220528012256_61859.png&quot; alt=&quot;08351-cl7g4pyqvqd.png&quot; title=&quot;08351-cl7g4pyqvqd.png&quot; data-source=&quot;https://123000.xyz/zb_users/upload/2022/05/20220528012256_61859.png&quot; class=&quot;js-lightbox&quot; data-group=&quot;group-1&quot; data-id=&quot;one&quot; style=&quot;box-sizing: border-box; margin: 0px auto; padding: 0px; border: 0px; vertical-align: middle; font-family: inherit; font-style: inherit; outline: none; box-shadow: rgb(221, 221, 221) 0px 0px 6px 3px; max-width: 90%; -webkit-tap-highlight-color: transparent; display: block; 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; height: auto !important;&quot;/&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;机器创建之后，首次连接会有一次断开&lt;br style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent;&quot;/&gt;这预示着可以愉快的玩耍了。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 28 May 2022 01:22:24 +0800</pubDate></item><item><title>甲骨文将申请的已预留的IP添加到现有实例方法</title><link>https://123000.xyz/post/59.html</link><description>&lt;p&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;甲骨文免费VPS配置额外ip全套流程如下：&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;1、登陆甲骨文网站，找到页面将分配辅助专用 IP 地址添加你的实例中；&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;2、通过SSH登录你的VPS；&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;3、切换到root 命令：sudo -i&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;4、输入vi /etc/sysconfig/network-scripts/ifcfg-ens3:1&amp;nbsp;&amp;nbsp;来新增加网卡文件；&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;5、 按&amp;quot;i&amp;quot;进入编辑模式，在新文件中仅输入如下4行内容即可，ip地址填写的是如10开头的内网地址：&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;DEVICE=ens3:1&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;BOOTPROTO=static&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;IPADDR=10.0.0.6&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;ONBOOT=yes&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;6、按&amp;quot;：wq&amp;quot;保存文件，启用 ens3:1，输入：ifup ens3:1&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;不修改文件强制退出为&amp;quot;：q!&amp;quot;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;7、通过 ip addr 命令查看你的IP地址等信息是否添加成功；&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;8、ping 检查一下 看看新的IP是否启用。&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; white-space: normal; margin: 0px; padding: 0px; outline: none; -webkit-tap-highlight-color: transparent; color: rgb(96, 98, 102); 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; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 15px; text-align: justify; text-indent: 30px; color: #606266; 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; background-color: #FFFFFF;&quot;&gt;以上亲测成功，系统为Centos7。&lt;/span&gt;&lt;/p&gt;</description><pubDate>Sat, 28 May 2022 01:21:29 +0800</pubDate></item><item><title>typecho模板设置数据备份与恢复</title><link>https://123000.xyz/post/58.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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;typecho模板设置数据会在你换模板的时候被清空，这样的设置其实我还是蛮喜欢的，不会有数据残留。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;然而WP用户转到typecho后跟我抱怨，说模板换成别的然后再切换回来，之前设置好的数据都没了，希望我在yodu模板上动动手脚解决这个问题。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;在themeConfig($form)函数里添加：&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;1、问：themeConfig($form)这个函数在什么位置？ 答：在该主题文件中的functions.php里。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;2、主题模板叫什么名字？ 答：如果拿不准就去数据库里看看模板的值名字，具体方法切换到你要查找的主题后，进入站点数据库，在typecho_options表中的，在theme对应的value值就是该主题模版的确切名称，我这里默认的是zhutiname，共有2处要修改，数据name为为setback，共8处，你也可以改成你想要的名称，我这里用的setback。&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-size: 12px; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&lt;/pre&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14px;&quot;&gt;$db&amp;nbsp;=&amp;nbsp;Typecho_Db::get();&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$sjdq=$db-&amp;gt;fetchRow($db-&amp;gt;select()-&amp;gt;from&amp;nbsp;(&amp;#39;table.options&amp;#39;)-&amp;gt;where&amp;nbsp;(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodu&amp;#39;));&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$ysj&amp;nbsp;=&amp;nbsp;$sjdq[&amp;#39;value&amp;#39;];&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if(isset($_POST[&amp;#39;type&amp;#39;]))&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;{&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if($_POST[&amp;quot;type&amp;quot;]==&amp;quot;备份模板数据&amp;quot;){&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if($db-&amp;gt;fetchRow($db-&amp;gt;select()-&amp;gt;from&amp;nbsp;(&amp;#39;table.options&amp;#39;)-&amp;gt;where&amp;nbsp;(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodubf&amp;#39;))){&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$update&amp;nbsp;=&amp;nbsp;$db-&amp;gt;update(&amp;#39;table.options&amp;#39;)-&amp;gt;rows(array(&amp;#39;value&amp;#39;=&amp;gt;$ysj))-&amp;gt;where(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodubf&amp;#39;);&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$updateRows=&amp;nbsp;$db-&amp;gt;query($update);&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;echo&amp;nbsp;&amp;#39;&amp;lt;div&amp;nbsp;class=&amp;quot;tongzhi&amp;quot;&amp;gt;备份已更新，请等待自动刷新！如果等不到请点击&amp;#39;;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;?&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;a&amp;nbsp;href=&amp;quot;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;&amp;quot;&amp;gt;这里&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;script&amp;nbsp;language=&amp;quot;JavaScript&amp;quot;&amp;gt;window.setTimeout(&amp;quot;location=\&amp;#39;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;\&amp;#39;&amp;quot;,&amp;nbsp;2500);&amp;lt;/script&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;?php&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}else{&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if($ysj){&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$insert&amp;nbsp;=&amp;nbsp;$db-&amp;gt;insert(&amp;#39;table.options&amp;#39;)&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt;rows(array(&amp;#39;name&amp;#39;&amp;nbsp;=&amp;gt;&amp;nbsp;&amp;#39;theme:Yodubf&amp;#39;,&amp;#39;user&amp;#39;&amp;nbsp;=&amp;gt;&amp;nbsp;&amp;#39;0&amp;#39;,&amp;#39;value&amp;#39;&amp;nbsp;=&amp;gt;&amp;nbsp;$ysj));&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$insertId&amp;nbsp;=&amp;nbsp;$db-&amp;gt;query($insert);&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;echo&amp;nbsp;&amp;#39;&amp;lt;div&amp;nbsp;class=&amp;quot;tongzhi&amp;quot;&amp;gt;备份完成，请等待自动刷新！如果等不到请点击&amp;#39;;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;?&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;a&amp;nbsp;href=&amp;quot;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;&amp;quot;&amp;gt;这里&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;script&amp;nbsp;language=&amp;quot;JavaScript&amp;quot;&amp;gt;window.setTimeout(&amp;quot;location=\&amp;#39;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;\&amp;#39;&amp;quot;,&amp;nbsp;2500);&amp;lt;/script&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;?php&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if($_POST[&amp;quot;type&amp;quot;]==&amp;quot;还原模板数据&amp;quot;){&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if($db-&amp;gt;fetchRow($db-&amp;gt;select()-&amp;gt;from&amp;nbsp;(&amp;#39;table.options&amp;#39;)-&amp;gt;where&amp;nbsp;(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodubf&amp;#39;))){&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$sjdub=$db-&amp;gt;fetchRow($db-&amp;gt;select()-&amp;gt;from&amp;nbsp;(&amp;#39;table.options&amp;#39;)-&amp;gt;where&amp;nbsp;(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodubf&amp;#39;));&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$bsj&amp;nbsp;=&amp;nbsp;$sjdub[&amp;#39;value&amp;#39;];&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$update&amp;nbsp;=&amp;nbsp;$db-&amp;gt;update(&amp;#39;table.options&amp;#39;)-&amp;gt;rows(array(&amp;#39;value&amp;#39;=&amp;gt;$bsj))-&amp;gt;where(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodu&amp;#39;);&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$updateRows=&amp;nbsp;$db-&amp;gt;query($update);&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;echo&amp;nbsp;&amp;#39;&amp;lt;div&amp;nbsp;class=&amp;quot;tongzhi&amp;quot;&amp;gt;检测到模板备份数据，恢复完成，请等待自动刷新！如果等不到请点击&amp;#39;;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;?&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;a&amp;nbsp;href=&amp;quot;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;&amp;quot;&amp;gt;这里&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;script&amp;nbsp;language=&amp;quot;JavaScript&amp;quot;&amp;gt;window.setTimeout(&amp;quot;location=\&amp;#39;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;\&amp;#39;&amp;quot;,&amp;nbsp;2000);&amp;lt;/script&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;?php&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}else{&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;echo&amp;nbsp;&amp;#39;&amp;lt;div&amp;nbsp;class=&amp;quot;tongzhi&amp;quot;&amp;gt;没有模板备份数据，恢复不了哦！&amp;lt;/div&amp;gt;&amp;#39;;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if($_POST[&amp;quot;type&amp;quot;]==&amp;quot;删除备份数据&amp;quot;){&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;if($db-&amp;gt;fetchRow($db-&amp;gt;select()-&amp;gt;from&amp;nbsp;(&amp;#39;table.options&amp;#39;)-&amp;gt;where&amp;nbsp;(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodubf&amp;#39;))){&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$delete&amp;nbsp;=&amp;nbsp;$db-&amp;gt;delete(&amp;#39;table.options&amp;#39;)-&amp;gt;where&amp;nbsp;(&amp;#39;name&amp;nbsp;=&amp;nbsp;?&amp;#39;,&amp;nbsp;&amp;#39;theme:Yodubf&amp;#39;);&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;$deletedRows&amp;nbsp;=&amp;nbsp;$db-&amp;gt;query($delete);&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;echo&amp;nbsp;&amp;#39;&amp;lt;div&amp;nbsp;class=&amp;quot;tongzhi&amp;quot;&amp;gt;删除成功，请等待自动刷新，如果等不到请点击&amp;#39;;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;?&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;a&amp;nbsp;href=&amp;quot;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;&amp;quot;&amp;gt;这里&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;script&amp;nbsp;language=&amp;quot;JavaScript&amp;quot;&amp;gt;window.setTimeout(&amp;quot;location=\&amp;#39;&amp;lt;?php&amp;nbsp;Helper::options()-&amp;gt;adminUrl(&amp;#39;options-theme.php&amp;#39;);&amp;nbsp;?&amp;gt;\&amp;#39;&amp;quot;,&amp;nbsp;2500);&amp;lt;/script&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;?php&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}else{&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;echo&amp;nbsp;&amp;#39;&amp;lt;div&amp;nbsp;class=&amp;quot;tongzhi&amp;quot;&amp;gt;不用删了！备份不存在！！！&amp;lt;/div&amp;gt;&amp;#39;;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;echo&amp;nbsp;&amp;#39;&amp;lt;form&amp;nbsp;class=&amp;quot;protected&amp;quot;&amp;nbsp;action=&amp;quot;?yodubf&amp;quot;&amp;nbsp;method=&amp;quot;post&amp;quot;&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;lt;input&amp;nbsp;type=&amp;quot;submit&amp;quot;&amp;nbsp;name=&amp;quot;type&amp;quot;&amp;nbsp;class=&amp;quot;btn&amp;nbsp;btn-s&amp;quot;&amp;nbsp;value=&amp;quot;备份模板数据&amp;quot;&amp;nbsp;/&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;input&amp;nbsp;type=&amp;quot;submit&amp;quot;&amp;nbsp;name=&amp;quot;type&amp;quot;&amp;nbsp;class=&amp;quot;btn&amp;nbsp;btn-s&amp;quot;&amp;nbsp;value=&amp;quot;还原模板数据&amp;quot;&amp;nbsp;/&amp;gt;&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;input&amp;nbsp;type=&amp;quot;submit&amp;quot;&amp;nbsp;name=&amp;quot;type&amp;quot;&amp;nbsp;class=&amp;quot;btn&amp;nbsp;btn-s&amp;quot;&amp;nbsp;value=&amp;quot;删除备份数据&amp;quot;&amp;nbsp;/&amp;gt;&amp;lt;/form&amp;gt;&amp;#39;;&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;然后将里面出现的所有“zhutiname”改成你的模板目录的名字，如果拿不准就去数据库里看看模板的值名字。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;当用户点击备份时，先判断是否已经存在备份，如果不存在就插入一条新的数据，数据name为setback，value为模板原本的数据。此时就存在了一条备份数据。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;这个操作完成后会触发个小问题，比较影响体验的。就是在点击还原按钮时网页是先刷新后执行php还原语句的，也就是说还原完成后，你看到的模板设置页面数据并没有还原，但是实际数据库里面已经还原好了的，这一点很影响体验。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;于是乎，我鸡贼的弄了个js自动刷新语句，并发出提示文字，这样一下子就友好多了，注意文章中代码方面我并未给出css样式，所以美观度上需要自行优化。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; 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: 0px; padding: 8px 0px; border: 0px; vertical-align: baseline; 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;1，其实这东西应该可以写成懒人版的，模板名字什么的用php获取下，就不用我这样写死了，但是当时我处于试一试的心态写的，所以就能简单就简单了，现在又懒得弄了，要不是为了水文，这个我都懒得贴出来。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;2，别看文章中代码这么乱，条例就不清晰，其实我当时找了张纸写的逻辑然后才按照顺序一步一步的写的，也测试了很多回。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;3，最开始想写自动还原模板数据来着，就是检测到模板启用就自动还原曾经的备份数据，然而当时想不通如果去判断模板启用。&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, 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; outline: 0px; line-height: 1.95em; text-indent: 2em; text-align: justify; color: rgb(42, 42, 42); word-break: break-all; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;4，当你想将本文章代码投入使用时，最好再测试博客进行测试，以免伤害你的数据库，同时建议测试时打开数据库管理页面，观看数据库对应表的变化。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 28 May 2022 01:18:56 +0800</pubDate></item><item><title>解决360浏览器开机启动的情况</title><link>https://123000.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://123000.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://123000.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;</description><pubDate>Sat, 23 Apr 2022 15:44:42 +0800</pubDate></item><item><title>[转]开启腾讯版的BBR-TCPA安装教程</title><link>https://123000.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://123000.xyz/zb_users/upload/2022/04/20220423100420_59679.gif&quot; data-source=&quot;https://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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://123000.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></channel></rss>