<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>中神通公司交流论坛 - 真实IT经验</title>
    <link>http://www.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>Tue, 14 Apr 2026 23:27:44 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.trustcomputing.com.cn/bbs/images/logo.gif</url>
      <title>中神通公司交流论坛</title>
      <link>http://www.trustcomputing.com.cn/bbs/</link>
    </image>
    <item>
      <title>awk grep sed 删除视觉空行</title>
      <link>http://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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>
    <item>
      <title>Windows 更新 KB5062649 无法应用的解决办法</title>
      <link>http://www.trustcomputing.com.cn/bbs/viewthread.php?tid=2138</link>
      <description><![CDATA[]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Mon, 11 Aug 2025 07:56:14 +0000</pubDate>
    </item>
    <item>
      <title>tcping for windows下载</title>
      <link>http://www.trustcomputing.com.cn/bbs/viewthread.php?tid=2137</link>
      <description><![CDATA[]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Fri, 18 Jul 2025 09:05:56 +0000</pubDate>
    </item>
    <item>
      <title>为wget更新ssl证书</title>
      <link>http://www.trustcomputing.com.cn/bbs/viewthread.php?tid=2134</link>
      <description><![CDATA[老版本wgetSSL证书配置有误导致出错：
Unable to locally verify the issuer's authority.
To connect to xxx insecurely, use `--no-check-certificate'.

解决办法：
更新证书：
curl -o /etc/ssl/certs/ca-certificates.crt 

设置SSL证书正确的位置
mkdir /usr/lib/ssl/
ln -s  ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Fri, 04 Jul 2025 09:05:02 +0000</pubDate>
    </item>
    <item>
      <title>荣耀手机锁屏状态双击音量下键打开手电筒</title>
      <link>http://www.trustcomputing.com.cn/bbs/viewthread.php?tid=2133</link>
      <description><![CDATA[

你可以通过以下任一方式使用手电筒：

控制中心：从屏幕顶部右侧下滑出控制中心，点击手电筒，即可打开/关闭手电筒。

锁屏小工具：在锁屏界面，从屏幕底部边缘向上滑动，打开锁屏快捷操作面板，点击  ，即可打开/关闭手电筒。

桌面快捷方式：在主屏幕双指捏合进入编辑界面，点击桌面卡片，滑动至 ...]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Fri, 27 Jun 2025 10:21:00 +0000</pubDate>
    </item>
    <item>
      <title>Ubuntu 22.04  LTS 升级为 Ubuntu 24.04  LTS</title>
      <link>http://www.trustcomputing.com.cn/bbs/viewthread.php?tid=2132</link>
      <description><![CDATA[Ubuntu 22.04  LTS： GLIBC 2.35
Ubuntu 24.04  LTS： GLIBC 2.41

New release '24.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

如果提示：
Checking for a new Ubuntu release
Please install all available updates for your release before upgr]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Fri, 27 Jun 2025 08:57:51 +0000</pubDate>
    </item>
    <item>
      <title>yum install时rpmdb open failed错误的解决办法</title>
      <link>http://www.trustcomputing.com.cn/bbs/viewthread.php?tid=2131</link>
      <description><![CDATA[# yum install telnet
error: rpmdb: BDB0113 Thread/process 8789/140078931901312 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv-&gt;failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot]]></description>
      <category>真实IT经验</category>
      <author>linda</author>
      <pubDate>Fri, 27 Jun 2025 08:56:01 +0000</pubDate>
    </item>
  </channel>
</rss>