<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>中神通公司交流论坛 - 真实IT经验</title>
    <link>http://trustcomputing.com.cn/bbs/forumdisplay.php?fid=44</link>
    <description>Latest 20 threads of 真实IT经验</description>
    <copyright>Copyright(C) 中神通公司交流论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 18 May 2026 07:31:33 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://trustcomputing.com.cn/bbs/images/logo.gif</url>
      <title>中神通公司交流论坛</title>
      <link>http://trustcomputing.com.cn/bbs/</link>
    </image>
    <item>
      <title>Linux移动一个可执行文件后刷新系统路径</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2172</link>
      <description><![CDATA[hash -r]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Mon, 11 May 2026 01:43:29 +0000</pubDate>
    </item>
    <item>
      <title>关闭 Windows 密码过期检查的几种常用方法</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2171</link>
      <description><![CDATA[以下是关闭 Windows 密码过期检查（设置密码永不过期）的几种常用方法，根据你的 Windows 版本（家庭版/专业版等）和账户类型选择合适的方式。建议以管理员身份操作。1. 最简单通用方法（推荐，所有版本适用）：使用命令提示符按 Win + S 搜索 “cmd”，右键选择 以管理员身份运行。
输入以下命令 ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Sat, 09 May 2026 02:38:34 +0000</pubDate>
    </item>
    <item>
      <title>centos8 stream yum dnf更新</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2170</link>
      <description><![CDATA[# Backup original repo files (good practice)
cp -r /etc/yum.repos.d /etc/yum.repos.d.bak.$(date +%F)

# Disable mirrorlist and switch to vault.centos.org
sed -i 's|^mirrorlist=|#mirrorlist=|g' /etc/yum.repos.d/CentOS-Stream-*.repo
sed -i 's|^#baseurl]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Thu, 07 May 2026 09:08:21 +0000</pubDate>
    </item>
    <item>
      <title>Linux Kernel 本地权限提升漏洞风险通告（CVE-2026-31431）</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2169</link>
      <description><![CDATA[尊敬的阿里云用户，您好！

阿里云安全监测到，互联网上披露了Linux Kernel 存在本地权限提升漏洞，漏洞编号CVE-2026-31431。可导致本地低权限攻击者利用 AF_ALG 加密接口与 splice() 系统调用，实现向任意可读文件的页缓存中写入受控的4字节数据，进而通过篡改 setuid 二进制文件获得 ro ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Thu, 07 May 2026 08:22:31 +0000</pubDate>
    </item>
    <item>
      <title>Ubuntu 25.04 升级到 25.10</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2168</link>
      <description><![CDATA[sed -i -e s/plucky/questing/g  /etc/apt/sources.list.d/ubuntu.sources

apt update

apt-get dist-upgrade -y

apt autoremove
apt autoclean

reboot


# cat /etc/os-release 
PRETTY_NAME=&quot;Ubuntu 25.10&quot;
NAME=&quot;Ubuntu&quot;
VERSION_I]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Wed, 06 May 2026 01:38:38 +0000</pubDate>
    </item>
    <item>
      <title>增加Linux swap交换空间</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2166</link>
      <description><![CDATA[VPS 只有400M内存，经常自动关机，使用free -m 查看，发现没有swap，可能导致OOM，进而OS崩溃，自动关机，故增加swap空间

fallocate -l 512M /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
cat /etc/fstab
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fsta ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Mon, 20 Apr 2026 01:34:39 +0000</pubDate>
    </item>
    <item>
      <title>awk grep sed 删除视觉空行</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2161</link>
      <description><![CDATA[awk 'NF' input.txt

NF 是 awk 的“字段数”，当一行全是空白（或空）时，NF=0 → 被过滤掉

grep ']]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Thu, 05 Feb 2026 10:21:12 +0000</pubDate>
    </item>
    <item>
      <title>Linux多个命令合并输出并过滤</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2160</link>
      <description><![CDATA[( cmd1; cmd2; cmd3 ) | sed -e s/xxx//g]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Wed, 28 Jan 2026 07:37:00 +0000</pubDate>
    </item>
    <item>
      <title>选择框右键优先于body右键</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2159</link>
      <description><![CDATA[浏览器的事件机制默认是 从子元素 → 父元素 冒泡。
所以顺序是：

用户在  上按下鼠标
触发  的 onmousedown
事件继续冒泡
触发  的 onmousedown
执行 dorightclick(showurl)
除非你阻止冒泡，否则  的事件一定会执行。


加event.stopPropagation(); 或 event.cancelBubble = t ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Fri, 16 Jan 2026 04:01:21 +0000</pubDate>
    </item>
    <item>
      <title>dongle BT6.0 驱动程序错误31 解决办法</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2158</link>
      <description><![CDATA[Generic Bluetooth Adapter Error Code 31

首先 关闭windows自带的BT4.2驱动，重启后，更新&quot;Generic Bluetooth Adapter&quot;的驱动程序

]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Sun, 28 Dec 2025 14:50:58 +0000</pubDate>
    </item>
    <item>
      <title>小内存linux调整/run目录大小</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2157</link>
      <description><![CDATA[Reload daemon failed: Refusing to reload, not enough space available on /run/systemd/. Currently, 15.5M are free, but a safety buffer of 16.0M is enforced.

# df -h /run

# vi /etc/fstab

tmpfs   /run   tmpfs   defaults,size=32M,noexec,nosuid,nodev,]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Fri, 19 Dec 2025 02:22:52 +0000</pubDate>
    </item>
    <item>
      <title>解决wget提示 使用`--no-check-certificate'</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2156</link>
      <description><![CDATA[这个错误“Unable to locally verify the issuer's authority”通常是因为系统CA证书库（Certificate Authority 根证书）过时、缺失或未正确配置，导致 wget 无法信任网站的 SSL 证书颁发者（尤其是像 Let's Encrypt 等常见 CA）。针对 360sec.top 这个域名，可能是其证书使用了较新的中 ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Wed, 17 Dec 2025 07:54:32 +0000</pubDate>
    </item>
    <item>
      <title>linux根目录所在设备</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2155</link>
      <description><![CDATA[# findmnt -no SOURCE / | sed -e 's|/dev/mapper/||' -e 's|/dev/||'

vda1

loop27

# mount | grep 'on / '
/dev/vda1 on / type ext4 (rw,relatime)

#  mount | grep 'on / '
/var/lib/vz/images/742/vm-742-disk-0.raw on / type ext4 (rw,relatime)

]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Mon, 15 Dec 2025 08:35:25 +0000</pubDate>
    </item>
    <item>
      <title>消除-Werror=unused-result警告</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2154</link>
      <description><![CDATA[1、改代码
if (setegid(getgid()) == -1) {
    perror(&quot;setegid&quot;);
    exit(EXIT_FAILURE);
    // or handle the error appropriately
}

2、局部忽略
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored &quot;-Wunused-result&quot;
setegid(getgi]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Tue, 09 Dec 2025 02:30:42 +0000</pubDate>
    </item>
    <item>
      <title>windows内置 视频录屏工具</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2153</link>
      <description><![CDATA[Windows 系统自带多个免费好用的视频录屏工具，无需安装任何第三方软件。下面按推荐顺序介绍目前最好用的几个（截至2025年12月）：

1. Xbox Game Bar（剪辑工具） —— 最推荐（Win10/Win11 都自带）快捷键：Win + G → 点击“捕获”里的“开始录制”
或直接按 Win + Alt + R（最快！一键开始/停止 ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Thu, 04 Dec 2025 03:35:41 +0000</pubDate>
    </item>
    <item>
      <title>firefox浏览器更新basic认证数据</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2150</link>
      <description><![CDATA[你遇到的是 Firefox（以及所有 Chromium 内核浏览器）在处理 HTTP Basic Authentication 时的一个“经典顽疾”：一旦某个域名/IP 在浏览器的密码数据库里保存了错误的用户名或密码，后续即使你用  这种方式跳转，浏览器也会优先使用数据库里缓存的旧凭据，根本不会理会 URL 里写的新密码！ ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Tue, 18 Nov 2025 05:07:02 +0000</pubDate>
    </item>
    <item>
      <title>关闭动态ipv6地址及cloud-init自动生成文件的netplan配置</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2149</link>
      <description><![CDATA[Ubuntu 24.04中，查看当前网络状态，发现有ipv6 ra 动态地址
# netplan status

1. 正确禁用 cloud-init 网络配置（不再生成有内容的 50-cloud-init.yaml）
echo &quot;network: {config: disabled}&quot; | sudo tee /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg &gt; /dev/null

2. 写 ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Tue, 18 Nov 2025 04:47:05 +0000</pubDate>
    </item>
    <item>
      <title>Linux下完整查看systemctl状态信息</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2146</link>
      <description><![CDATA[systemctl -l  status ssh --no-pager]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Wed, 29 Oct 2025 01:11:36 +0000</pubDate>
    </item>
    <item>
      <title>disable or mask  serial-getty@ttyS0.service 没成功</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2140</link>
      <description><![CDATA[The issue you're describing suggests that you're trying to disable or mask the]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Thu, 14 Aug 2025 09:23:52 +0000</pubDate>
    </item>
    <item>
      <title>debian13 没有设置sysctl.conf的内容</title>
      <link>http://trustcomputing.com.cn/bbs/viewthread.php?tid=2139</link>
      <description><![CDATA[# cd /etc/sysctl.d
# ln -s ../sysctl.conf 98-sysctl.conf

=========

常见原因和解决方法
Sysctl 配置文件的位置不正确

在现代 Linux 系统中，尤其是使用 systemd 的发行版（如 CentOS/RHEL 7/8、Ubuntu 16.04+、Debian 9+），系统不再只依赖于 /etc/sysctl.conf 这一个文件。相 ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Tue, 12 Aug 2025 09:30:59 +0000</pubDate>
    </item>
  </channel>
</rss>