<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>XY-works</title><link>http://blog.xyworks.net/</link><description>Hello, world!</description><generator>RainbowSoft Studio Z-Blog 2.2 Prism Build 140101</generator><language>zh-CN</language><pubDate>Fri, 09 Jan 2026 06:56:56 +0800</pubDate><item><title>windows Server 拨号VPS</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/95.html</link><pubDate>Wed, 01 Jun 2022 15:52:10 +0800</pubDate><guid>http://blog.xyworks.net/post/95.html</guid><description><![CDATA[<p>母鸡</p><p>防火墙中增设对应的VPS端口号</p><p>路由映射</p><p><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"></span><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">1、查看本电脑映射</span><br style="box-sizing: border-box; color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"/><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">netsh interface portproxy show all</span><br style="box-sizing: border-box; color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"/><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">2、将母鸡6032端口，映射到设备192.168.1.6上的6031 端口</span><br style="box-sizing: border-box; color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"/><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">netsh interface portproxy add v4tov4 listenport=6032 connectport=6031 connectaddress=192.168.1.6</span><br style="box-sizing: border-box; color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"/><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">3、删除映射</span><br style="box-sizing: border-box; color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"/><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">netsh interface portproxy delete v4tov4 listenport=6032 listenaddress=1192.168.1.6</span><br style="box-sizing: border-box; color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"/><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">4、重新加载映射</span><br style="box-sizing: border-box; color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"/><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">netsh interface portproxy reset</span><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"></span></p><p><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><br/></span></p><p><span style="color: rgb(77, 77, 77); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">VPS</span></p><p><font color="#4d4d4d" face="Microsoft YaHei, SF Pro Display, Roboto, Noto, Arial, PingFang SC, sans-serif"><span style="font-size: 16px; background-color: rgb(255, 255, 255);">本地网卡：192.168.1.100 掩码：255.255.255.0&nbsp; 网关：无</span></font></p><p><font color="#4d4d4d" face="Microsoft YaHei, SF Pro Display, Roboto, Noto, Arial, PingFang SC, sans-serif"><span style="font-size: 16px; background-color: rgb(255, 255, 255);"><span style="color: rgb(51, 51, 51); font-family: &quot;Microsoft Yahei&quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; background-color: rgb(255, 255, 255);">添加路由指定：route -p add 192.168.1.0&nbsp; mask 255.255.255.0 192.168.1.1</span></span></font></p><p><font color="#4d4d4d" face="Microsoft YaHei, SF Pro Display, Roboto, Noto, Arial, PingFang SC, sans-serif"><span style="font-size: 16px; background-color: rgb(255, 255, 255);"><span style="color: rgb(51, 51, 51); font-family: &quot;Microsoft Yahei&quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; background-color: rgb(255, 255, 255);">（<span style="color: rgb(51, 51, 51); font-family: &quot;Microsoft Yahei&quot;, 微软雅黑, arial, 宋体, sans-serif; font-size: 16px; text-align: justify; background-color: rgb(255, 255, 255);">内网添加一条静态路由，代表凡是192.168.1.0网段的ip访问都是通过192.168.1.1这个网关进行转发，其它的都通过外网进行访问。这样我们就可以正常访问内外网了。要删除这个静态路由，只需要输入这个回车就可以了，route delete 192.168.1.0。</span>）</span></span></font></p>]]></description><category>Windows</category><comments>http://blog.xyworks.net/post/95.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=95</wfw:commentRss></item><item><title>debian 更新163数据源</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/94.html</link><pubDate>Wed, 15 Dec 2021 16:16:40 +0800</pubDate><guid>http://blog.xyworks.net/post/94.html</guid><description><![CDATA[<p><kbd style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 13.3333px; font-family: inherit; vertical-align: baseline; color: rgb(34, 34, 34); white-space: normal; background-color: rgb(255, 255, 255);">修改数据源列表</kbd></p><p><kbd style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 13.3333px; font-family: inherit; vertical-align: baseline; color: rgb(34, 34, 34); white-space: normal; background-color: rgb(255, 255, 255);">nano /etc/apt/sources.list</kbd></p><p><span style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 13.3333px; background-color: rgb(255, 255, 255);">将其中原先内容全部注释点</span></p><p><span style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 13.3333px; background-color: rgb(255, 255, 255);">添加如下163源</span></p><p><span style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 13.3333px; background-color: rgb(255, 255, 255);">&nbsp;</span></p><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; transition-duration: 0.2s; transition-property: background-color, border-color, border-radius, padding, margin, color, opacity; overflow: auto; font-family: &quot;Courier New&quot;; font-size: 12px; overflow-wrap: break-word;">deb&nbsp;http://mirrors.163.com/debian/&nbsp;buster&nbsp;main&nbsp;non-free&nbsp;contrib
deb&nbsp;http://mirrors.163.com/debian/&nbsp;buster-updates&nbsp;main&nbsp;non-free&nbsp;contrib
deb&nbsp;http://mirrors.163.com/debian/&nbsp;buster-backports&nbsp;main&nbsp;non-free&nbsp;contrib
deb&nbsp;http://mirrors.163.com/debian-security/&nbsp;buster/updates&nbsp;main&nbsp;non-free&nbsp;contrib
deb-src&nbsp;http://mirrors.163.com/debian/&nbsp;buster&nbsp;main&nbsp;non-free&nbsp;contrib
deb-src&nbsp;http://mirrors.163.com/debian/&nbsp;buster-updates&nbsp;main&nbsp;non-free&nbsp;contrib
deb-src&nbsp;http://mirrors.163.com/debian/&nbsp;buster-backports&nbsp;main&nbsp;non-free&nbsp;contrib
deb-src&nbsp;http://mirrors.163.com/debian-security/&nbsp;buster/updates&nbsp;main&nbsp;non-free&nbsp;contrib</pre><p><span style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 13.3333px; background-color: rgb(255, 255, 255);"></span>Ctrl+O&nbsp; 保存</p><p>Ctrl+X 退出</p><p><br/></p>]]></description><category>Linux</category><comments>http://blog.xyworks.net/post/94.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=94</wfw:commentRss></item><item><title>Hyper-v下安装网络流量监测图形分析工具 Cacti失败解决方法</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/93.html</link><pubDate>Tue, 09 Nov 2021 22:01:36 +0800</pubDate><guid>http://blog.xyworks.net/post/93.html</guid><description><![CDATA[<p>解决方法：虚拟机开设完成后进入虚拟机设置界面删除网卡&nbsp;&nbsp;<strong style="font-family: -apple-system, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;WenQuanYi Micro Hei&quot;, &quot;Microsoft Yahei&quot;, sans-serif; -webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; color: rgb(23, 35, 63); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color:#ff0000;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px;">点击 添加硬件 旧版网络适配器 即可正常安装了</span></strong></p><p><strong style="font-family: -apple-system, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;WenQuanYi Micro Hei&quot;, &quot;Microsoft Yahei&quot;, sans-serif; -webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; color: rgb(23, 35, 63); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color:#ff0000;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px;"><br/></span></strong></p><p><strong style="font-family: -apple-system, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;WenQuanYi Micro Hei&quot;, &quot;Microsoft Yahei&quot;, sans-serif; -webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; color: rgb(23, 35, 63); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color:#ff0000;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px;"><br/></span></strong></p><p><strong style="font-family: -apple-system, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;WenQuanYi Micro Hei&quot;, &quot;Microsoft Yahei&quot;, sans-serif; -webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; color: rgb(23, 35, 63); font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color:#ff0000;-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px;"><br/></span></strong></p>]]></description><category>Hyper-V</category><comments>http://blog.xyworks.net/post/93.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=93</wfw:commentRss></item><item><title>docker青龙面板的安装与使用</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/92.html</link><pubDate>Thu, 14 Oct 2021 11:12:34 +0800</pubDate><guid>http://blog.xyworks.net/post/92.html</guid><description><![CDATA[<h2 style="margin: 0px 0px calc(1.16667em); font-variant-numeric: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; clear: left; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">1.安装docker</h2><ul style="padding: 0px; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>使用 root 权限登录 Centos。确保 yum 包更新到最新。</p></li></ul><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">sudo&nbsp;yum&nbsp;update</pre></div><ul style="padding: 0px; margin-top: 1.4em; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>安装的yum工具集</p></li></ul><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">yum&nbsp;install&nbsp;-y&nbsp;yum-utils</pre></div><ul style="padding: 0px; margin-top: 1.4em; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>安装docker-ce的yum源:</p></li></ul><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">yum-config-manager&nbsp;--add-repo&nbsp;https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo</pre></div><ul style="padding: 0px; margin-top: 1.4em; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>安装docker-ce</p></li></ul><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">dnf&nbsp;install&nbsp;docker-ce</pre></div><p style="margin-top: 0px; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">或者用yum安装</p><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">yum&nbsp;install&nbsp;docker-ce</pre></div><blockquote style="margin: 1.4em 0px; padding-left: 1em; color: rgb(100, 100, 100); border-left: 3px solid rgb(211, 211, 211); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">查看docker服务状态:</blockquote><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">systemctl&nbsp;status&nbsp;docker.service</pre></div><blockquote style="margin: 1.4em 0px; padding-left: 1em; color: rgb(100, 100, 100); border-left: 3px solid rgb(211, 211, 211); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">开启自启动:</blockquote><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">systemctl&nbsp;enable&nbsp;docker.service</pre></div><blockquote style="margin: 1.4em 0px; padding-left: 1em; color: rgb(100, 100, 100); border-left: 3px solid rgb(211, 211, 211); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">开启服务:</blockquote><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">systemctl&nbsp;start&nbsp;docker.service</pre><code class="language-text" style="margin: 0px; padding: 0px; border-radius: 0px; font-family: Menlo, Monaco, Consolas, &quot;Andale Mono&quot;, &quot;lucida console&quot;, &quot;Courier New&quot;, monospace; font-size: inherit; background-color: inherit;"><br/></code></div><p><br/></p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; clear: left; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">2.青龙面板安装</h2><ul style="padding: 0px; margin-top: 1.4em; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>拉取青龙的镜像文件（官方）</p></li></ul><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">docker&nbsp;pull&nbsp;whyour/qinglong:latest</pre></div><ul style="padding: 0px; margin-top: 1.4em; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>创建容器</p></li></ul><pre data-find="_11" style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px; color: rgb(18, 18, 18);">docker&nbsp;run&nbsp;-dit&nbsp;\
-v&nbsp;$pwd/ql/config:/ql/config&nbsp;\
-v&nbsp;$pwd/ql/log:/ql/log&nbsp;\
-v&nbsp;$pwd/ql/db:/ql/db&nbsp;\
-v&nbsp;$pwd/ql/scripts:/ql/scripts&nbsp;\
-v&nbsp;$pwd/ql/jbot:/ql/jbot&nbsp;\
-v&nbsp;$pwd/ql/repo:/ql/repo&nbsp;\
-p&nbsp;5700:5700&nbsp;\
-e&nbsp;ENABLE_HANGUP=true&nbsp;\
-e&nbsp;ENABLE_WEB_PANEL=true&nbsp;\
--name&nbsp;qinglong&nbsp;\
--hostname&nbsp;qinglong&nbsp;\
--restart&nbsp;always&nbsp;\
whyour/qinglong:latest</pre><p><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);">然后就可以通过</span><a href="https://link.zhihu.com/?target=http%3A//ip%3A5700" class=" external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; cursor: pointer; border-bottom: 1px solid rgb(128, 128, 128); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span class="invisible" style="font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;">http://</span><span class="visible">ip:5700</span><span class="invisible" style="font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;"></span></a><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);">访问面板了</span></p><p><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);"><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);">默认账号：admin 密码：admin</span></span></p><p><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);"><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);"><br/></span></span></p><p><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);"><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);"></span></span></p><p style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">反回到shell 输入：</p><div class="highlight" style="margin: 1em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; word-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">cat&nbsp;/ql/config/auth.json</pre></div><blockquote style="margin: 1.4em 0px; padding-left: 1em; color: rgb(100, 100, 100); border-left: 3px solid rgb(211, 211, 211); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">输出的结果就是实际的密码了<br/>{&quot;username&quot;:&quot;admin&quot;,&quot;password&quot;:&quot;******&quot;</blockquote><p><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);"><span style="color: rgb(100, 100, 100); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; background-color: rgb(255, 255, 255);"><br/></span></span><br/></p>]]></description><category>网站程序</category><comments>http://blog.xyworks.net/post/92.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=92</wfw:commentRss></item><item><title>centos7  修改端口号 防火墙 </title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/91.html</link><pubDate>Wed, 07 Jul 2021 16:35:28 +0800</pubDate><guid>http://blog.xyworks.net/post/91.html</guid><description><![CDATA[<h1 style="word-wrap: break-word; margin: 8px 0px; padding: 0px; font-size: 1.17em; line-height: normal; width: 1595px; color: rgb(68, 68, 68); font-family: Verdana, Helvetica, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);">centos7&nbsp;</h1><p>修改端口号<br/></p><ol style="word-wrap: break-word; line-height: normal; margin-left: 10px; padding: 0px; color: rgb(68, 68, 68); font-family: Verdana, Helvetica, Arial, sans-serif; white-space: normal; background-color: rgb(247, 247, 247);" class=" list-paddingleft-2"><li><p>sed -i &quot;s/#Port 22/Port 56123/&quot; /etc/ssh/sshd_<span href="tag.php?name=conf" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom: 1px solid rgb(255, 0, 0);">conf</span>ig;<span href="tag.php?name=firewall" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom: 1px solid rgb(255, 0, 0);">firewall</span>-cmd --permanent --zone=<span href="tag.php?name=public" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom: 1px solid rgb(255, 0, 0);">public</span>&nbsp;--add-port=56123/tcp;firewall-cmd --reload<br style="word-wrap: break-word; line-height: normal;"/></p></li><li><p>service sshd re<span href="tag.php?name=start" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom: 1px solid rgb(255, 0, 0);">start</span></p></li></ol><p><br/></p><p>开放防火墙</p><ol style="word-wrap: break-word; line-height: normal; margin-left: 10px; padding: 0px; color: rgb(68, 68, 68); font-family: Verdana, Helvetica, Arial, sans-serif; white-space: normal; background-color: rgb(247, 247, 247);" class=" list-paddingleft-2"><li><p>firewall-cmd --permanent --zone=public --add-port=56123/tcp;firewall-cmd --reload<br style="word-wrap: break-word; line-height: normal;"/></p></li><li><p>service sshd res<span href="tag.php?name=tar" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom: 1px solid rgb(255, 0, 0);">tar</span>t</p></li></ol><p><br/></p>]]></description><category>Linux</category><comments>http://blog.xyworks.net/post/91.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=91</wfw:commentRss></item><item><title>centos7使用dd命令测试磁盘读写性能</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/90.html</link><pubDate>Tue, 27 Apr 2021 11:20:02 +0800</pubDate><guid>http://blog.xyworks.net/post/90.html</guid><description><![CDATA[<p><span style="box-sizing: border-box; outline: 0px; font-weight: 700; word-wrap: break-word; color: rgb(77, 77, 77); font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: 16px; font-variant-ligatures: common-ligatures; background-color: rgb(255, 255, 255);">创建测试目录</span></p><p><span style="box-sizing: border-box; outline: 0px; font-weight: 700; word-wrap: break-word; color: rgb(77, 77, 77); font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: 16px; font-variant-ligatures: common-ligatures; background-color: rgb(255, 255, 255);"><span class="token function" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(97, 174, 238); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">mkdir</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"> -p /root/test</span></span></p><p><span style="box-sizing: border-box; outline: 0px; font-weight: 700; word-wrap: break-word; color: rgb(77, 77, 77); font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: 16px; font-variant-ligatures: common-ligatures; background-color: rgb(255, 255, 255);"><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"><br/></span></span></p><p></p><ul style="list-style-type: none;" class=" list-paddingleft-2"><li><p>测试写入速度</p></li></ul><p><span class="token function" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(97, 174, 238); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">time</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"> </span><span class="token function" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(97, 174, 238); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">dd</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"> if</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">/dev/zero of</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">/root/test/out bs</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">8k oflag</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">direct count</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">500000</span><span style="box-sizing: border-box; outline: 0px; font-weight: 700; word-wrap: break-word; color: rgb(77, 77, 77); font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: 16px; font-variant-ligatures: common-ligatures; background-color: rgb(255, 255, 255);"><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"></span></span><br/></p><p><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"><br/></span></p><p></p><ul style="list-style-type: none;" class=" list-paddingleft-2"><li><p>测试读取速度</p></li></ul><p><span class="token function" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(97, 174, 238); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">time</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"> </span><span class="token function" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(97, 174, 238); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">dd</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"> if</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">/root/test/out of</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">/dev/null bs</span><span class="token operator" style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; word-wrap: normal; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(102, 153, 0); word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-stretch: normal !important; line-height: normal !important;">=</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);">8k</span><span style="color: rgb(171, 178, 191); font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(40, 44, 52);"></span><br/></p>]]></description><category>Linux</category><comments>http://blog.xyworks.net/post/90.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=90</wfw:commentRss></item><item><title>/dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/89.html</link><pubDate>Mon, 08 Feb 2021 17:11:57 +0800</pubDate><guid>http://blog.xyworks.net/post/89.html</guid><description><![CDATA[<p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255); line-height: 26px !important;">系统强制断电后，出现以下错误：</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255); line-height: 26px !important;">/dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255); line-height: 26px !important;">启动系统后在字符界面有两个选项，输入root密码进入维护模式或者输入Ctrl-D，现输入root密码登录系统，然后执行</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255); line-height: 26px !important;">fsck -y /dev/sda3&nbsp;</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255); line-height: 26px !important;">-y表示对所有的提问应答为yes，然后reboot重启即可。</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255); line-height: 26px !important;">&nbsp;</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: rgb(77, 77, 77); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255); line-height: 26px !important;">小结：输入root密码进入维护模式，fsck -y /dev/所在分区，重启。</p><p><br/></p>]]></description><category>Linux</category><comments>http://blog.xyworks.net/post/89.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=89</wfw:commentRss></item><item><title>CentOS 7安装Google BBR</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/87.html</link><pubDate>Tue, 05 Jan 2021 21:19:41 +0800</pubDate><guid>http://blog.xyworks.net/post/87.html</guid><description><![CDATA[<p>检查系统内核</p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">uname&nbsp;-r</pre><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">3.10.0-514.2.2.el7.x86_64(系统当前内核)</pre><p>升级系统内核<br/></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">sudo&nbsp;rpm&nbsp;--import&nbsp;https://www.elrepo.org/RPM-GPG-KEY-elrepo.org</pre><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">sudo&nbsp;rpm&nbsp;-Uvh&nbsp;http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm</pre><p>安装系统内核</p><pre style="margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; border-radius: 3px; background-color: rgb(242, 245, 255); box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; border: none; color: rgb(82, 86, 102); white-space: normal;">sudo&nbsp;yum&nbsp;--enablerepo=elrepo-kernel&nbsp;install&nbsp;kernel-ml&nbsp;-y</pre><p>检查内核是否安装成功<br/></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">rpm&nbsp;-qa&nbsp;|&nbsp;grep&nbsp;kernel</pre><p>注意：<span style="color: rgb(255, 56, 96); font-family: monospace, monospace; font-size: 15px; background-color: rgb(245, 245, 245);">kernel-ml-4.9.0-1.el7.elrepo.x86_64有该项或者5.*.*即表示内核安装成功</span></p><p><span style="font-family: monospace, monospace; font-size: 15px; background-color: rgb(245, 245, 245);"></span></p><p><span style="font-family: monospace, monospace; font-size: 15px; background-color: rgb(245, 245, 245);">设置启动内核</span></p><p><span style="font-family: monospace, monospace; font-size: 15px; background-color: rgb(245, 245, 245);"></span></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">sudo&nbsp;egrep&nbsp;^menuentry&nbsp;/etc/grub2.cfg&nbsp;|&nbsp;cut&nbsp;-f&nbsp;2&nbsp;-d&nbsp;\&#39;</pre><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">CentOS&nbsp;Linux&nbsp;7&nbsp;Rescue&nbsp;a0cbf86a6ef1416a8812657bb4f2b860&nbsp;(4.9.0-1.el7.elrepo.x86_64)
CentOS&nbsp;Linux&nbsp;(4.9.0-1.el7.elrepo.x86_64)&nbsp;7&nbsp;(Core)
CentOS&nbsp;Linux&nbsp;(3.10.0-514.2.2.el7.x86_64)&nbsp;7&nbsp;(Core)
CentOS&nbsp;Linux&nbsp;(3.10.0-514.el7.x86_64)&nbsp;7&nbsp;(Core)
CentOS&nbsp;Linux&nbsp;(0-rescue-bf94f46c6bd04792a6a42c91bae645f7)&nbsp;7&nbsp;(Core)</pre><p><span style="font-family: monospace, monospace; font-size: 15px; background-color: rgb(245, 245, 245);"></span>注意：</p><pre style="margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; border-radius: 3px; background-color: rgb(242, 245, 255); box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; border: none; color: rgb(82, 86, 102); white-space: normal;"><span style="color: rgb(255, 0, 0);">CentOS&nbsp;Linux&nbsp;(4.9.0-1.el7.elrepo.x86_64)&nbsp;7&nbsp;(Core)在第几行 就输入几 第一行是0 第二行是1</span><br/></pre><p></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">sudo&nbsp;grub2-set-default&nbsp;1</pre><p><span style="color: rgb(0, 0, 0);"></span><br/></p><p>重启系统<br/></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">sudo&nbsp;shutdown&nbsp;-r&nbsp;now</pre><p><br/></p><p>再次检查内核</p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">uname&nbsp;-r</pre><p>显示：</p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">4.9.0-1.el7.elrepo.x86_64</pre><p>代表内核启动成功</p><p><br/></p><p>安装Google BBR</p><p><br/></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">echo&nbsp;&#39;net.core.default_qdisc=fq&#39;&nbsp;|&nbsp;sudo&nbsp;tee&nbsp;-a&nbsp;/etc/sysctl.conf
echo&nbsp;&#39;net.ipv4.tcp_congestion_control=bbr&#39;&nbsp;|&nbsp;sudo&nbsp;tee&nbsp;-a&nbsp;/etc/sysctl.conf
sudo&nbsp;sysctl&nbsp;-p</pre><p>依次输入上面三指令</p><p><br/></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">sudo&nbsp;sysctl&nbsp;net.ipv4.tcp_available_congestion_control</pre><p>显示：</p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">net.ipv4.tcp_available_congestion_control&nbsp;=&nbsp;bbr&nbsp;cubic&nbsp;reno</pre><p>正常</p><p><br/></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">sudo&nbsp;sysctl&nbsp;-n&nbsp;net.ipv4.tcp_congestion_control</pre><p>显示：</p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">bbr</pre><p>正常</p><p><br/></p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">lsmod&nbsp;|&nbsp;grep&nbsp;bbr</pre><p>显示</p><pre style="box-sizing: border-box; font-family: monospace, monospace; font-size: 15px; overflow: auto; margin-top: 0px; margin-bottom: 1rem; padding: 9px 16px; background-color: rgb(242, 245, 255); border: none; color: rgb(82, 86, 102); white-space: normal; border-radius: 3px;">tcp_bbr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16384&nbsp;&nbsp;0</pre><p><br/></p><p>到此GoogleBBR安装结束</p>]]></description><category>Linux</category><comments>http://blog.xyworks.net/post/87.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=87</wfw:commentRss></item><item><title>Centos7升级内核后无法启动解决办法:mpt[23]sas驱动问题</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/86.html</link><pubDate>Tue, 05 Jan 2021 21:05:21 +0800</pubDate><guid>http://blog.xyworks.net/post/86.html</guid><description><![CDATA[<p><img src="http://blog.xyworks.net/zb_users/upload/2021/1/2021010575972953.jpg" title="QQ图片20210105210544.jpg" style="width: 613px; height: 309px;"/></p><p><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10.8333px; background-color: rgb(254, 254, 242);">CentOS 7.* 从内核 3.10.0 升级到 5.*.*后，重启不了，原因是 Linux 内核 4.4.x 版本之后，dracut 命令生成的 initramfs 默认不会自动加载 mpt3sas 驱动模块。因为没有对应的驱动程序，所以识别不了系统盘</span></p><p></p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">1.&nbsp;查询3.10.0 initramfs的驱动</p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">[root@localhost ~]# lsinitrd -k 3.10.0-957.el7.x86_64 | grep mpt[23]sas<span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(254, 254, 242);">（<span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(254, 254, 242);">3.10.0-957.el7.x86_64</span>对应相应的内核目录 ）</span></p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">drwxr-xr-x 2 root root 0 Nov 12 19:24 usr/lib/modules/3.10.0-957.el7.x86_64/kernel/drivers/scsi/mpt3sas<br style="margin: 0px; padding: 0px;"/>-rw-r--r-- 1 root root 92972 Nov 9 2018 usr/lib/modules/3.10.0-957.el7.x86_64/kernel/drivers/scsi/mpt3sas/mpt2sas.ko.xz<br style="margin: 0px; padding: 0px;"/>[root@localhost ~]#</p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">可以看到在3.10内核的时候是mpt2sas驱动,可以在5.x内核中看到,新版的内核已经把mpt2sas升级为mpt3sas<br style="margin: 0px; padding: 0px;"/>[root@localhost ~]# ls /usr/lib/modules/5.3.6-1.el7.elrepo.x86_64/kernel/drivers/scsi/mpt3sas/mpt3sas.ko&nbsp;<br style="margin: 0px; padding: 0px;"/>/usr/lib/modules/5.3.6-1.el7.elrepo.x86_64/kernel/drivers/scsi/mpt3sas/mpt3sas.ko<br style="margin: 0px; padding: 0px;"/>[root@localhost ~]#</p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);"><br style="margin: 0px; padding: 0px;"/>查询5.3.6&nbsp;initramfs的驱动,&nbsp;可以看到并没有输出，说明initramfs并没有把这个驱动打进去<br style="margin: 0px; padding: 0px;"/>[root@localhost ~]# lsinitrd -k 5.3.6-1.el7.elrepo.x86_64 | grep mpt[23]sas<span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(254, 254, 242);">（5.3.6-1.el7.elrepo.x86_64对应相应的内核目录）</span></p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);"><br/></p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">2.&nbsp;两种解决方法：<br style="margin: 0px; padding: 0px;"/>方法1：<br style="margin: 0px; padding: 0px;"/>1）.&nbsp;修改 /etc/dracut.conf文件，增加字段<br style="margin: 0px; padding: 0px;"/>sed -i &#39;/#add_drivers+=&quot;&quot;/aadd_drivers+=&quot;mpt3sas&quot;&#39; /etc/dracut.conf（直接输入命令）<br style="margin: 0px; padding: 0px;"/>2）重新生成initramfs<br style="margin: 0px; padding: 0px;"/>cd /boot/<br style="margin: 0px; padding: 0px;"/>mv initramfs-5.3.6-1.el7.elrepo.x86_64.img{,.bak}（备份原先启动文件 可跳过）<br style="margin: 0px; padding: 0px;"/>dracut -f /boot/initramfs-5.3.6-1.el7.elrepo.x86_64.img 5.3.6-1.el7.elrepo.x86_64（5.3.6-1.el7.elrepo.x86_64对应相应的内核目录）</p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">方法2：<br style="margin: 0px; padding: 0px;"/>强制加载驱动<br style="margin: 0px; padding: 0px;"/>dracut --force --add-drivers mpt3sas --kver=5.3.6</p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">以上方法二选一做下驱动的集成，然后做下面的检查<br style="margin: 0px; padding: 0px;"/>lsinitrd -k 5.3.6-1.el7.elrepo.x86_64 | grep mpt[23]sas<span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(254, 254, 242);">（5.3.6-1.el7.elrepo.x86_64对应相应的内核目录）</span></p><p style="margin: 10px auto; padding: 0px; line-height: 1.5; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(254, 254, 242);">如果有输出就是正常了的, 然后重启操作系统即可</p><p><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10.8333px; background-color: rgb(254, 254, 242);"><br/></span><br/></p>]]></description><category>Linux</category><comments>http://blog.xyworks.net/post/86.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=86</wfw:commentRss></item><item><title>CDN流程</title><author>null@null.com (xpibm)</author><link>http://blog.xyworks.net/post/85.html</link><pubDate>Sun, 28 Jun 2020 16:25:36 +0800</pubDate><guid>http://blog.xyworks.net/post/85.html</guid><description><![CDATA[<p><img src="http://blog.xyworks.net/zb_users/upload/2020/6/2020062859151425.png" title="QQ图片20200628162412.png"/></p><p>根据这个流程图，我们可以分析出几个影响收益的点：<br/><br/>1. CDN缓存数据的大小<br/>&nbsp;&nbsp;&nbsp;缓存越多，矿机可以抢的单越多。</p><p><br/>2.&nbsp;CDN所在地区的视频观看需求量<br/>&nbsp;&nbsp;&nbsp;矿机所在地区，观看视频的人越多，CDN可以抢的单越多。</p><p><br/>3.&nbsp;宽带的上行带宽大小<br/>&nbsp;&nbsp;&nbsp;&nbsp;如果说上传的数据是车辆，那么上行带宽就是马路，马路越宽（上行带宽越大），单位时间可通过的车越多（同时进行的上传任务越多）。</p><p><br/>4.&nbsp;宽带的网络质量<br/>还是以马路为例，马路的路面越平整（网络质量越好），车辆可以开的很稳（上传越稳定）。</p><p><br/>5.&nbsp;CDN机的稳定性<br/>同上</p><p><br/></p><p>影响CDN收益的因素<br/><br/>.提供足够大的硬盘来提供足够的空间来缓存热门视频。<br/><br/>.开启UPNP NAT模式,&nbsp;让更多的消费者可以连接到自己的矿机。<br/><br/>.使用SSD来提高抢单成功率。（读写快的硬盘）<br/><br/>.区域影响，CDN本地商业使用量。</p>]]></description><category>区域链数字货币/CDN</category><comments>http://blog.xyworks.net/post/85.html#comment</comments><wfw:commentRss>http://blog.xyworks.net/feed.asp?cmt=85</wfw:commentRss></item></channel></rss>
