<?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>内存占用 &#8211; 悠然居</title>
	<atom:link href="https://wordpress.youran.me/tag/%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.youran.me</link>
	<description>极客技术博客</description>
	<lastBuildDate>Tue, 22 Mar 2016 11:31:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>VPS配置之最小化资源占用</title>
		<link>https://wordpress.youran.me/vps%e9%85%8d%e7%bd%ae%e4%b9%8b%e6%9c%80%e5%b0%8f%e5%8c%96%e8%b5%84%e6%ba%90%e5%8d%a0%e7%94%a8/</link>
					<comments>https://wordpress.youran.me/vps%e9%85%8d%e7%bd%ae%e4%b9%8b%e6%9c%80%e5%b0%8f%e5%8c%96%e8%b5%84%e6%ba%90%e5%8d%a0%e7%94%a8/#comments</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Thu, 27 Oct 2011 15:04:41 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[内存占用]]></category>
		<category><![CDATA[最小化资源]]></category>
		<guid isPermaLink="false">http://wordpress.youran.me/?p=166</guid>

					<description><![CDATA[使用环境假定： ramhost主机，ubuntu 9.10系统，已用ssh dropper登录到了root 配置目标： 在保证日常功能：ssh,ftp,http的情况下尽量节约系统资源，所以http server就用nginx，mysql换成sqlite，博客程序使用wordpress+PDO插件（以使用sqlite） 内存方面，sshd 2M, proftpd 2M, nginx 2+4M, php-cgi 9*2=18M，其他不占内存，一共是28M内存，其他初始杂七杂八的如init,cron,syslog等等加起来10M左右，那么一共才用了38M的内存，再苛刻的plan都足够用了，当然配置的时候也可以不用那么抠门，呵呵。 1.为安全起见，创建非root用户，修改密码，修改sudo权限： useradd observer -m passwd observer vi /etc/sudoers observer ALL=(ALL) ALL vi /etc/passwd 把observer那行的/bin/sh改为/bin/bash su observer 2.安装和简单配置vim编辑器 sudo apt-get install &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/vps%e9%85%8d%e7%bd%ae%e4%b9%8b%e6%9c%80%e5%b0%8f%e5%8c%96%e8%b5%84%e6%ba%90%e5%8d%a0%e7%94%a8/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/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 32/34 objects using Disk
Page Caching using Disk: Enhanced 
Database Caching 4/7 queries in 0.001 seconds using Disk

Served from: wordpress.youran.me @ 2026-09-03 16:06:46 by W3 Total Cache
-->