﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>运维部落</title>
	<atom:link href="http://help.vps12.com/feed" rel="self" type="application/rss+xml" />
	<link>https://help.vps12.com</link>
	<description>分享服务器运维及实践解决方案</description>
	<lastBuildDate>Sat, 25 Jan 2025 07:14:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ubuntu dpkg: 处理软件包 initramfs-tools (&#8211;configure) 时出错</title>
		<link>https://help.vps12.com/2311.html</link>
		<comments>https://help.vps12.com/2311.html#comments</comments>
		<pubDate>Sat, 25 Jan 2025 07:14:14 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2311</guid>
		<description><![CDATA[dpkg: 处理软件包 initramfs-tools (&#8211;configure)时出错： 已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1 在处理时有错误发生： initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) 解决方法： # 进入 dpkg 目录 cd /var/lib/dpkg # 备份 info 目录 sudo mv info info_bak # 新建 info 目录 sudo mkdir info # 更新源 sudo apt update # 修复依赖关系 apt -f install # 合并内容到 [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2311.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pve 8.2.2 解决unsupported Ubuntu version &#8217;24.04&#8242;</title>
		<link>https://help.vps12.com/2309.html</link>
		<comments>https://help.vps12.com/2309.html#comments</comments>
		<pubDate>Sat, 18 Jan 2025 12:26:00 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2309</guid>
		<description><![CDATA[解决unsupported Ubuntu version &#8217;24.04&#8242; 问题描述：我在重装pve8.2.2恢复我的容器和虚拟机的时候，发现24.04的容器恢复时出现了如下错误： TASK ERROR: unable to restore CT 104 &#8211; unsupported Ubuntu version &#8217;24.04&#8242; 修改 PVE/LXC/Setup/Ubuntu.pm 它应该在/usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm或者其他的地方，修改它。 my $known_versions = { + &#8217;24.04&#8242; => 1, # noble &#8217;23.10&#8242; => 1, # mantic &#8217;23.04&#8242; => 1, # lunar &#8217;22.10&#8242; => 1, # kinetic 添加24.04这一行。 然后运行 pveam available pveam update pveam available]]></description>
		<wfw:commentRss>https://help.vps12.com/2309.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos7更换update源</title>
		<link>https://help.vps12.com/2304.html</link>
		<comments>https://help.vps12.com/2304.html#comments</comments>
		<pubDate>Fri, 07 Jun 2024 08:41:08 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2304</guid>
		<description><![CDATA[centos7 更换update源 阿里源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo or curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache yum update -y 163源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo]]></description>
		<wfw:commentRss>https://help.vps12.com/2304.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E：Could not get lock /var/lib/dpkg/lock 问题解决方法</title>
		<link>https://help.vps12.com/2298.html</link>
		<comments>https://help.vps12.com/2298.html#comments</comments>
		<pubDate>Wed, 22 May 2024 12:25:48 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2298</guid>
		<description><![CDATA[今天在ubuntu上安装软件时提示E：Could not get lock /var/lib/dpkg/lock 上述提示的意思是，无法获取/var/lib/dpkg/lock 锁，解决的办法很简单，把当前的锁干掉就可以了， 执行 sudo rm -rf /var/lib/dpkg/lock 。]]></description>
		<wfw:commentRss>https://help.vps12.com/2298.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ramfs、tmpfs、rootfs、ramdisk介绍</title>
		<link>https://help.vps12.com/2291.html</link>
		<comments>https://help.vps12.com/2291.html#comments</comments>
		<pubDate>Sun, 14 Apr 2024 02:29:25 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2291</guid>
		<description><![CDATA[bootleader&#8212;》kernel&#8212;-》initrd(是xz、cpio、是ramfs的一种，主要是驱动和为了加载rootfs准备一些环境、设备之类的)&#8212;&#8212;&#8211;》rootfs(是img镜像文件，也是ramfs的一种，是为安装系统准备的环境，以后再安装系统就是在rootfs中进行安装和处理最后得到一个真是的文件系统，安装程序在这里) 很久之前就分析过这部分内容，但是那个时候不够深入，姑且知道这么个东西存在，到底怎么用，来龙去脉咋回事就不知道了。前段时间工作上遇到了一个initrd的问题，没办法只能再去研究研究，还好，有点眉目，索性整理了一下。 网络上流传着很多关于ramdisk、initrd的各种版本的分析，我的这篇源于对他们的理解，非常感谢那些前辈的无私奉献，要不然我们这些晚辈学起东西来该是多么艰难呀。在这里需要特别声明的是如果文中有引用了您的思想而没有给出参考文献，请您原谅我的疏忽。晚辈就是需要站在像您这种巨人的肩上，技术才会发展，社会才会进步。 另外，由于本人水平有限，文中难免有误解及不全面之处，烦请指正，谢谢！ 欢迎转载，但请保留原文该有的信息。 目录 第一部分：ramfs、tmpfs、rootfs、ramdisk 一、 什么是ramfs 二、 什么是tmpfs 三、 什么是rootfs 四、 什么是ramdisk 第二部分：initrd、initramfs 一、 initrd出现的背景 二、 initrd的种类和制作 第三部分：kernel初始化initrd代码分析 一、 bootloader传递给内核的关于initrd的参数 二、 动态内存分配器slab介绍 三、 rootfs初始化 四、 内核初始化阶段对initrd的处理 五、 老式块设备的initrd的处理函数prepare_namespace()分析 附文 参考网址 第一部分：ramfs、tmpfs、rootfs、ramdisk 一、 什么是ramfs？ 1. linux缓存机制 VFS(虚拟文件系统)层屏蔽了各种真实文件系统的特性，提供给linux上层统一的接口。 通常，linux对所有文件的读写都会在内存在做高速缓存，当系统再次使用这些文件时，可以直接从内存中读取，以提高系统的I/O性能。当高速缓存中的文件被修改或者有数据写入高速缓存时，系统会在适当的时候将这些高速缓存中的数据回写到对应的文件系统设备(如磁盘、flash等)中去，那么这之后这些高速缓存的状态就被标识为clean(可用)，这样就相当于告诉了系统：这些高速缓存中的数据文件系统设备上有备份，你可以拿去另作他用。但其中的数据会保持到VMS(Virtual Memory System)将这些高速缓存回收重新分配。 类似于页缓存机制，目录缓存机制也极大地加快了对目录的访问。 2. ramfs ramfs是一种非常简单的文件系统，它直接利用linux内核已有的高速缓存机制(所以其实现代码很小,也由于这个原因，ramfs特性不能通过内核配置参数屏蔽，它是内核的天然属性)，使用系统的物理内存，做成一个大小可以动态变化的的基于内存的文件系统。 ramfs工作于虚拟文件系统层(VFS)层，不能被格式化，可以创建多个，默认情况下，ramfs最多能用到内存的一半，必要时也可以使用-o maxsize = 10000(单位是KB)来更改使用的最大内存量。 ramfs没有对应的文件系统设备，文件被写入ramfs和其他文件系统一样都正常分配页缓存和目录缓存，但是却不可能想其他有存储设备的文件系统一样将高速缓存中的文件回写到存储设备。这就意味着这些为ramfs中的文件和目录分配的高速页或者目录缓存都不可能会被标记为clean(可用)状态，所以系统就永远不会释放ramfs所占用的内存。正因为可以在ramfs下面可以一直往里写数据，直到写满为止，所以这种操作只有root(or trusted user)用户才可以进行ramfs写操作。 为了解决ramfs的缺点(没有回写设备)导致的种种问题，所以衍生出了tmpfs文件系统。 二、 [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2291.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>macOS软件集合推荐</title>
		<link>https://help.vps12.com/2286.html</link>
		<comments>https://help.vps12.com/2286.html#comments</comments>
		<pubDate>Sun, 31 Mar 2024 01:45:24 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[网络产品]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2286</guid>
		<description><![CDATA[Awesome Mac 收集了很多好用的mac软件，这是一个大集合，内容太多，这里只是显示部分内容，更多内容大家可以到网站上浏览，寻找自己喜欢的软件。 图片 表示 开源软件 ，点击进入 开源 仓库； 图片 表示 免费 使用，或者个人 免费 ； 图片 表示 App store 连接地址； 图片 表示项目的相应 Awesome list 的超链接； 正则编辑器 Patterns &#8211; 正则表达式编辑器。 Regex &#8211; 感觉是用过最漂亮的正则表达式测试工具。 Reggy &#8211; 正则表达式编辑器。Open-Source Software Freeware RegExRX &#8211; 正则表达式的开发工具。 API开发和分析 Cocoa Rest Client &#8211; 比 Postman 看起来漂亮的客户端，测试 HTTP/REST endpoints。Open-Source Software Freeware Insomnia &#8211; 最直观的跨平台 [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2286.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bashtop安装使用</title>
		<link>https://help.vps12.com/2282.html</link>
		<comments>https://help.vps12.com/2282.html#comments</comments>
		<pubDate>Mon, 19 Feb 2024 14:40:50 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2282</guid>
		<description><![CDATA[需要在最新的bash下使用 $ git clone https://github.com/aristocratos/bashtop.git $ cd bashtop $ sudo make install #查看自己bash的版本发现是4.2版本 /bin/bash &#8211;version #下载bash5.0版本 wget http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz #解压 tar zxvf bash-5.0.tar.gz #进入目录 cd bash-5.0 #编译 ./configure &#038;&#038; make &#038;&#038; make install #创建软连接 mv /bin/bash /bin/bash.bak ln -s /usr/local/bin/bash /bin/bash #最后重启服务器配置即可生效 重新登陆后可以使用bashtop了。]]></description>
		<wfw:commentRss>https://help.vps12.com/2282.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>运维 600条 Linux 命令，可以解决日常大部分问题</title>
		<link>https://help.vps12.com/2275.html</link>
		<comments>https://help.vps12.com/2275.html#comments</comments>
		<pubDate>Mon, 08 Jan 2024 15:38:48 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2275</guid>
		<description><![CDATA[1、基本命令 uname -m 显示机器的处理器架构 uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 hdparm -tT /dev/sda 在磁盘上执行测试性读取操作系统信息 arch 显示机器的处理器架构 uname -m 显示机器的处理器架构 uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 &#8211; (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 hdparm -tT /dev/sda 在磁盘上执行测试性读取操作 cat /proc/cpuinfo 显示CPU info的信息 cat /proc/interrupts 显示中断 cat /proc/meminfo 校验内存使用 cat [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2275.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DELL服务器R440 UEFI0079：One or more Uncorrectable Memory errors occurred in the previous boot.</title>
		<link>https://help.vps12.com/2269.html</link>
		<comments>https://help.vps12.com/2269.html#comments</comments>
		<pubDate>Mon, 01 Jan 2024 03:59:43 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[网络产品]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2269</guid>
		<description><![CDATA[DELL服务器R440 内存错误导致服务器异常重启 &#160; ?View Code BASH1 2 3 4 5 6 7 8 9 10 11 12 13 14 # 显示错误:前液晶LED显示先后提示CPU和Memory错误 UEFI0058：Uncorrectable memory error has occurred because a dual inline memory module &#40;DIMM&#41; is not functioning. UEFI0078：One or more Machine Check errors occurred in the previous boot. Check the System Event Log &#40;SEL&#41; to identifiy the [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2269.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>新一代多系统启动U盘解决方案Ventoy</title>
		<link>https://help.vps12.com/2264.html</link>
		<comments>https://help.vps12.com/2264.html#comments</comments>
		<pubDate>Sat, 23 Dec 2023 14:41:37 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[网络产品]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2264</guid>
		<description><![CDATA[Ventoy 简介 简单来说，Ventoy是一个制作可启动U盘的开源工具。 有了Ventoy你就无需反复地格式化U盘，你只需要把 ISO/WIM/IMG/VHD(x)/EFI 等类型的文件直接拷贝到U盘里面就可以启动了，无需其他操作。 你可以一次性拷贝很多个不同类型的镜像文件，Ventoy 会在启动时显示一个菜单来供你进行选择 (参见 截图)。 你还可以在 Ventoy 的界面中直接浏览并启动本地硬盘中的 ISO/WIM/IMG/VHD(x)/EFI 等类型的文件。 Ventoy 安装之后，同一个U盘可以同时支持 x86 Legacy BIOS、IA32 UEFI、x86_64 UEFI、ARM64 UEFI 和 MIPS64EL UEFI 模式，同时还不影响U盘的日常使用。 Ventoy 支持大部分常见类型的操作系统 （Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen &#8230;） 目前已经测试了各类超过 1100+ 个镜像文件(列表)。 支持 distrowatch.com 网站上收录的 90%+ 的操作系统(列表) iVentoy 如果你有通过网络安装操作系统（PXE）的需求，欢迎使用作者的新项目——iVentoy     https://www.iventoy.com Ventoy Browser Ventoy 除了可以启动U盘中的文件以外，还可以浏览、启动本地硬盘、移动硬盘中的 ISO/WIM/IMG/VHD(x)/EFI 等类型的文件。说明 VentoyPlugson Ventoy 通过各种插件提供了非常多的功能。同时还提供了一个图形化插件配置器 —— VentoyPlugson 方便使用。]]></description>
		<wfw:commentRss>https://help.vps12.com/2264.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
