<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>网吧VIP</title><link>https://www.wbvip.cc/</link><description>网吧特权之家</description><item><title>ubuntu22 安装 sofether 最新版</title><link>https://www.wbvip.cc/post/41.html</link><description>&lt;p&gt;获取下载包连接&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.softether-download.com/cn.aspx?product=softether&quot; _src=&quot;https://www.softether-download.com/cn.aspx?product=softether&quot;&gt;https://www.softether-download.com/cn.aspx?product=softether&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;下载&lt;/p&gt;&lt;p&gt;wget&amp;nbsp;&lt;a href=&quot;https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz&quot; _src=&quot;https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz&quot;&gt;https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;解压&lt;/p&gt;&lt;p&gt;tar -zxf softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;移动&lt;/p&gt;&lt;p&gt;sudo mv vpnserver /usr/local&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;给文件权限&lt;/p&gt;&lt;p&gt;cd /usr/local/vpnserver/&lt;/p&gt;&lt;p&gt;sudo chmod 600 *&lt;/p&gt;&lt;p&gt;sudo chmod 700 vpnserver&lt;/p&gt;&lt;p&gt;sudo chmod 700 vpncmd&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;安装&lt;br/&gt;&lt;/p&gt;&lt;p&gt;sudo make&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;完成，可启动测试&lt;/p&gt;&lt;p&gt;sudo ./vpnserver start&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;若要开机启动如下：&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;创建系统服务&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;sudo vi /lib/systemd/system/vpnserver.service&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;内容为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;[Unit]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;Description=SoftEther VPN Server&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;After=network.target&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;[Service]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;Type=forking&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;ExecStart=/usr/local/vpnserver/vpnserver start&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;ExecStop=/usr/local/vpnserver/vpnserver stop&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;[Install]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;WantedBy=multi-user.target&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;设置开机启动服务&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;systemctl enable vpnserver.service&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;OK,重启测试&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;其他：(&lt;span style=&quot;text-wrap: wrap;&quot;&gt;检查能否在我们的服务器上正常运行&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;cd /usr/local/vpnserver/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;./vpncmd&lt;/p&gt;&lt;p&gt;输入3&lt;/p&gt;&lt;p&gt;输入check&lt;/p&gt;&lt;p&gt;出现 All checks passed 说明正常&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: wrap;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 06 Feb 2024 01:31:27 +0800</pubDate></item><item><title>CentOS 搭建Softether服务器</title><link>https://www.wbvip.cc/post/40.html</link><description>&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;登录Sofether下载网站&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;http://softether-download.com/cn.aspx&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;查看最新的版本及下载地址，并用wget命令下载：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;注意：请区分你的系统，下载你系统对应的文件，如果不知道，可以先ARM64 或&amp;nbsp; Intel x64 如果编译不出错，则代表正常&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;wget https://www.softether-download.com/files/softether/v4.43-9799-beta-2023.08.31-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;下载完毕后用解压&lt;/p&gt;&lt;/div&gt;&lt;p&gt;tar zxf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz&lt;/p&gt;&lt;p&gt;进入解压后的目录：

