﻿<?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>运维部落 &#187; vps12.com</title>
	<atom:link href="http://help.vps12.com/tag/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>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>
		<item>
		<title>proxmox使用apt更新解决办法</title>
		<link>https://help.vps12.com/2255.html</link>
		<comments>https://help.vps12.com/2255.html#comments</comments>
		<pubDate>Tue, 03 Oct 2023 15:31:10 +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=2255</guid>
		<description><![CDATA[有一台pve6.3.2已经有2年多没更新和重启了。最近迁移了vps数据，想更新一下并重启。担提示如下所示的错误： ?View Code BASH1 2 3 4 5 6 7 8 9 10 11 Get:1 http://ftp.debian.org/debian buster InRelease &#91;123 kB&#93; Get:2 http://security.debian.org buster/updates InRelease &#91;65.3 kB&#93; Get:3 http://ftp.debian.org/debian buster-updates InRelease &#91;51.1 kB&#93; Reading package lists... Done E: Repository 'http://security.debian.org buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable' N: This must be accepted explicitly [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2255.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2016 密码重置</title>
		<link>https://help.vps12.com/2250.html</link>
		<comments>https://help.vps12.com/2250.html#comments</comments>
		<pubDate>Sat, 02 Sep 2023 05:34:39 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[vps12.com]]></category>
		<category><![CDATA[windows 2016]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2250</guid>
		<description><![CDATA[在 Windows Server 2016 中忘记管理员密码怎么办？作为 IT 管理员，您应该遇到过使用未知密码登录服务器的问题，因此在这篇文章中，我们将展示两种简单的方法来重置忘记的 Windows Server 2016 管理员密码。这些方法也适用于其他 Windows 版本。 ***过程 修复模式命令修改密码 1、选择SERVER 2016安装镜像来引导。 使用ser2016安装介质，进入下图界面，点击下一步： 2、选择【修复计算机】 3、选择【疑难解答】 4、选择【命令提示符】 5、进入命令行，分别输入命令： C: //切换到系统C盘 dir //列出文件 cd windows/system32 //将Utilman.exe文件改名为Utilman.exe.old copy cmd.exe utilman.exe //将cmd.exe改名拷贝成utilman.exe文件 6、关闭命令行 选择【继续】进入系统，或重启进入系统 7、命令行修改密码 服务器现在应该重新启动并显示登录屏幕。按Windows 键 + U或单击轻松访问按钮，将弹出命令提示符并键入： net user Administrator vps12.com 密码重置为vps12.com完成，尝试登陆。 8、还原系统文件 使用U盘或光盘安装介质，进入命令行，如前面所述 C: //切换到系统c盘目录， cd windows/system32/ // 进入c盘windows/system32/路径下 ren utilman.exe [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2250.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
