<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>学习日记a</title><link>https://hcold.cn</link><atom:link href="https://hcold.cn/rss.xml" rel="self" type="application/rss+xml"/><description>学习日记a</description><generator>Halo v2.22.13</generator><language>zh-cn</language><lastBuildDate>Sun, 19 Apr 2026 12:07:53 GMT</lastBuildDate><item><title><![CDATA[npc(客户端)for-linux]]></title><link>https://hcold.cn/archives/npc-ke-hu-duan-for-linux</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=npc%28%E5%AE%A2%E6%88%B7%E7%AB%AF%29for-linux&amp;url=/archives/npc-ke-hu-duan-for-linux" width="1" height="1" alt="" style="opacity:0;">github下载地址：https://github.com/ehang-io/nps/releases 官方安装文档：https://ehang-io.github.io/nps/#/install 使用环境是debian系统 一、概述 NPS是一款轻量级、高性能、功能强大的内网穿透代理服务器 ，支]]></description><guid isPermaLink="false">/archives/npc-ke-hu-duan-for-linux</guid><dc:creator>Administrator</dc:creator><category>debian</category><category>服务器</category><pubDate>Sun, 19 Apr 2026 03:22:00 GMT</pubDate></item><item><title><![CDATA[Usbip-Windows（解决hyper-v的USB直通问题）]]></title><link>https://hcold.cn/archives/usbip-windows-jie-jue-hyper-vde-usbzhi-tong-wen-ti</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=Usbip-Windows%EF%BC%88%E8%A7%A3%E5%86%B3hyper-v%E7%9A%84USB%E7%9B%B4%E9%80%9A%E9%97%AE%E9%A2%98%EF%BC%89&amp;url=/archives/usbip-windows-jie-jue-hyper-vde-usbzhi-tong-wen-ti" width="1" height="1" alt="" style="opacity:0;">Usbip-Windows服务端配置 下载项目地址:Releases · dorssel/usbipd-win 客户端下载地址：]]></description><guid isPermaLink="false">/archives/usbip-windows-jie-jue-hyper-vde-usbzhi-tong-wen-ti</guid><dc:creator>Administrator</dc:creator><category>Windows-运维</category><pubDate>Fri, 10 Apr 2026 09:45:22 GMT</pubDate></item><item><title><![CDATA[Docker部署gitea-for-x86版]]></title><link>https://hcold.cn/archives/dockerbu-shu-gitea-for-x86ban</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=Docker%E9%83%A8%E7%BD%B2gitea-for-x86%E7%89%88&amp;url=/archives/dockerbu-shu-gitea-for-x86ban" width="1" height="1" alt="" style="opacity:0;">docker-compose代码 services: gitea: image: gitea/gitea:1.15.6 container_name: gitea environment: - USER_UID=1000 - USER_GID=10]]></description><guid isPermaLink="false">/archives/dockerbu-shu-gitea-for-x86ban</guid><dc:creator>Administrator</dc:creator><category>docker</category><category>debian</category><category>服务器</category><pubDate>Mon, 6 Apr 2026 12:16:02 GMT</pubDate></item><item><title><![CDATA[Docker部署Zaabix方法]]></title><link>https://hcold.cn/archives/dockerbu-shu-zaabixfang-fa</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=Docker%E9%83%A8%E7%BD%B2Zaabix%E6%96%B9%E6%B3%95&amp;url=/archives/dockerbu-shu-zaabixfang-fa" width="1" height="1" alt="" style="opacity:0;">创建目录 root@Baidu-BJ-01:~# mkdir docker-compose-data root@Baidu-BJ-01:~# cd docker-compose-data/ root@Baidu-BJ-01:~/docker-compose-data# mkdir zabbix-d]]></description><guid isPermaLink="false">/archives/dockerbu-shu-zaabixfang-fa</guid><dc:creator>Administrator</dc:creator><category>docker</category><pubDate>Sat, 28 Mar 2026 16:10:56 GMT</pubDate></item><item><title><![CDATA[Debian12为gpt的系统分区扩容（飞牛可用）]]></title><link>https://hcold.cn/archives/debian12wei-gptde-xi-tong-fen-qu-kuo-rong-fei-niu-ke-yong</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=Debian12%E4%B8%BAgpt%E7%9A%84%E7%B3%BB%E7%BB%9F%E5%88%86%E5%8C%BA%E6%89%A9%E5%AE%B9%EF%BC%88%E9%A3%9E%E7%89%9B%E5%8F%AF%E7%94%A8%EF%BC%89&amp;url=/archives/debian12wei-gptde-xi-tong-fen-qu-kuo-rong-fei-niu-ke-yong" width="1" height="1" alt="" style="opacity:0;">仅限制虚拟机环境和盘对盘情况 1、查看要扩容分区状态，第一步是要看分区所属磁盘，2查看分区格式 fdisk 我们看图中的几个重要信息，由于我个人在扩容之前做了个查看空间的动作，这个是没扩容分区的状态 1、磁盘类型：Disklabel type: gpt → 采用 GPT 分区表，适配 UEFI 启动]]></description><guid isPermaLink="false">/archives/debian12wei-gptde-xi-tong-fen-qu-kuo-rong-fei-niu-ke-yong</guid><dc:creator>Administrator</dc:creator><category>debian</category><pubDate>Sun, 15 Mar 2026 12:05:34 GMT</pubDate></item><item><title><![CDATA[将 Debian 11（Bullseye）升级到 Debian 12（Bookworm）]]></title><link>https://hcold.cn/archives/jiang-debian-11-bullseye-sheng-ji-dao-debian-12-bookworm</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=%E5%B0%86%20Debian%2011%EF%BC%88Bullseye%EF%BC%89%E5%8D%87%E7%BA%A7%E5%88%B0%20Debian%2012%EF%BC%88Bookworm%EF%BC%89&amp;url=/archives/jiang-debian-11-bullseye-sheng-ji-dao-debian-12-bookworm" width="1" height="1" alt="" style="opacity:0;">一、升级前准备 备份关键数据优先备份 /etc（配置文件）、/home（用户数据）及数据库等核心内容： sudo rsync -av /home /mnt/backup # 备份用户数据 sudo tar -cvpzf /mnt/backup/debian11-backup.tar.gz --e]]></description><guid isPermaLink="false">/archives/jiang-debian-11-bullseye-sheng-ji-dao-debian-12-bookworm</guid><dc:creator>Administrator</dc:creator><category>debian</category><pubDate>Tue, 10 Feb 2026 13:55:00 GMT</pubDate></item><item><title><![CDATA[CentOS7最小安装后的配网]]></title><link>https://hcold.cn/archives/centos7zui-xiao-an-zhuang-hou-de-pei-wang</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=CentOS7%E6%9C%80%E5%B0%8F%E5%AE%89%E8%A3%85%E5%90%8E%E7%9A%84%E9%85%8D%E7%BD%91&amp;url=/archives/centos7zui-xiao-an-zhuang-hou-de-pei-wang" width="1" height="1" alt="" style="opacity:0;">在centos中的最小安装是没有ifconfig，所以要使用ip addr命令，用法如下： 那么可以看到的上面的参数，一个是网卡名称，第二个是ip地址的信息 详细解析一下 ip address命令详解 ip address：用于管理ip地址 ip address命令格式说明： Usage: ip a]]></description><guid isPermaLink="false">/archives/centos7zui-xiao-an-zhuang-hou-de-pei-wang</guid><dc:creator>Administrator</dc:creator><category>CentOS</category><pubDate>Tue, 10 Feb 2026 13:44:34 GMT</pubDate></item><item><title><![CDATA[设置centos7yum源为阿里源]]></title><link>https://hcold.cn/archives/she-zhi-centos7yumyuan-wei-a-li-yuan</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=%E8%AE%BE%E7%BD%AEcentos7yum%E6%BA%90%E4%B8%BA%E9%98%BF%E9%87%8C%E6%BA%90&amp;url=/archives/she-zhi-centos7yumyuan-wei-a-li-yuan" width="1" height="1" alt="" style="opacity:0;">1. 备份原来的yum源 sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2.设置aliyun的yum源 sudo wget -O /etc/yum.repos.d/CentOS-Bas]]></description><guid isPermaLink="false">/archives/she-zhi-centos7yumyuan-wei-a-li-yuan</guid><dc:creator>Administrator</dc:creator><category>CentOS</category><pubDate>Tue, 10 Feb 2026 13:31:22 GMT</pubDate></item><item><title><![CDATA[CentOS7/RHEL7安装EPEL扩展仓库步骤详解]]></title><link>https://hcold.cn/archives/centos7-rhel7an-zhuang-epelkuo-zhan-cang-ku-bu-zou-xiang-jie</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=CentOS7%2FRHEL7%E5%AE%89%E8%A3%85EPEL%E6%89%A9%E5%B1%95%E4%BB%93%E5%BA%93%E6%AD%A5%E9%AA%A4%E8%AF%A6%E8%A7%A3&amp;url=/archives/centos7-rhel7an-zhuang-epelkuo-zhan-cang-ku-bu-zou-xiang-jie" width="1" height="1" alt="" style="opacity:0;">在使用yum安装软件，提示没有可用的软件包。 那么经过分析发现系统中没有安装EPEL扩展仓库 原因解析( EPEL 扩展仓库) EPEL 是 yum 的一个软件源, 里面包含了许多基本源里没有的软件了, 但在我们在使用 epel 时是需要安装它才可以了, EPEL, 即 Extra Packages]]></description><guid isPermaLink="false">/archives/centos7-rhel7an-zhuang-epelkuo-zhan-cang-ku-bu-zou-xiang-jie</guid><dc:creator>Administrator</dc:creator><category>CentOS</category><pubDate>Tue, 10 Feb 2026 13:26:35 GMT</pubDate></item><item><title><![CDATA[centOS7创建普通用户]]></title><link>https://hcold.cn/archives/centos7chuang-jian-pu-tong-yong-hu</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=centOS7%E5%88%9B%E5%BB%BA%E6%99%AE%E9%80%9A%E7%94%A8%E6%88%B7&amp;url=/archives/centos7chuang-jian-pu-tong-yong-hu" width="1" height="1" alt="" style="opacity:0;">一、添加账户 1、命令： [root@localhost ~]# adduser lwx 命令解析：adduser在中文意思里是添加账户/用户，中间需要空格，然后把新的用户名称写进去 例如：adduser 新用户名的名称写在这，上面的命令是添加账户，账户名为lwx。 2、为新创建的账户设置密码 命令]]></description><guid isPermaLink="false">/archives/centos7chuang-jian-pu-tong-yong-hu</guid><dc:creator>Administrator</dc:creator><category>CentOS</category><pubDate>Tue, 10 Feb 2026 13:24:51 GMT</pubDate></item><item><title><![CDATA[pve ddns(阿里云，腾讯等)获取ipv6 ddnsgo修改解析记录]]></title><link>https://hcold.cn/archives/pve-ddns-a-li-yun-teng-xun-deng-huo-qu-ipv6-ddnsgoxiu-gai-jie-xi-ji-lu</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=pve%20ddns%28%E9%98%BF%E9%87%8C%E4%BA%91%EF%BC%8C%E8%85%BE%E8%AE%AF%E7%AD%89%29%E8%8E%B7%E5%8F%96ipv6%20ddnsgo%E4%BF%AE%E6%94%B9%E8%A7%A3%E6%9E%90%E8%AE%B0%E5%BD%95&amp;url=/archives/pve-ddns-a-li-yun-teng-xun-deng-huo-qu-ipv6-ddnsgoxiu-gai-jie-xi-ji-lu" width="1" height="1" alt="" style="opacity:0;">pve ddns(阿里云，腾讯等)获取ipv6 ddnsgo修改解析记录 创建目录 mkdir -p /opt/ddns-go 进入目录 cd /opt/ddns-go/ 下载附件上传或者直接下载 附件链接 https://github.com/jeessy2/ddns-go/releases/d]]></description><guid isPermaLink="false">/archives/pve-ddns-a-li-yun-teng-xun-deng-huo-qu-ipv6-ddnsgoxiu-gai-jie-xi-ji-lu</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 13:17:21 GMT</pubDate></item><item><title><![CDATA[【虚拟机】PVE local存储空间扩容（删除local-lvm）]]></title><link>https://hcold.cn/archives/xu-ni-ji-pve-localcun-chu-kong-jian-kuo-rong-shan-chu-local-lvm</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=%E3%80%90%E8%99%9A%E6%8B%9F%E6%9C%BA%E3%80%91PVE%20local%E5%AD%98%E5%82%A8%E7%A9%BA%E9%97%B4%E6%89%A9%E5%AE%B9%EF%BC%88%E5%88%A0%E9%99%A4local-lvm%EF%BC%89&amp;url=/archives/xu-ni-ji-pve-localcun-chu-kong-jian-kuo-rong-shan-chu-local-lvm" width="1" height="1" alt="" style="opacity:0;">【虚拟机】PVE local存储空间扩容（删除local-lvm） 命令行执行： lvremove pve/data lvextend -l +100%FREE -r pve/root 图形界面删除local-lvm]]></description><guid isPermaLink="false">/archives/xu-ni-ji-pve-localcun-chu-kong-jian-kuo-rong-shan-chu-local-lvm</guid><dc:creator>Administrator</dc:creator><pubDate>Tue, 10 Feb 2026 13:14:31 GMT</pubDate></item><item><title><![CDATA[PVE上传镜像报错Error 0 occurred while receiving the document.]]></title><link>https://hcold.cn/archives/pveshang-chuan-jing-xiang-bao-cuo-error-0-occurred-while-receiving-the-document.</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=PVE%E4%B8%8A%E4%BC%A0%E9%95%9C%E5%83%8F%E6%8A%A5%E9%94%99Error%200%20occurred%20while%20receiving%20the%20document.&amp;url=/archives/pveshang-chuan-jing-xiang-bao-cuo-error-0-occurred-while-receiving-the-document." width="1" height="1" alt="" style="opacity:0;">Error 0 occurred while rece 出现背景 在网页上传iso时，出现报错 在syslog中可以查看到如下的报错 Feb 14 13:44:18 pve pveproxy[10389]: unable to create temporary upload file '/var/t]]></description><guid isPermaLink="false">/archives/pveshang-chuan-jing-xiang-bao-cuo-error-0-occurred-while-receiving-the-document.</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 13:07:25 GMT</pubDate></item><item><title><![CDATA[pve导入备份的虚拟机]]></title><link>https://hcold.cn/archives/pvedao-ru-bei-fen-de-xu-ni-ji</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=pve%E5%AF%BC%E5%85%A5%E5%A4%87%E4%BB%BD%E7%9A%84%E8%99%9A%E6%8B%9F%E6%9C%BA&amp;url=/archives/pvedao-ru-bei-fen-de-xu-ni-ji" width="1" height="1" alt="" style="opacity:0;">1、将备份的虚拟机文件上传到/var/lib/vz/dump 2、重命名虚拟机备份文件为：vzdump-qemu-70008-2024_01_07-00_16_45.vma 注意如果此文件不能使用，就现场备份一个新的，把新的备份文件抄一份出来 3、恢复备份文件]]></description><guid isPermaLink="false">/archives/pvedao-ru-bei-fen-de-xu-ni-ji</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 13:05:56 GMT</pubDate></item><item><title><![CDATA[PVE导入外部磁盘的方法]]></title><link>https://hcold.cn/archives/pvedao-ru-wai-bu-ci-pan-de-fang-fa</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=PVE%E5%AF%BC%E5%85%A5%E5%A4%96%E9%83%A8%E7%A3%81%E7%9B%98%E7%9A%84%E6%96%B9%E6%B3%95&amp;url=/archives/pvedao-ru-wai-bu-ci-pan-de-fang-fa" width="1" height="1" alt="" style="opacity:0;">1、先把磁盘镜像上传到pve服务器，我这里传到pve的tmp目录下，所有命令 cd /tmp 进入目录以后使用winscp软件与pve服务器连接，协议使用scp协议连接 然后进入到/tmp目录下，把vmdk或者qcow2的文件上传到内部 2、转换磁盘步骤，选做，但是目前测试没有成功，应该是存储不足引]]></description><guid isPermaLink="false">/archives/pvedao-ru-wai-bu-ci-pan-de-fang-fa</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 13:05:10 GMT</pubDate></item><item><title><![CDATA[PVE8.0系列更换安装源]]></title><link>https://hcold.cn/archives/pve8.0xi-lie-geng-huan-an-zhuang-yuan</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=PVE8.0%E7%B3%BB%E5%88%97%E6%9B%B4%E6%8D%A2%E5%AE%89%E8%A3%85%E6%BA%90&amp;url=/archives/pve8.0xi-lie-geng-huan-an-zhuang-yuan" width="1" height="1" alt="" style="opacity:0;">Proxmox VE 8.0更换安装源 近日测试安装了Proxmox VE 8.0.3版本，由于底层Debian系统升级到了12.0.x版本，所以以往baidu处理的安装源都不再适合，现把相关安装源分享给大家。 本次使用的是清华的镜像源。对应的源文件如下 备份资料：cp /etc/apt/sourc]]></description><guid isPermaLink="false">/archives/pve8.0xi-lie-geng-huan-an-zhuang-yuan</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 12:38:46 GMT</pubDate></item><item><title><![CDATA[Proxmox VE（PVE）出现TASK ERROR：VM is locked 的解决方法]]></title><link>https://hcold.cn/archives/proxmox-ve-pve-chu-xian-task-error-vm-is-locked-de-jie-jue-fang-fa</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=Proxmox%20VE%EF%BC%88PVE%EF%BC%89%E5%87%BA%E7%8E%B0TASK%20ERROR%EF%BC%9AVM%20is%20locked%20%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;url=/archives/proxmox-ve-pve-chu-xian-task-error-vm-is-locked-de-jie-jue-fang-fa" width="1" height="1" alt="" style="opacity:0;">Proxmox VE（PVE）出现TASK ERROR：VM is locked 的解决方法 操作PVE虚拟机的时候，本来是要点“停止”的，结果手滑不小心点到虚拟机的“休眠”，再想点开机的时候就提示TASK ERROR：VM is locked的错误提示，不能做任何的操作。 解决方法： ssh登陆P]]></description><guid isPermaLink="false">/archives/proxmox-ve-pve-chu-xian-task-error-vm-is-locked-de-jie-jue-fang-fa</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 06:20:27 GMT</pubDate></item><item><title><![CDATA[PVE系统，硬盘直通给虚拟机]]></title><link>https://hcold.cn/archives/pvexi-tong-ying-pan-zhi-tong-gei-xu-ni-ji</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=PVE%E7%B3%BB%E7%BB%9F%EF%BC%8C%E7%A1%AC%E7%9B%98%E7%9B%B4%E9%80%9A%E7%BB%99%E8%99%9A%E6%8B%9F%E6%9C%BA&amp;url=/archives/pvexi-tong-ying-pan-zhi-tong-gei-xu-ni-ji" width="1" height="1" alt="" style="opacity:0;">该篇教程主要讲解硬盘直通 当然如果安装了Pve Tools，就更加简单了。 来到Shell 或使用ssh来进行连接 查询硬盘 ls -la /dev/disk/by-id/|grep -v dm|grep -v lvm|grep -v part]]></description><guid isPermaLink="false">/archives/pvexi-tong-ying-pan-zhi-tong-gei-xu-ni-ji</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 06:18:56 GMT</pubDate></item><item><title><![CDATA[设置PVE的静态IP（方便简单）]]></title><link>https://hcold.cn/archives/she-zhi-pvede-jing-tai-ip-fang-bian-jian-dan</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=%E8%AE%BE%E7%BD%AEPVE%E7%9A%84%E9%9D%99%E6%80%81IP%EF%BC%88%E6%96%B9%E4%BE%BF%E7%AE%80%E5%8D%95%EF%BC%89&amp;url=/archives/she-zhi-pvede-jing-tai-ip-fang-bian-jian-dan" width="1" height="1" alt="" style="opacity:0;">由于操作系统是基于dibian的底层来操作 我们需要编辑2个文件 /etc/network/interfaces（配置IP和网关） /etc/resolv.conf（配置DNS服务器） 先 nano /etc/network/interfaces auto eth0 #开机自动连接网络 iface]]></description><guid isPermaLink="false">/archives/she-zhi-pvede-jing-tai-ip-fang-bian-jian-dan</guid><dc:creator>Administrator</dc:creator><category>PVE</category><pubDate>Tue, 10 Feb 2026 06:12:16 GMT</pubDate></item><item><title><![CDATA[PVE解决笔记本关盖停止服务]]></title><link>https://hcold.cn/archives/pvejie-jue-bi-ji-ben-guan-gai-ting-zhi-fu-wu</link><description><![CDATA[<img src="https://hcold.cn/plugins/feed/assets/telemetry.gif?title=PVE%E8%A7%A3%E5%86%B3%E7%AC%94%E8%AE%B0%E6%9C%AC%E5%85%B3%E7%9B%96%E5%81%9C%E6%AD%A2%E6%9C%8D%E5%8A%A1&amp;url=/archives/pvejie-jue-bi-ji-ben-guan-gai-ting-zhi-fu-wu" width="1" height="1" alt="" style="opacity:0;">由于系统是使用debian来做的，所以思路以debian为主 我这里使用winscp软件来修改，当然可以使用ssh来操作，思路上大同一致，只是一个可视化操作一个是命令操作，废话不多说开始吧！ 1、在终端中编辑 logind.conf sudo vim /etc/systemd/logind.conf]]></description><guid isPermaLink="false">/archives/pvejie-jue-bi-ji-ben-guan-gai-ting-zhi-fu-wu</guid><dc:creator>Administrator</dc:creator><category>PVE</category><category>debian</category><pubDate>Tue, 10 Feb 2026 06:10:45 GMT</pubDate></item></channel></rss>