cd vpnserver&lt;/p&gt;&lt;p&gt;编译：make&lt;/p&gt;&lt;p&gt;(如果编译出错，请下载对应您系统的安装包)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;启动&lt;/p&gt;&lt;/div&gt;&lt;p&gt;./vpnserver start&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;把Softether VPN Server添加到开机启动&lt;/p&gt;&lt;/div&gt;&lt;p&gt;chmod +x /etc/rc.d/rc.local&lt;/p&gt;&lt;p&gt;vim /etc/rc.d/rc.local&lt;/p&gt;&lt;p&gt;在最后面加上 /root/vpnserver/vpnserver start&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;最后使用&amp;nbsp;SoftEther VPN Server 管理工具&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;最后使用&amp;nbsp;SoftEther VPN Server 管理工具 配置即可&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;若&amp;nbsp;SoftEther VPN Server 管理工具 无法连接，需要配置防火墙&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;1、默认Softether监听端口有443,992,1194,5555端口。这里以放开5555端口为管理端口为例，以便Windows端的“SoftEther VPN Server 管理工具”能够通过这个端口连接到这台服务器。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;输入命令：&lt;/span&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;firewall-cmd --zone=public --add-port=5555/tcp --permanent&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;2、重新加载防火墙配置：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;firewall-cmd --reload&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;这样，就可以在Windows端的“SoftEther VPN Server 管理工具”中添加并管理该服务器了&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/div&gt;</description><pubDate>Sun, 05 Nov 2023 02:27:39 +0800</pubDate></item><item><title>CentOS 搭建Socks5代理服务器</title><link>https://www.wbvip.cc/post/39.html</link><description>&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;安装ss5&lt;/p&gt;&lt;/div&gt;&lt;p&gt;# 安装依赖程序&lt;/p&gt;&lt;p&gt;yum -y install&amp;nbsp; gcc openldap-devel pam-devel openssl-devel vim&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;# 下载ss5源码包&lt;/p&gt;&lt;p&gt;wget &lt;a href=&quot;http://jaist.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz&quot; _src=&quot;http://jaist.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz&quot;&gt;http://jaist.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;# 解压源码安装包&lt;/p&gt;&lt;p&gt;tar zxvf ss5-3.8.9-8.tar.gz&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;# 进入目录并编译安装&lt;/p&gt;&lt;p&gt;cd ss5-3.8.9 ; ./configure&lt;/p&gt;&lt;p&gt;make &amp;amp;&amp;amp; make install&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;修改配置文件&lt;/p&gt;&lt;/div&gt;&lt;p&gt;cp /etc/opt/ss5/ss5.conf /etc/opt/ss5/ss5.confbak&lt;/p&gt;&lt;p&gt;vim /etc/opt/ss5/ss5.conf&lt;/p&gt;&lt;p&gt;# 输入:set nu 可以标注行号，找到87行取消注释：#auth&amp;nbsp; &amp;nbsp; 0.0.0.0/0&lt;/p&gt;&lt;p&gt;auth&amp;nbsp; &amp;nbsp; 0.0.0.0/0&lt;/p&gt;&lt;p&gt;# 找到第203行取消注释，同时开启认证 【注意修改的那个u】 ：#permit -&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0/0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0/0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&lt;/p&gt;&lt;p&gt;permit u&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.0.0.0/0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0/0&amp;nbsp;&lt;/p&gt;&lt;p&gt;# 如果不需要添加用户密码认证仅去掉注释即可，有u表示用户认证，无u表示不需要用户认证，也不需要修改/etc/opt/ss5/ss5.passwd文件&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;创建ss5用户-如果无需用户认证，请忽略该步骤&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;在/etc/opt/ss5/ss5.passwd文件中可以添加用户名和密码，每行写一个用户名和密码，用户名和密码用空格隔开&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;例如：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;test 123456ss5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;修改ss5端口&lt;/p&gt;&lt;/div&gt;&lt;p&gt;修改服务配置文件&lt;/p&gt;&lt;p&gt;vim /etc/sysconfig/ss5&lt;/p&gt;&lt;p&gt;第2行取消注释，同时修改为自己需要的端口，默认端口为1080&lt;/p&gt;&lt;p&gt;SS5_OPTS=&amp;quot; -u root -b 0.0.0.0:9988&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;调整ss5性能&lt;/p&gt;&lt;/div&gt;&lt;p&gt;ulimit -SHn 10240&lt;/p&gt;&lt;p&gt;ulimit -SHs unlimited&lt;/p&gt;&lt;p&gt;echo 100000 &amp;gt;/proc/sys/net/nf_conntrack_max&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;修改ss5启动权限&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;修改执行权限并开机自启&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;chmod u+x /etc/rc.d/init.d/ss5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;chmod +x /etc/init.d/ss5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;chkconfig --add ss5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;启动ss5服务&lt;/p&gt;&lt;/div&gt;&lt;p&gt;systemctl start ss5&lt;/p&gt;&lt;p&gt;systemctl status ss5&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 05 Nov 2023 02:22:47 +0800</pubDate></item><item><title>ubuntu22 安装 socket5</title><link>https://www.wbvip.cc/post/38.html</link><description>&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;安装&lt;/p&gt;&lt;/div&gt;&lt;p&gt;sudo apt-get install dante-server&lt;/p&gt;&lt;p&gt;安装完后可使用 danted -v 查看版本信息&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;创建日志，可忽略&lt;/p&gt;&lt;/div&gt;&lt;p&gt;touch /var/log/socks5.log&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;创建用户，如果无需用户密码连接可忽略&lt;/p&gt;&lt;/div&gt;&lt;p&gt;sudo useradd -s /sbin/nologin test -g proxy&lt;/p&gt;&lt;p&gt;passwd test&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;danted.conf 配置文件常用参数&lt;/p&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 指定日志文件保存的绝对路径&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;logoutput:/var/log/socks5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 绑定网卡跟端口&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;internal: 0.0.0.0 port=1080&amp;nbsp; &amp;nbsp; &amp;nbsp;#&amp;nbsp; 进口 IP 或 网卡&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;external: eth0 port=1080&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&amp;nbsp; 出口 IP 或 网卡&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置 socks 身份验证方式&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socksmethod: username&amp;nbsp; &amp;nbsp;#&amp;nbsp; 如为 none 则表示不进行身份验证（rfc931）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socksmethod: pam&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&amp;nbsp; pam 身份验证&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置客户端规则&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;clientmethod: none&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 用户相关&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;user.privileged: proxy		#&amp;nbsp; 当做一些需要特权的事情时，会使用 proxy 用户的权限（默认有该行）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;user.unprivileged: nobody	#&amp;nbsp; 正常运行时，使用非特权用户 ID（默认有该行）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 如果编译时支持 libwrap，使用的用户 ID（ libwrap：服务程序安全增强工具，对有状态连接的特定服务进行安全检测并实现访问控制）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;user.libwrap: nobody		#&amp;nbsp; 默认有该行&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 兼容性相关&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;compatibility: sameport&amp;nbsp; &amp;nbsp; &amp;nbsp;#&amp;nbsp; 当客户端连接后，socks 服务器将尝试使用与客户端使用的端口相同（需设置为 root 特权）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;compatibility: reuseaddr&amp;nbsp; &amp;nbsp; #&amp;nbsp; 允许端口复用（加了此行会报错，此处解释仅作参考）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 启用绑定扩展&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;extension: bind&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 超时设置&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;timeout.negotiate: 30&amp;nbsp; &amp;nbsp;#&amp;nbsp; 设置连接超时时间&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;timeout.io: 0	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&amp;nbsp; 设置空闲超时时间（0 为永不超时）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 接受来自地址（DNS）的连接&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;srchost: nodnsunknown nodnsmismatch&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置访问规则&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;client pass {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clientmethod: rfc931		#&amp;nbsp; 匹配密码文件中的所有 ID 用户&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;client pass {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log: connect disconnect error	#&amp;nbsp; 记录连接、断开、报错信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socks pass {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from: 10.0.0.0/8 to: 0.0.0.0/0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protocol: tcp udp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置拒绝规则&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;client block {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 to: 0.0.0.0/0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log: connect disconnect error		#&amp;nbsp; 记录连接、断开、报错信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socks block {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 port 1-65535 to: 192.168.1.0/24&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log: connect disconnect error		#&amp;nbsp; 记录连接、断开、报错信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socks block {&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 to: lo0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log: connect disconnect error		#&amp;nbsp; 记录连接、断开、报错信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socks block {				&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&amp;nbsp; 阻止任何其他地址连接到 example.com 域&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 to: .example.com port = http&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log: connect disconnect error		#&amp;nbsp; 记录连接、断开、报错信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 添加路由（服务器链接）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;route {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp;from: 10.0.0.0/8 to: 0.0.0.0/0 port = http via: socks.example.net port = socks&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;配置SOCKS5，我的配置，无账号密码&lt;/p&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 指定日志文件保存的绝对路径&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;logoutput: /var/log/socks5.log&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 进口 IP 或 网卡&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;internal: eth0 port = 1080&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 进口网卡及端口&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;# internal: eth0 port = 9999&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 出口网卡&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;external: eth0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置代理方式（rfc931）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socksmethod: username || none&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置客户端规则&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;clientmethod: none&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置用户权限&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;user.privileged: root&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 非特权用户&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;user.notprivileged: nobody&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 如果编译时支持 libwrap，使用的用户 ID（ libwrap：服务程序安全增强工具，对有状态连接的特定服务进行安全检测并实现访问控制）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;user.libwrap: nobody&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;#&amp;nbsp; 设置访问规则&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;client pass {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&amp;nbsp; 记录连接、断开、报错信息&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log: connect disconnect error&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;socks pass {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protocol: tcp udp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap: nowrap;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;命令&lt;/p&gt;&lt;/div&gt;&lt;p&gt;编辑配置文件：sudo vim /etc/danted.conf&lt;/p&gt;&lt;p&gt;停止服务：systemctl stop danted&lt;/p&gt;&lt;p&gt;启动服务：systemctl start danted&lt;/p&gt;&lt;p&gt;重启服务：systemctl restart danted&lt;/p&gt;&lt;p&gt;查看服务状态：systemctl status danted&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 30 Jul 2023 16:03:53 +0800</pubDate></item><item><title>QQ网吧网关6月1日更新，当前机器已登录网关，请退出后重新登录 问题原因</title><link>https://www.wbvip.cc/post/37.html</link><description>&lt;p&gt;据实际情况了解，网关登录显示 “当前机器已登录网关，请退出后重新登录”是因为你的网关已经在其他地方登录，并且机器码与你这台机器一致，所以导致报错，为什么会报这个错误，因为你之前可能使用了一些共享手段，现在网关在6月1日更新后，如果有相同机器码的电脑登录了网关则无法在继续重复登录，如果你没有使用任何共享手段也登录不上，报此错误，可以修改密码后在重新尝试登录。那有没有其他办法解决这个问题呢，当然是有的，暂时就不写在这里公开了&amp;nbsp;&lt;img class=&quot;ue-emoticon&quot; src=&quot;https://www.wbvip.cc/zb_users/emotion/default/grin.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2023/06/202306039234_781.jpg&quot; title=&quot;微信图片_20230603032103.jpg&quot; alt=&quot;微信图片_20230603032103.jpg&quot;/&gt;&lt;/p&gt;</description><pubDate>Sat, 03 Jun 2023 03:19:37 +0800</pubDate></item><item><title>宝塔面板 Ubuntu 22 安装 mongodb 重启服务器后无法自动启动解决方案</title><link>https://www.wbvip.cc/post/36.html</link><description>&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;问题现象&lt;/p&gt;&lt;/div&gt;&lt;p&gt;宝塔面板 Ubuntu22 或者其他linux 安装 mongodb 重启服务器后无法自动启动，但是手动点击可以正常启动mongodb服务&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;原因&lt;/p&gt;&lt;/div&gt;&lt;p&gt;多数情况是因为mongodb的服务没有自动启动&lt;br/&gt;&lt;/p&gt;&lt;p&gt;分析了宝塔的mongodb的安装sh，其中使用了&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;chkconfig 进行添加服务&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;你的linux系统可能没有安装&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;chkconfig导致&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;chkconfig命令执行失败&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;解决方法&lt;/p&gt;&lt;/div&gt;&lt;p&gt;安装&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;chkconfig&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;安装&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;chkconfig的过程你可能会遇到的情况&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;color: #4D4D4D; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; background-color: #FFFFFF;&quot;&gt;Ubuntu 中 chkconfig 已经被 sysv-rc-conf 所替代,所以无法使用apt进行安装，你可能在网上查询了安装&lt;span style=&quot;color: #4D4D4D; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; background-color: #FFFFFF;&quot;&gt;sysv-rc-conf安装方法如下&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span class=&quot;token function&quot; style=&quot;font-size: 16px; font-variant-ligatures: no-common-ligatures; box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; overflow-wrap: normal; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; color: #DD4A68; word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-variant-east-asian: normal !important; font-variant-alternates: normal !important; font-kerning: auto !important; font-optical-sizing: auto !important; font-feature-settings: normal !important; font-variation-settings: normal !important; font-stretch: normal !important; line-height: normal !important;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color: #4D4D4D; font-size: 16px; font-variant-ligatures: no-common-ligatures; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; white-space: pre; background-color: #FAFAFA;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;font-size: 16px; font-variant-ligatures: no-common-ligatures; box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; overflow-wrap: normal; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; color: #DD4A68; word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-variant-east-asian: normal !important; font-variant-alternates: normal !important; font-kerning: auto !important; font-optical-sizing: auto !important; font-feature-settings: normal !important; font-variation-settings: normal !important; font-stretch: normal !important; line-height: normal !important;&quot;&gt;apt-get&lt;/span&gt;&lt;span style=&quot;color: #4D4D4D; font-size: 16px; font-variant-ligatures: no-common-ligatures; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; white-space: pre; background-color: #FAFAFA;&quot;&gt; update&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #4D4D4D; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; background-color: #FFFFFF;&quot;&gt;&lt;span style=&quot;color: #4D4D4D; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; background-color: #FFFFFF;&quot;&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; overflow-wrap: normal; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; color: #DD4A68; word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-variant-east-asian: normal !important; font-variant-alternates: normal !important; font-kerning: auto !important; font-optical-sizing: auto !important; font-feature-settings: normal !important; font-variation-settings: normal !important; font-stretch: normal !important; line-height: normal !important;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; overflow-wrap: normal; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; color: #DD4A68; word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-variant-east-asian: normal !important; font-variant-alternates: normal !important; font-kerning: auto !important; font-optical-sizing: auto !important; font-feature-settings: normal !important; font-variation-settings: normal !important; font-stretch: normal !important; line-height: normal !important;&quot;&gt;apt-get&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; overflow-wrap: normal; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; color: #DD4A68; word-break: break-all; white-space: pre; font-variant-numeric: normal !important; font-variant-east-asian: normal !important; font-variant-alternates: normal !important; font-kerning: auto !important; font-optical-sizing: auto !important; font-feature-settings: normal !important; font-variation-settings: normal !important; font-stretch: normal !important; line-height: normal !important;&quot;&gt;install&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt; sysv-rc-conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;可能会报错：E: Unable to locate package sysv-rc-conf&lt;/p&gt;&lt;p&gt;然后你可以&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;color: #4D4D4D; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; background-color: #FFFFFF;&quot;&gt;在软件源列表sources.list（位置在/etc/apt/sources.list）文件中的末尾添加如下内容：&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; outline: 0px; overflow-wrap: break-word; color: rgb(77, 77, 77); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: #4D4D4D; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; background-color: #FFFFFF;&quot;&gt;deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #4D4D4D; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; background-color: #FFFFFF;&quot;&gt;然后在执行上面的命令&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;然后又可能报错&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;W: GPG error: http://archive.ubuntu.com/ubuntu trusty Release: The following signatures couldn&amp;#39;t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32&lt;/p&gt;&lt;p&gt;E: The repository &amp;#39;http://archive.ubuntu.com/ubuntu trusty Release&amp;#39; is not signed.&lt;/p&gt;&lt;p&gt;N: Updating from such a repository can&amp;#39;t be done securely, and is therefore disabled by default.&lt;/p&gt;&lt;p&gt;N: See apt-secure(8) manpage for repository creation and user configuration details.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;终极解决办法&lt;/p&gt;&lt;/div&gt;&lt;p&gt;直接手工下载&lt;span style=&quot;color: #4D4D4D; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-size: 16px; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;sysv-rc-conf进行编译安装&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;wget http://archive.ubuntu.com/ubuntu/pool/universe/s/sysv-rc-conf/sysv-rc-conf_0.99.orig.tar.gz&lt;/p&gt;&lt;p&gt;tar zxvf sysv-rc-conf_0.99.orig.tar.gz&lt;/p&gt;&lt;p&gt;cd sysv-rc-conf-0.99&lt;/p&gt;&lt;p&gt;sudo apt install make&lt;/p&gt;&lt;p&gt;sudo make&lt;/p&gt;&lt;p&gt;sudo make install&lt;/p&gt;&lt;p&gt;sudo apt install libcurses-ui-perl libterm-readkey-perl libcurses-perl&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;然后就可以使用&amp;nbsp;sudo sysv-rc-conf 进行操作 检测了&lt;/p&gt;&lt;p&gt;但是宝塔使用的是&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;chkconfig&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face=&quot;Source Code Pro, DejaVu Sans Mono, Ubuntu Mono, Anonymous Pro, Droid Sans Mono, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, PingFang SC, Microsoft YaHei, sans-serif&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;1、可以自行使用 sudo sysv-rc-conf 添加mongodb的服务&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face=&quot;Source Code Pro, DejaVu Sans Mono, Ubuntu Mono, Anonymous Pro, Droid Sans Mono, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, PingFang SC, Microsoft YaHei, sans-serif&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;2、sudo cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig 然后使用 sudo &lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;chkconfig 就相当于在使用 &lt;span style=&quot;font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space: pre; background-color: #FAFAFA;&quot;&gt;sudo sysv-rc-conf ,自行添加或者直接面板中卸载mongodb在重新安装就正常了&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 02 Jun 2023 00:02:34 +0800</pubDate></item><item><title>逆向PPTV选集api通过ID获取播放URL的解密代码</title><link>https://www.wbvip.cc/post/35.html</link><description>位于 detail.101f3c94.js 文件内

