<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>中三A105论坛 - Linux</title>
    <link>https://bbs.z3a105.com/forum.php?mod=forumdisplay&amp;fid=55</link>
    <description>Latest 20 threads of Linux</description>
    <copyright>Copyright(C) 中三A105论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 25 Jun 2026 22:10:09 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://bbs.z3a105.com/static/image/common/logo_88_31.gif</url>
      <title>中三A105论坛</title>
      <link>https://bbs.z3a105.com/</link>
    </image>
    <item>
      <title>【运维】Redis外网访问配置</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=612</link>
      <description><![CDATA[需求描述
方便调试，需要配置外网方位Redis

解决方案
通过修改redis配置，完成外网的访问，步骤如下
1）找到redis配置文件redis.conf[/backcolor]

2 ） 修改ip限制
找到bind 127.0.0.1这行，将其更改为bind 0.0.0.0以允许所有IP地址连接，或者指定特定的外部IP地址。
 ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Sun, 17 Nov 2024 14:33:05 +0000</pubDate>
    </item>
    <item>
      <title>【运维】linux mysql 设置外网访问</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=611</link>
      <description><![CDATA[需求描述
linux 系统安装mysql后，需要通过外网来连接mysql

解决方案：
更改mysql相关配置，步骤如下：
1）配置文件中添加访问的ip
[mysqld]
bind-address = 0.0.0.0


2）mysql配置权限]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Sun, 17 Nov 2024 12:26:07 +0000</pubDate>
    </item>
    <item>
      <title>【运维】linux 安装mysql</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=610</link>
      <description><![CDATA[需求描述
linux 安装mysql

解决方案：
1）安装mysql-server
2)启动mysql
3)设置密码
4）开机启动mysql]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Sun, 17 Nov 2024 09:00:33 +0000</pubDate>
    </item>
    <item>
      <title>【运维】阿里云ecs添加ssh免密登录</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=609</link>
      <description><![CDATA[需求：
本地电脑登录目标服务器的时候，每次都需要输入密码，怎么才能不用输入密码

解决方案：
将本地电脑上的ssh私钥，复制到服务器.ssh目录中的authorized_keys中，本地连接并验证一下。
 ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Thu, 07 Nov 2024 23:16:03 +0000</pubDate>
    </item>
    <item>
      <title>【前端】 net::ERR_CONTENT_LENGTH_MISMATCH 206</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=515</link>
      <description><![CDATA[问题：
前端浏览器提示  net::ERR_CONTENT_LENGTH_MISMATCH 206 (Partial Content)

问题原因：
net::ERR_CONTENT_LENGTH_MISMATCH 206 错误表明在浏览器尝试处理部分内容（即 206 响应）时，实际接收到的内容长度与响应头中声明的Content-Length字段的值不匹配。这可能 ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Mon, 22 Jul 2024 08:33:21 +0000</pubDate>
    </item>
    <item>
      <title>【前端】vite 引用public内的js</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=514</link>
      <description><![CDATA[需求：
前端工程中，需要将后台接口域名放到工程外的配置文件中，方便手动修改后端接口域名

解决方案：
在Vite项目中，如果你想引用public目录下的JavaScript文件，你可以使用特殊的import.meta.url属性来获取文件的URL，然后使用new URL()构造函数来构造正确的路径。 ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Mon, 22 Jul 2024 06:48:59 +0000</pubDate>
    </item>
    <item>
      <title>【前端】Top-level await is not available in the configured target environ...</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=513</link>
      <description><![CDATA[问题：
Top-level await is not available in the configured target environment.


原因：
这个错误通常是由于项目配置中的目标浏览器环境不支持 JavaScript 的 top-level-await 特性。top-level-await 允许在模块的顶层直接使用 await 关键字，这在某些现代浏览器中 ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Mon, 22 Jul 2024 06:44:46 +0000</pubDate>
    </item>
    <item>
      <title>【前端】Access-Control-Allow-Origin报错</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=512</link>
      <description><![CDATA[问题：
Failed to load http://xx.com/mobile/service: The \'Access-Control-Allow-Origin\' header contains multiple values \'*, *\', but only one is allowed. Origin \'http://localhost:8081\' is therefore not allowed access.


原因：
出现这问题有可能是服务器端 ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Mon, 22 Jul 2024 06:41:28 +0000</pubDate>
    </item>
    <item>
      <title>in a frame because it set \'X-Frame-Options\' to \'sameorigin\'.</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=511</link>
      <description><![CDATA[问题：
in a frame because it set \'X-Frame-Options\' to \'sameorigin\'.


原因：
NGINX配置了X-Frame-Options


项目中出现一个用iframe嵌套帆软报表页面出现Refused to display in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’


X-Frame-Options是 ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Sat, 20 Jul 2024 09:54:12 +0000</pubDate>
    </item>
    <item>
      <title>切换到root</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=509</link>
      <description><![CDATA[不用输入密码sudo  su

需要输入密码
su -]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Wed, 03 Jul 2024 14:31:53 +0000</pubDate>
    </item>
    <item>
      <title>certbot 生产https证书</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=508</link>
      <description><![CDATA[sudo apt-get install acmesudo apt-cache search certbot]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Wed, 03 Jul 2024 14:30:17 +0000</pubDate>
    </item>
    <item>
      <title>搭建derper中继服务器</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=507</link>
      <description><![CDATA[wget https://studygolang.com/dl/golang/go1.21.3.linux-amd64.tar.gztar -zxvf go1.21.3.linux-amd64.tar.gzsudo mv go /usr/local/rm -rf go1.21.3.linux-amd64.tar.gzvim ~/.bashrcsource ~/.bashrcgo --versiongo env -w GOPROXY=https://goproxy.cn,directgo ins ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Wed, 03 Jul 2024 14:28:10 +0000</pubDate>
    </item>
    <item>
      <title>V2Ray+WebSocket+TLS+Web+Cloudflare教程</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=478</link>
      <description><![CDATA[背景

一般来说，装好V2Ray之后就可以科学上网了，但是IP经常被封，固有此方案。
WebSocket+TLS+Web的组合怎么来的？这个组合意思是，在机器上部署一个web站点，使用 Nginx/Caddy/Apache 可以将 V2Ray 稍作隐藏。使用 WebSocket 是因为搭配 Nginx/Caddy/Apache 只能用 W ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Sat, 04 May 2024 13:59:52 +0000</pubDate>
    </item>
    <item>
      <title>X-UI, a multi-user Xray graphical management panel (replacing V2-UI and V2Ray)</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=477</link>
      <description><![CDATA[X-UI provides a graphical user interface for managing servers and users. You can visually build servers for Shadowsocks, V2ray, Xray, Trojan, and other popular protocols. You can also monitor VPS performance and traffic usage in real time. X-UI repla ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Sat, 04 May 2024 13:18:20 +0000</pubDate>
    </item>
    <item>
      <title>v2ray 相关命令</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=476</link>
      <description><![CDATA[v2ray info 查看 V2Ray 配置信息[/backcolor]
v2ray config 修改 V2Ray 配置[/backcolor]
v2ray link 生成 V2Ray 配置文件链接[/backcolor]
v2ray infolink 生成 V2Ray 配置信息链接[/backcolor]
v2ray qr 生成 V2Ray 配置二维码链接[/backcolor]
v2ray ss 修改 Shadows ...]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Mon, 29 Apr 2024 06:29:57 +0000</pubDate>
    </item>
    <item>
      <title>ubuntu 16.04 开启指定端口号</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=475</link>
      <description><![CDATA[查看端口使用情况命令：
sudo netstat -plnt[/backcolor]

[/backcolor]
ufw命令查看端口授权：

sudo ufw status[/backcolor]

[/backcolor]
ufw命令添加端口授权：

sudo ufw allow 3306]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Mon, 29 Apr 2024 06:15:46 +0000</pubDate>
    </item>
    <item>
      <title>Ubuntu 安装shadowsocks</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=474</link>
      <description><![CDATA[16.10 yakkety and above
[*]Install the the shadowsocks-libev package from apt repository. sudo apt update sudo apt install shadowsocks-libev
[*]Save ss.json as /etc/shadowsocks-libev/config.json.
[*]Replace server_port and password in ss.json with yo .]]></description>
      <category>Linux</category>
      <author>gnn</author>
      <pubDate>Mon, 29 Apr 2024 06:07:07 +0000</pubDate>
    </item>
    <item>
      <title>阿里云数据盘挂载</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=335</link>
      <description><![CDATA[///////////////////////////////////////////////////////////阿里云数据盘挂载///////////////////////////////////////////////////////////[root@AY12100412561422d6588 dev]# mount xvdb /cds[root@AY12100412561422d6588 dev]# df -hFilesystem            Size   ...]]></description>
      <category>Linux</category>
      <author>meiw</author>
      <pubDate>Sat, 02 Nov 2019 17:59:02 +0000</pubDate>
    </item>
    <item>
      <title>Linux 增加虚拟内存（swap）</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=232</link>
      <description><![CDATA[1、 用 df -h 命令找一个比较大的磁盘空间
2、建立swap文件 大小为2G
dd if=/dev/zero of=swapfile bs=1024000 count=2000

3、启用虚拟内存1 mkswap swapfile 
2 #(由于此文件也会占用磁盘空间 ， 最好找一个比较大的磁盘存放)
3 #激活swap,启用分区交换文件
4 swapon  ...]]></description>
      <category>Linux</category>
      <author>meiw</author>
      <pubDate>Fri, 22 Jun 2018 03:06:23 +0000</pubDate>
    </item>
    <item>
      <title>ngrok 内网穿透</title>
      <link>https://bbs.z3a105.com/forum.php?mod=viewthread&amp;tid=231</link>
      <description><![CDATA[我这里是ngrok2.2.41、先到ngrok官网https://dashboard.ngrok.com注册账号然后从官网获取token
2、从官网下载合适的版本
3、将下载压缩包放到D盘根目录，解压缩，修改名字为ngrok，该文件夹下只有一个ngrok.exe文件
4、cmd进入ngrok目录
5、执行ngrok --authtoken XXXX  ...]]></description>
      <category>Linux</category>
      <author>meiw</author>
      <pubDate>Mon, 11 Jun 2018 01:31:12 +0000</pubDate>
    </item>
  </channel>
</rss>