<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>九尾社区 - 技术交流区</title>
    <link>https://cangf.com/forum-40-1.html</link>
    <description>Latest 20 threads of 技术交流区</description>
    <copyright>Copyright(C) 九尾社区</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 26 Jul 2026 00:00:45 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://cangf.com/static/image/common/logo_88_31.gif</url>
      <title>九尾社区</title>
      <link>https://cangf.com/</link>
    </image>
    <item>
      <title>Ubuntu root 无法 SSH 登录 完美解决</title>
      <link>https://cangf.com/thread-13023-1-1.html</link>
      <description><![CDATA[Ubuntu root 无法 SSH 登录 完美解决
Ubuntu 默认禁止 root 远程 SSH 登录，改个配置就行，一步到位。

1 先编辑 SSH 配置文件
sudo nano /etc/ssh/sshd_config








2 找到这两行，改成这样
直接复制照着改：

PermitRootLogin yes



PasswordAuthentication yes

 ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Sat, 09 May 2026 08:36:59 +0000</pubDate>
    </item>
    <item>
      <title>dotnet创建项目后没有sln文件，怎么重建</title>
      <link>https://cangf.com/thread-1300-1-1.html</link>
      <description><![CDATA[通过 dotnet CLI 创建项目时，默认情况下只会创建项目文件（例如 .csproj 文件），而不会自动创建 .sln 解决方案文件。


如果想使用vs打开可使用如下方法重新构建sln文件

切换到项目文件夹下，命令提示符中输入：



 ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Fri, 09 May 2025 07:30:10 +0000</pubDate>
    </item>
    <item>
      <title>Edge 浏览器自动将 HTTP 转换为 HTTPS 的解决方案</title>
      <link>https://cangf.com/thread-1293-1-1.html</link>
      <description><![CDATA[方法一：通过 Edge 内部设置解决

[*]打开 Edge 浏览器，在地址栏输入你要访问的 HTTP 网址，并访问（此时会自动转成 HTTPS，这一步不能跳过，接下来继续）1。
[*]在地址栏输入 edge://net-internals 并访问。
[*]在左侧选择 Domain Security Policy。
[*]在右侧的 Que ...]]></description>
      <category>技术交流区</category>
      <author>908522528</author>
      <pubDate>Fri, 17 Jan 2025 09:29:35 +0000</pubDate>
    </item>
    <item>
      <title>Discuz发帖粘贴的图片看不见怎么解决</title>
      <link>https://cangf.com/thread-1287-1-1.html</link>
      <description><![CDATA[Discuz发帖粘贴的图片看不见怎么解决？
这么便捷的操作怎么就不能用？先来看下原因

大部分人以为不支持粘贴图片，其实它就是不支持，至于为什么不支持？
因为默认我们粘贴的图片它其实是写入到数据库中去的，只是以base64图片格式存储的，
官方回答是这种方式占用空间 ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Mon, 02 Dec 2024 02:37:49 +0000</pubDate>
    </item>
    <item>
      <title>linux释放磁盘空间</title>
      <link>https://cangf.com/thread-1286-1-1.html</link>
      <description><![CDATA[删除磁盘空间 可删除位置如下
/var/log /* 日志可删除，按运行时长，越长文件越大
/temp/*  临时文件，一般没多少
/root/DownLoad  下载目录

其它不用的软件卸载掉，自行斟酌

如果实在不知道哪里占用大，可用如下命令
**** 本内容被作者隐藏 ****





 ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Fri, 29 Nov 2024 07:04:25 +0000</pubDate>
    </item>
    <item>
      <title>创建免费SSL证书</title>
      <link>https://cangf.com/thread-1282-1-1.html</link>
      <description><![CDATA[创建免费SSL证书


以下内容基于ubuntu-22.04系统操作
前提条件:已部署nginx并配置了相应网站
使用命令查看本机是否已经安装了snap
systemctl status snapd

如没有安装，可按如下操作进行
apt install snapd
systemctl enable snapd
systemctl start snapd
ln -s /var/ ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Wed, 20 Nov 2024 07:12:52 +0000</pubDate>
    </item>
    <item>
      <title>react icons using</title>
      <link>https://cangf.com/thread-1281-1-1.html</link>
      <description><![CDATA[react icons图标使用 
Usage]]></description>
      <category>技术交流区</category>
      <author>甜蜜时光</author>
      <pubDate>Thu, 31 Oct 2024 03:49:01 +0000</pubDate>
    </item>
    <item>
      <title>react+treejs页面跳转后清理treejs</title>
      <link>https://cangf.com/thread-1280-1-1.html</link>
      <description><![CDATA[在使用 React 和 Three.js 时，如果在页面跳转后 Three.js 的资源没有被正确释放，可能会导致 GPU 占用过高。以下是一些可能的解决方案：

[*]清理 Three.js 资源：在组件的 componentWillUnmount 方法（对于类组件）或 useEffect 的返回函数（对于函数组件）中，确保清 ...]]></description>
      <category>技术交流区</category>
      <author>心之所向❤️</author>
      <pubDate>Wed, 30 Oct 2024 08:28:24 +0000</pubDate>
    </item>
    <item>
      <title>宝塔Nginx 网站停止后 仍然能访问，宝塔网站修改部署后，nginx不生效</title>
      <link>https://cangf.com/thread-559-1-1.html</link>
      <description><![CDATA[此贴解决以下问题：
1.宝塔nginx 网站停止后 仍然能访问
2.网站修改部署后，nginx不生效，显示的仍然是旧网站

解决方法如下：

**** 本内容被作者隐藏 ****]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Sat, 07 Sep 2024 15:38:18 +0000</pubDate>
    </item>
    <item>
      <title>tailwindcss globals.css中h1,h2,h3的font-size为inherit怎么删除</title>
      <link>https://cangf.com/thread-558-1-1.html</link>
      <description><![CDATA[tailwindcss globals.css中h1,h2,h3的font-size为inherit怎么删除
原因是tailwindcss对这些样式做了预处理，见如下：

https://tailwindcss.com/docs/preflight

如何解决
去掉预处理在 tailwind.config.ts 做如下配置module.exports = {  corePlugins: {    preflight: ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Fri, 06 Sep 2024 03:23:03 +0000</pubDate>
    </item>
    <item>
      <title>next.js Module not found: Can\'t resolve \\favicon.ico?__next_metadata__</title>
      <link>https://cangf.com/thread-557-1-1.html</link>
      <description><![CDATA[next.js 错误： Module not found: Can\'t resolve \\favicon.ico?__next_metadata__

解决方案如下
**** 本内容被作者隐藏 ****]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Wed, 04 Sep 2024 16:30:36 +0000</pubDate>
    </item>
    <item>
      <title>单个js文件打包混淆</title>
      <link>https://cangf.com/thread-556-1-1.html</link>
      <description><![CDATA[单个js文件打包混淆

**** 本内容被作者隐藏 ****]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Wed, 04 Sep 2024 01:32:05 +0000</pubDate>
    </item>
    <item>
      <title>ubuntu安装宝塔命令</title>
      <link>https://cangf.com/thread-555-1-1.html</link>
      <description><![CDATA[安装宝塔命令

wget -N --no-check-certificate https://download.bt.cn/install/install_6.0.sh &amp;&amp; chmod +x install_6.0.sh &amp;&amp; bash install_6.0.sh]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Wed, 07 Aug 2024 07:11:53 +0000</pubDate>
    </item>
    <item>
      <title>ubuntu新磁盘挂载</title>
      <link>https://cangf.com/thread-554-1-1.html</link>
      <description><![CDATA[ubuntu新磁盘挂载

如下命令
fdisk -l查看磁盘

mkfs.ext4 /dev/sdb1    #/dev/sdb1为上一步查看到的新磁盘

mkdir /newpart
mount /dev/sdb1 /newpart]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Wed, 07 Aug 2024 07:07:07 +0000</pubDate>
    </item>
    <item>
      <title>c# 取公网IP地址</title>
      <link>https://cangf.com/thread-553-1-1.html</link>
      <description><![CDATA[c# 取公网IP地址、外网IP地址

代码如下：]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Mon, 05 Aug 2024 07:28:50 +0000</pubDate>
    </item>
    <item>
      <title>NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.</title>
      <link>https://cangf.com/thread-550-1-1.html</link>
      <description><![CDATA[NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
解决办法：　　ls /usr/src | grep nvidia 查看nvidia驱动版本号，例如418.87.00
　　sudo dkms install -m nvidia -v 418.87.00 使用dkms更新nvidia驱动
　　如果没有dkms，先使用“s ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Tue, 09 Jul 2024 03:42:43 +0000</pubDate>
    </item>
    <item>
      <title>docker镜像无法拉取？docker镜像下载服务，最新20240619</title>
      <link>https://cangf.com/thread-546-1-1.html</link>
      <description><![CDATA[先来聊聊最近docker国内镜像下架的前因后果
最新消息：目前收到消息似乎是全网封禁了，多个公共镜像要求被删除hubdocker源。
去年，hub.docker因不知名原因被封锁，导致注册表、直接访问都异常，NAS玩家开始使用docker pull或镜像库代替hub.docker源库。
突然的是，从昨 ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Wed, 19 Jun 2024 01:02:56 +0000</pubDate>
    </item>
    <item>
      <title>Web中运行正常的HttpClient.PostAsync，在Winform中运行却直接挂起无响应——WinForm中需要从UI事件方法开始添加async声明为异步方法避免阻塞UI进程</title>
      <link>https://cangf.com/thread-505-1-1.html</link>
      <description><![CDATA[Web中运行正常的HttpClient.PostAsync，在Winform中运行却直接挂起无响应——WinForm中需要从UI事件方法开始添加async声明为异步方法避免阻塞UI进程]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Thu, 06 Jun 2024 05:52:23 +0000</pubDate>
    </item>
    <item>
      <title>C# API上传文件</title>
      <link>https://cangf.com/thread-498-1-1.html</link>
      <description><![CDATA[核心代码如下
 HttpClient client=new HttpClient(); 
var uri = new Uri(\&quot;http://pda.labgic.vip/purch/uploadCont\&quot;);
            MultipartFormDataContent content = new MultipartFormDataContent();
            StreamContent f = new StreamContent(File.OpenRe ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Thu, 06 Jun 2024 03:34:54 +0000</pubDate>
    </item>
    <item>
      <title>cudnn fatal error: FreeImage.h: No such file or directory</title>
      <link>https://cangf.com/thread-476-1-1.html</link>
      <description><![CDATA[cudnn fatal error: FreeImage.h: No such file or directory

出现此提示一般情况下是因为cuda问题导致
可以先执行如下命令检查是否有输出


如果此处报错，说明cuda没有正确安装，可以再NVIDIA官网自行搜索安装

nvidia-smi可以正常输出显卡信息则执行如下命令
安装后 ...]]></description>
      <category>技术交流区</category>
      <author>admin</author>
      <pubDate>Fri, 31 May 2024 04:07:10 +0000</pubDate>
    </item>
  </channel>
</rss>