<?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>Linux &#8211; 悠然居</title>
	<atom:link href="https://wordpress.youran.me/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.youran.me</link>
	<description>极客技术博客</description>
	<lastBuildDate>Fri, 04 Jul 2025 03:40:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.8</generator>
	<item>
		<title>禁用kdump，找回被Centos 8或Almalinux 9多占用的内存</title>
		<link>https://wordpress.youran.me/reclaim-kdump-memory/</link>
					<comments>https://wordpress.youran.me/reclaim-kdump-memory/#respond</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Wed, 08 Dec 2021 06:22:05 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://wordpress.youran.me/?p=764</guid>

					<description><![CDATA[近来越来越多地在VPS上安装centos 8而不是7，主要因为前者的4.x内核默认支持BBR拥堵算法，配置起来比锐速简单得多。前段时间新买了台VPS，装完系统发现本应该是1GB的内存，free -m 的结果只有809MB。后来发现是kdump这个东东导致的，而对普通用户来说它并没有什么用处，当然就应该把它禁用啦！ 1. 关闭并禁用kdump服务： systemctl stop kdump systemctl disable kdump 2. 修改相关配置文件： vim /etc/default/grub 找到GRUB_CMDLINE_LINUX=开头的一行，将其中的crashkernel=auto改为crashkernel=no，保存文件。 3. 执行下面的命令后，重启系统： grub2-mkconfig -o /boot/grub2/grub.cfg 然后你就会发现，可用内存多出来不少啦！这对于1GB以下内存的小机器来说还是蛮珍贵的。 Update: 近年来升级到了Almalinux 9,发现上述步骤无效了。更新一下最新的方法： 1. 同样关闭并禁用kdump服务，不再赘述 2. 查看启动参数： grubby --info=ALL 3. 一般来说，启动参数里会有crashkernel的参数。这里直接一刀切删除此参数： grubby &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/reclaim-kdump-memory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>centos 7安装BBR</title>
		<link>https://wordpress.youran.me/centos-7-install-bbr/</link>
					<comments>https://wordpress.youran.me/centos-7-install-bbr/#respond</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Tue, 14 Mar 2017 13:51:52 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bbr]]></category>
		<guid isPermaLink="false">https://wordpress.youran.me/?p=684</guid>

					<description><![CDATA[以前一直锐速，对服务器上行质量提升显著，但毕竟是个第三方商业公司的产品，而且一般人只会用破解版，安全性无法保证。正好前段时间出来了一个TCP拥堵控制模块，进入了4.9内核，很多人用下来感觉性能直逼锐速，关键是对内存要求低，基本上只要是kvm的vps就行，不像锐速在256M内存的centos7下经常会卡死，或者直接无法启动。 这里把在centos7下安装BBR模块的步骤写一下供参考。也可以直接去elrepo官网查看。 1. 安装elrepo wget http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm yum localinstall -y elrepo-release-7.0-2.el7.elrepo.noarch.rpm 2. 修改repo文件 elrepo-kernel默认是禁用的，需要手动打开。 方法是修改/etc/yum.repos.d/elrepo.repo，将其中[elrepo-kernel]下面的enabled=0改成enabled=1即可。 3. 安装4.9内核 yum install -y kernel-ml 可能你会发现安装的内核版本号已经不止4.9了，如4.10。没关系只要大于4.9都可以。 4. 选择开机启动的内核 安装完内核，还需要将其设为开机启动的内核才能起效。这里提供一个脚本，可以很方便地选择grub2的默认启动内核。 》点击下载《 bash grub2-select.bash 5. 指定BBR为拥堵控制模块 修改/etc/sysctl.conf，在最下面加入如下两行(已有的话就修改对应值)： net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/centos-7-install-bbr/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>centos 7下使用iptables</title>
		<link>https://wordpress.youran.me/use-iptables-in-centos-7/</link>
					<comments>https://wordpress.youran.me/use-iptables-in-centos-7/#comments</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Mon, 20 Feb 2017 14:08:19 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[iptables]]></category>
		<guid isPermaLink="false">https://wordpress.youran.me/?p=681</guid>

					<description><![CDATA[每次给vps做系统都习惯把firewalld换成iptables，并且清空iptables规则。 在这写篇备忘录，不再每次google去找原文了……话说firewalld存在了这么多年，感觉使用率不高啊。 禁用firewalled/安装iptables： systemctl stop firewalld systemctl mask firewalld yum -y install iptables-services systemctl enable iptables systemctl start iptables 清空iptables规则的脚本： #!/bin/sh echo "Stopping firewall and allowing everyone..." ipt="/sbin/iptables" ## Failsafe - die if /sbin/iptables not &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/use-iptables-in-centos-7/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Centos 7下部署kvm (qemu)</title>
		<link>https://wordpress.youran.me/centos-7-kvm-qemu/</link>
					<comments>https://wordpress.youran.me/centos-7-kvm-qemu/#comments</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Mon, 01 Aug 2016 14:46:34 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[qemu]]></category>
		<guid isPermaLink="false">https://wordpress.youran.me/?p=644</guid>

					<description><![CDATA[上周抢到了一台Kimsufi的KS-3C特价独服，i3-2130 CPU， 8GB内存， 2TB硬盘，月付8.99欧元。性价比非常高，终于不用和其他人挤在一起啦！唯一的缺点就是无论法国还是加拿大机房，对中国的延迟都太高了，普遍300ms往上。不过实际页面打开速度还不错，加了锐速后速度更上一层楼，而且全国ping超时也不严重，所以准备长期持有做站。 不过这个配置的独服，就建几个博客太浪费，但是只有一个IP，想挂机都不给力。正好手上还有几个小内存vps，于是想到了在独服这里开几个NAT vps，然后通过那几台小内存vps上的代理挂机。这里把我创建虚拟机(vps)的过程记录下来，供大家参考。 首先安装相关软件： yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install 启动服务： systemctl enable libvirtd &#038;& systemctl start libvirtd 接着就可以用virt-install工具，制作虚拟机实例： virt-install --virt-type kvm --name VM0 --ram 512 --vcpus=1 \ --network network=default --cdrom &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/centos-7-kvm-qemu/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>用树莓派为局域网提供FinalSpeed服务</title>
		<link>https://wordpress.youran.me/raspberry-pi-finalspeed-client/</link>
					<comments>https://wordpress.youran.me/raspberry-pi-finalspeed-client/#comments</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Fri, 25 Mar 2016 03:01:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Router]]></category>
		<category><![CDATA[finalspeed]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[网络加速]]></category>
		<guid isPermaLink="false">https://wordpress.youran.me/?p=619</guid>

					<description><![CDATA[如果你有闲置的树莓派，那么可以利用起来，为局域网内的机器提供finalspeed服务。finalspeed就不具体介绍了，简单说来就是比锐速还暴力的东西。 推荐2代或者3代树莓派，1代CPU太弱，严重制约java执行效率。这里以raspbian系统为例。raspbian已经默认安装了jdk1.8，所以我们只需要安装libpcap即可。 以下命令全部以root用户执行。同时默认你已经安装了FS的服务器端。 1. 安装libpcap： apt-get -y install libpcap-dev 2. 下载命令行客户端程序： wget https://github.com/zqhong/finalspeed/releases/download/v1.0/FinalSpeed_Client_CLI.zip 3. 解压： unzip FinalSpeed_Client_CLI.zip 4. 编辑client_config.json： vim client_config.json 修改其中的&#8221;download_speed&#8221;（本地下载带宽。以字节为单位，比如30M带宽就是3932160）、&#8221;protocal&#8221;（和服务器端一致，tcp或udp）、&#8221;server_address&#8221;（FS服务器的IP）、&#8221;upload_speed&#8221;（本地上传带宽，格式同下载带宽）。 5. 编辑port_map.json： vim port_map.json 加速ss的话，一般把第一个&#8221;dst_port&#8221;值改成服务器端ss的监听端口，第一个&#8221;listen_port&#8221;改成树莓派提供FS服务的端口即可。其他不用动。 6. 运行客户端 nohup java -jar client.jar >/dev/null 2>&#038;1 &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/raspberry-pi-finalspeed-client/feed/</wfw:commentRss>
			<slash:comments>24</slash:comments>
		
		
			</item>
		<item>
		<title>nginx 1.9.5支持http/2了</title>
		<link>https://wordpress.youran.me/nginx-1-9-5-http2/</link>
					<comments>https://wordpress.youran.me/nginx-1-9-5-http2/#comments</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Wed, 30 Sep 2015 11:31:52 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[http/2]]></category>
		<category><![CDATA[nginx]]></category>
		<guid isPermaLink="false">https://wordpress.youran.me/?p=583</guid>

					<description><![CDATA[前几天，nginx开源版发布了1.9.5，正式引入了http/2的支持，同时废除了spdy的支持。 今天也给博客升级一下http/2，因为一直是源代码编译安装，所以这次只需要改一下编译参数即可： 去掉 --with-http_spdy_module 加上 --with-http_v2_module 然后nginx的配置里： listen 443 ssl http2; OK，就是这么简单。用浏览器的HTTP/2 and SPDY indicator插件，已经能看到使用http/2连接啦！ 本文为悠然居(https://wordpress.youran.me/)的原创文章，转载请注明出处！]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/nginx-1-9-5-http2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 27/130 objects using Disk
Page Caching using Disk: Enhanced 
Database Caching using Disk

Served from: wordpress.youran.me @ 2026-06-12 03:37:41 by W3 Total Cache
-->