&lt;blockquote&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;function i(e) {
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var t = arguments.length &amp;gt; 1 &amp;amp;&amp;amp; void 0 !== arguments[1] ? arguments[1] : 0
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , r = arguments.length &amp;gt; 2 &amp;amp;&amp;amp; void 0 !== arguments[2] ? arguments[2] : 0
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , o = arguments.length &amp;gt; 3 &amp;amp;&amp;amp; void 0 !== arguments[3] ? arguments[3] : 0
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , _ = t &amp;gt; 65535 ? 13 : 11
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , s = new ArrayBuffer(_)
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , i = new DataView(s);
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i.setInt32(0, e, !0),
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i.setInt32(4, r, !0),
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11 === _ ? i.setInt16(8, t, !0) : i.setInt32(8, t, !0),
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i.setInt8(_ - 1, o);
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var l = new Uint8Array(i.buffer);
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (l.forEach)
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; l.forEach((function(e, t) {
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 !== t &amp;amp;&amp;amp; (l[t] = (e ^ l[t - 1]) + a[t % a.length],
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; l[t] &amp;amp;= 255)
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ));
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (var u = 0; u &amp;lt; l.length; u++) {
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var c = l[u];
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 !== u &amp;amp;&amp;amp; (l[u] = (c ^ l[u - 1]) + a[u % a.length],
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; l[u] &amp;amp;= 255)
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var d = Object(n.b)(String.fromCharCode.apply(null, l));
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return d = d.replace(/i/g, &amp;quot;ia&amp;quot;).replace(/\+/g, &amp;quot;ib&amp;quot;).replace(/\//g, &amp;quot;ic&amp;quot;).replace(/=/g, &amp;quot;&amp;quot;)
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
    &lt;/p&gt;
    &lt;p&gt;
        &lt;br/&gt;
    &lt;/p&gt;
&lt;/blockquote&gt;</description><pubDate>Tue, 18 Apr 2023 21:54:42 +0800</pubDate></item><item><title>Windows 10重置文件资源管理器与控制面板窗口的窗口大小、默认位置的方法</title><link>https://www.wbvip.cc/post/34.html</link><description>&lt;p data-first-child=&quot;&quot; data-pid=&quot;GFkmvGlX&quot; style=&quot;margin-top: 0px; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;很遗憾，整个网络上居然没人写具体的做法，我找了很久才在windows10forums网站找到相关介绍，但是帖子内容也是半对半错。&lt;/p&gt;&lt;p data-pid=&quot;ygnHGiwM&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;windows10forums网站的&lt;a href=&quot;https://link.zhihu.com/?target=https%3A//www.windows10forums.com/threads/default-size-of-windows-explorer-window.16215/&quot; class=&quot; wrap external&quot; target=&quot;_blank&quot; rel=&quot;nofollow noreferrer&quot; data-za-detail-view-id=&quot;1043&quot; style=&quot;text-decoration-line: none; border-bottom: 1px solid rgb(128, 128, 128); cursor: pointer;&quot;&gt;Default size of windows explorer window&lt;/a&gt;提到，在注册表位置&lt;/p&gt;&lt;blockquote data-pid=&quot;nv20fELW&quot; style=&quot;border-left: 3px solid rgb(211, 211, 211); color: rgb(100, 100, 100); margin: 1.4em 0px; padding-left: 1em; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell&lt;/blockquote&gt;&lt;p data-pid=&quot;htaJ02W7&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;可以找到“WinPos”开头的键值，这些就是窗口大小和位置的设置值。帖子说这些键值不能删。其实，&lt;span style=&quot;font-weight: 600;&quot;&gt;是可以直接删除的&lt;/span&gt;！&lt;/p&gt;&lt;p data-pid=&quot;F759sJBa&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;不但如此，“MaxPos”开头的键值也可以直接删掉，不用担心。&lt;/p&gt;&lt;p data-pid=&quot;Qe_Xgx-d&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;说了那么多，是时候总结下具体步骤了。&lt;/p&gt;&lt;p data-pid=&quot;nsHHNEOT&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;如果要重置&lt;span style=&quot;font-weight: 600;&quot;&gt;文件资源管理器（Explorer）&lt;/span&gt;的窗口大小和默认位置，那就：&lt;/p&gt;&lt;ol style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; padding: 0px; width: 690px; counter-reset: ol 0; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;打开注册表编辑器（regedit）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;定位到 HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;凡是“WinPos”开头的，以及“MaxPos”开头的，都可以直接删掉&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/80/v2-57904cff04c7656135d7999f0e133055_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1812&quot; data-rawheight=&quot;651&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1812&quot; data-original=&quot;https://pic2.zhimg.com/v2-57904cff04c7656135d7999f0e133055_r.jpg&quot; data-actualsrc=&quot;https://pic2.zhimg.com/v2-57904cff04c7656135d7999f0e133055_b.jpg&quot; height=&quot;651&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044;&quot;/&gt;&lt;/div&gt;&lt;figcaption style=&quot;color: rgb(153, 153, 153); font-size: 0.9em; line-height: 1.5; margin-top: calc(0.666667em); padding: 0px 1em; text-align: center;&quot;&gt;文件资源管理器（Explorer）重置位置与大小，删除红圈内的键值&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p data-pid=&quot;eGIwjvCy&quot; style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;如果要重置&lt;span style=&quot;font-weight: 600;&quot;&gt;控制面板&lt;/span&gt;的窗口大小和默认位置，那就：&lt;/p&gt;&lt;ol style=&quot;margin-top: 1.4em; margin-bottom: 1.4em; padding: 0px; width: 690px; counter-reset: ol 0; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;打开注册表编辑器（regedit）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;定位到 HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\Microsoft.Windows.ControlPanel&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;凡是“WinPos”开头的，以及“MaxPos”开头的，同样可以直接删掉&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;figure data-size=&quot;normal&quot; style=&quot;margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://pic1.zhimg.com/80/v2-21f8cd34f7cc6481183012af3c9e0c54_720w.webp&quot; data-size=&quot;normal&quot; data-rawwidth=&quot;1832&quot; data-rawheight=&quot;648&quot; class=&quot;origin_image zh-lightbox-thumb lazy&quot; width=&quot;1832&quot; data-original=&quot;https://pic1.zhimg.com/v2-21f8cd34f7cc6481183012af3c9e0c54_r.jpg&quot; data-actualsrc=&quot;https://pic1.zhimg.com/v2-21f8cd34f7cc6481183012af3c9e0c54_b.jpg&quot; height=&quot;648&quot; data-lazy-status=&quot;ok&quot; style=&quot;display: block; margin: 0px auto; max-width: 100%; height: auto; cursor: zoom-in; background-color: transparent; animation: 0.5s ease-in 0s 1 normal none running animation-1yvu044;&quot;/&gt;&lt;/figure&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 06 Apr 2023 14:25:49 +0800</pubDate></item><item><title>Ubuntu22 server 设置单网卡多IP</title><link>https://www.wbvip.cc/post/33.html</link><description>&lt;div class=&quot;alert alert-tit1&quot;&gt;
    &lt;p&gt;
        首先查看当前IP与DNS
    &lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
    查看当前IP：ifconfig
&lt;/p&gt;
&lt;p&gt;
    记录接口名，比如 eth0
&lt;/p&gt;
&lt;p&gt;
    查看当前DNS：systemd-resolve --status 或 resolvectl status
&lt;/p&gt;
&lt;div class=&quot;alert alert-tit1&quot;&gt;
    &lt;p&gt;
        设置IP
    &lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
    编辑文件：/etc/netplan/00-installer-config.yaml
&lt;/p&gt;
&lt;blockquote&gt;
    &lt;p&gt;
        network:
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; ethernets:
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; eth0:
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; dhcp4: false
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; dhcp6: false
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; addresses:
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; - 192.168.0.100/24
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; - 192.168.0.101/24
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; optional: true
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; gateway4: 192.168.0.1
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; nameservers:
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addresses: [114.114.114.114,8.8.8.8]
    &lt;/p&gt;
    &lt;p&gt;
        &amp;nbsp; version: 2
    &lt;/p&gt;
    &lt;p&gt;
        &lt;br/&gt;
    &lt;/p&gt;
&lt;/blockquote&gt;

编辑完成后保存，重启生效</description><pubDate>Fri, 10 Feb 2023 22:23:17 +0800</pubDate></item><item><title>ubuntu20.x 安装 softether 搭建 L2TP 服务端,使Windows内置连接,安卓内置连接</title><link>https://www.wbvip.cc/post/32.html</link><description>&lt;p&gt;win上搭建L2TP好说,server自带的远程访问跟路由即可&lt;/p&gt;&lt;p&gt;我目前有一台ubunto服务器,流量比较大,想着能不能在搭建一个L2TP,用于提供服务的情况下,自己还能拿来上github等&lt;/p&gt;&lt;p&gt;服务端使用softether作为L2TP服务端,客户端就不需要使用softether的客户端了,不管是windows还是安卓,直接使用系统内置的,进行连接即可&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;一.ubuntu 安装&amp;nbsp;softethe&lt;/p&gt;&lt;p&gt;首先应对ubuntu添加SoftEther 软件源,在linux依次输入&lt;/p&gt;&lt;/div&gt;&lt;p&gt;sudo add-apt-repository ppa:paskal-07/softethervpn&lt;/p&gt;&lt;p&gt;sudo apt update&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;二.安装&lt;/p&gt;&lt;/div&gt;&lt;p&gt;sudo apt install&amp;nbsp; softether-vpnserver -y&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;三.完成安装,自动会启动,如果没有自动启动,也可以输入命令进行启动&lt;/p&gt;&lt;/div&gt;&lt;p&gt;启动命令 : vpnserver start&lt;/p&gt;&lt;p&gt;停止命令 : vpnserver stop&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;四.至此L2TP服务端就已经安装完成了,下面利用softether官方管理工具进行配置,SoftEther VPN Server Manager (Windows)&lt;/p&gt;&lt;p&gt;下载地址:&amp;nbsp;http://softether.fishinfo.cn/cn.aspx&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212252036_270.png&quot; title=&quot;微信截图_20221225182847.png&quot; alt=&quot;微信截图_20221225182847.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;五.打开软件,新设置,输入服务器IP,点击确定&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212256850_741.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225182912.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212255335_585.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183143.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;六.双击刚刚新设置的服务器IP,首次会自动弹出设置管理员密码&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212259020_558.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183055.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212254702_990.png&quot; title=&quot;微信截图_20221225183447.png&quot; alt=&quot;微信截图_20221225183447.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;七.初始化设置,其他按照图片内操作&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212257772_565.png&quot; title=&quot;微信截图_20221225183531.png&quot; alt=&quot;微信截图_20221225183531.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212251279_91.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183631.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212252163_33.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183641.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212258170_816.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183715.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212251076_697.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183705.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212251240_469.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183651.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212258853_679.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183733.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212257829_416.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183745.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212255024_501.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183804.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212258947_18.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183820.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212259297_560.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183830.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212253029_430.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225183841.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;八.到此服务端就设置完成了,客户端就可以连接了&lt;/p&gt;&lt;p&gt;这里可以使用&amp;nbsp;softether 的客户端进行连接了,但是不方便,还得装软件,所以下面推荐一种直接使用windows和安卓内置的vpn来进行直接连接的方法&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;alert alert-tit3&quot;&gt;&lt;p&gt;windows&lt;/p&gt;&lt;/div&gt;&lt;p&gt;首先还是使用windows内置的vpn创建一个连接&lt;/p&gt;&lt;p&gt;服务器IP是你的服务器IP&lt;/p&gt;&lt;p&gt;账号密码是你配置时设置的账号密码&lt;/p&gt;&lt;p&gt;预共享密钥默认是 vpn ,输入 vpn 三个字母即可&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212254385_261.png&quot; title=&quot;微信截图_20221225184136.png&quot; alt=&quot;微信截图_20221225184136.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;此时直接连接是无法连接的,还需要对拨号器进行设置,&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212252313_326.png&quot; title=&quot;微信截图_20221225184426.png&quot; alt=&quot;微信截图_20221225184426.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;这样在进行连接,就可以连接上了&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212257830_119.png&quot; title=&quot;微信截图_20221225184531.png&quot; alt=&quot;微信截图_20221225184531.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit3&quot;&gt;&lt;p&gt;android&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212258979_703.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225184931.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212255715_573.png&quot; style=&quot;&quot; title=&quot;微信截图_20221225184951.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;最后在看看IP,300MB带宽,速度非常快,Nice&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://txcos.wbvip.cc/zb_file/2022/12/202212257118_308.png&quot; title=&quot;微信截图_20221225185035.png&quot; alt=&quot;微信截图_20221225185035.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;alert alert-tit1&quot;&gt;&lt;p&gt;免责说明&lt;/p&gt;&lt;/div&gt;&lt;p&gt;本教程是网络其他发布后进行综合合并编辑,本文章只是作为技术笔记记录,并非指导安装搭建VPN,请勿作为非法用途,否则引起的任何后果与本文无关&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 25 Dec 2022 18:16:38 +0800</pubDate></item></channel></rss>