<?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; LINUX</title>
	<atom:link href="http://promiseforever.com/topics/learning/linux-learning/feed" rel="self" type="application/rss+xml" />
	<link>http://promiseforever.com</link>
	<description>记录我的一点一滴。</description>
	<lastBuildDate>Sat, 12 May 2012 12:37:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>遇到的一些APACHE错误日志</title>
		<link>http://promiseforever.com/2012/04/11/%e9%81%87%e5%88%b0%e7%9a%84%e4%b8%80%e4%ba%9bapache%e9%94%99%e8%af%af%e6%97%a5%e5%bf%97.html</link>
		<comments>http://promiseforever.com/2012/04/11/%e9%81%87%e5%88%b0%e7%9a%84%e4%b8%80%e4%ba%9bapache%e9%94%99%e8%af%af%e6%97%a5%e5%bf%97.html#comments</comments>
		<pubDate>Wed, 11 Apr 2012 01:51:31 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[生活随笔]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=6636</guid>
		<description><![CDATA[前几天一直很忙碌,没顾上整理blog.然后发现各种问题.我估计让小张也很无语. 慢慢来修改吧,毕竟买的书木有看完,没有整体的印象. 错误日志:Premature end of script headers 错误解释:程序过早执行完毕. 解决方法:检查是否由于编码保存问题,以及并发链接数问题产生的问题. 错误日志:Script timed out before returning headers 错误解释:超时返回程序头部. 解决方法:设置PHP中的max_execution_time数值,如果仍然出错,尝试设置apache的Timeout的数值. 错误日志:The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed 错误解释:超时设置已过期. 解决方法:检查 snmpd.conf 配置是否正确，如 ip地址. 错误日志:Handler for x-httpd-php5 returned invalid result code 70007 错误解释:php返回码无效. 解决方法:WP程序未做try catch. 错误日志:Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/04/11/%e9%81%87%e5%88%b0%e7%9a%84%e4%b8%80%e4%ba%9bapache%e9%94%99%e8%af%af%e6%97%a5%e5%bf%97.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>淘宝开源Tengine(Nginx)服务器</title>
		<link>http://promiseforever.com/2012/02/06/tengine.html</link>
		<comments>http://promiseforever.com/2012/02/06/tengine.html#comments</comments>
		<pubDate>Sun, 05 Feb 2012 21:29:29 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Tengine]]></category>
		<category><![CDATA[开源]]></category>
		<category><![CDATA[淘宝]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5838</guid>
		<description><![CDATA[Tengine是由淘宝核心系统部基于Nginx开发的Web服务器，它在Nginx的基础上，针对大访问量网站的需求，添加了很多功能和特性。Tengine的性能和稳定性已经在大型的网站如淘宝网，淘宝商城等得到了很好的验证。它的最终目标是打造一个高效、稳定、安全、易用的 Web 平台。Tengine现已开源。 从官方简介的页面可以看出，这个项目是一个给力的技术组做的，目前还少有美工介入。 看看特性列表，口水一地。 继承Nginx-1.0.11的所有特性； 输入过滤器机制支持。通过使用这种机制Web应用防火墙的编写更为方便； 组合多个CSS、JavaScript文件的访问请求变成一个请求； 支持管道和syslog形式的日志和抽样； 自动根据CPU数目设置亲缘性； 监控系统的负载和资源占用从而对系统进行保护； 显示对运维人员更友好的出错信息，便于定位出错机器； 更强大的访问速度限制模块； backtrace模块，程序崩溃的时候可以显示出错的调用栈。 &#8230; 官方地址]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/06/tengine.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XMAPP子域名设置，实现本地测试</title>
		<link>http://promiseforever.com/2012/02/04/xmapp-sub-domian.html</link>
		<comments>http://promiseforever.com/2012/02/04/xmapp-sub-domian.html#comments</comments>
		<pubDate>Fri, 03 Feb 2012 23:00:27 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[WIN32]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[子域名]]></category>
		<category><![CDATA[本地测试]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5821</guid>
		<description><![CDATA[XMAPP是一款不错的LAMP集成环境,不论是Ubuntu还是Windows,我都习惯用它来做测试。 虽然说是XMAPP独立子域名设置,但是其实还是Apache的子域名设置。 首先你要检查httpd.conf设置是否开启了Virtual hosts Linux套件环境httpd.conf在/opt/lampp/etc/httpd.conf Windows套件环境httpd.conf在xampp安装目录\apache\conf 打开conf文件,查找Virtual hosts 找到 # Virtual hosts #Include etc/extra/httpd-vhosts.conf 如果 Include etc/extra/httpd-vhosts.conf 前有“#”号的话,去掉“#”，并保存文件。 开始配置虚拟目录，或者说是子域名 Linux 修改/opt/lampp/extra/httpd-vhosts.conf文件 在里面添加下面的内容。 Windows下则是xampp安装目录\apache\conf\extra\httpd-vhosts.conf 注意我的配置里的logs目录设置和DocumentRoot的路径,下面的设置是Windows下的。 NameVirtualHost *:80 #www.test.com &#60;VirtualHost *:80&#62; ServerAdmin admin@test.com DocumentRoot &#34;C:/xampp/htdocs/&#34; ServerName test.com ServerAlias www.test.com ErrorLog &#34;logs/test.localhost.log&#34; CustomLog &#34;logs/test.localhost-access.log&#34; combined &#60;/VirtualHost&#62; &#160; #cache.test.com &#60;Directory &#34;C:/xampp/htdocs/cache&#34;&#62; Options Indexes FollowSymLinks ExecCGI Includes AllowOverride All Order ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/04/xmapp-sub-domian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vold进程资料</title>
		<link>http://promiseforever.com/2011/12/29/vold%e8%bf%9b%e7%a8%8b%e8%b5%84%e6%96%99.html</link>
		<comments>http://promiseforever.com/2011/12/29/vold%e8%bf%9b%e7%a8%8b%e8%b5%84%e6%96%99.html#comments</comments>
		<pubDate>Thu, 29 Dec 2011 01:21:08 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[经典资料]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[vold]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=4998</guid>
		<description><![CDATA[一、进程启动和配置文件的分析 vold的全称是volume daemon。实际上是负责完成系统的CDROM, USB大容量存储，MMC卡等扩展存储的 挂载任务自动完成的守护进程。它提供的主要特点是支持这些存储外设的热插拔。在Android上的这个 vold系统和GNU/Linux的之间存在很大的差异，这里主要是分析Android上的vold系统的处理过程。 自Android 2.2开始，vold又做了大改动，升级为vold 2.0，之前的配置文件是 system/etc/vold.conf，vold 2.0变为system/etc/vold.fstab。 1、启动vold 在init.rc中启动VOLD这个守护线程和创建socket的命令如下： service vold /system/bin/vold socket vold stream 0660 root mount ioprio be 2 2、配置vold.fstab vold.fstab文件的格式是： Format: dev_mount label: -Label for the volume mount_point -Where the volume will be mounted part -Partition #(1 based), or &#8216;auto&#8217; for first usable partition. -List of sysfs paths ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2011/12/29/vold%e8%bf%9b%e7%a8%8b%e8%b5%84%e6%96%99.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android shell部分指令</title>
		<link>http://promiseforever.com/2011/12/29/android-shell-commands.html</link>
		<comments>http://promiseforever.com/2011/12/29/android-shell-commands.html#comments</comments>
		<pubDate>Thu, 29 Dec 2011 01:19:14 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[经典资料]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=4996</guid>
		<description><![CDATA[本文由sibamo8贡献 Android 系统在超级终端下必会的命令大全(一) 系统在超级终端下必会的命令大全( busybox BusyBox 是标准 Linux 工具的一个单个可执行实现.BusyBox 包含了一些简单的工具,例 如 cat 和 echo,还包含了一些更大,更复杂的工具,例如 grep,find,mount 以及 telnet. 有些人将 BusyBox 称为 Linux 工具里的瑞士军刀.简单的说 BusyBox 就好像是个大工具 箱,它集成压缩了 Linux 的许多工具和命令. 1, BusyBox 的诞生 BusyBox 最初是由 Bruce Perens 在 1996 年为 Debian GNU/Linux 安装盘编写的.其 目标是在一张软盘上创建一个可引导的 GNU/Linux 系统,这可以用作安装盘和急救盘. 2,busybox 的用法 可以这样用 busybox #busybox ls 他的功能就相当运行 ls 命令 最常用的用法是建立指向 busybox 的链接,不同的链接名完成不同的功能. ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2011/12/29/android-shell-commands.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android 2架构资料</title>
		<link>http://promiseforever.com/2011/12/29/android-2%e6%9e%b6%e6%9e%84%e8%b5%84%e6%96%99.html</link>
		<comments>http://promiseforever.com/2011/12/29/android-2%e6%9e%b6%e6%9e%84%e8%b5%84%e6%96%99.html#comments</comments>
		<pubDate>Thu, 29 Dec 2011 01:16:26 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[经典资料]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[架构]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=4994</guid>
		<description><![CDATA[原文地址 其实这篇资料有很多参数的线索，当然，想知道所有的资料，要下载SDK了。 9 SD/USB 9.1 主流程 文件：system/core/vold/Vold.c int main(int argc, char **argv) { &#8230; mkdir(&#8220;/dev/block/vold&#8221;, 0755); &#8230; /* * Bootstrap */ bootstrap = 1; // Volume Manager volmgr_bootstrap(); // SD Card system mmc_bootstrap(); &#8230; // Switch switch_bootstrap(); bootstrap = 0; &#8230; } volmgr_bootstrap : 加载配置文件 mmc_bootstrap : 挂载mmc/sdcard switch_bootstrap : 连接usb 9.2 加载配置文件 文件：system/core/vold/Volmgr.c int ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2011/12/29/android-2%e6%9e%b6%e6%9e%84%e8%b5%84%e6%96%99.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back Track 5 r1 安装汉化以及更新</title>
		<link>http://promiseforever.com/2011/12/24/back-track-5-r1-%e5%ae%89%e8%a3%85%e6%b1%89%e5%8c%96%e4%bb%a5%e5%8f%8a%e6%9b%b4%e6%96%b0.html</link>
		<comments>http://promiseforever.com/2011/12/24/back-track-5-r1-%e5%ae%89%e8%a3%85%e6%b1%89%e5%8c%96%e4%bb%a5%e5%8f%8a%e6%9b%b4%e6%96%b0.html#comments</comments>
		<pubDate>Sat, 24 Dec 2011 07:25:45 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[我的总结]]></category>
		<category><![CDATA[Back Track]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[汉化]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=4938</guid>
		<description><![CDATA[[box type="shadow"]写在前面: 昨天晚上切换到ubuntu玩，实在不能接受11.10到速度了，而且实在怀念GNOME 2，本来打算效仿论坛虾米去降级的。 但是搜索了一下，似乎GNOME 3无法降级，或者说太麻烦了。于是打算重新安装ubuntu 8～10，下载DVD镜像的时候，突然发现，移动硬盘里存着Back Track R1 的 ISO镜像，蛋疼的事情开始了。[/box] [learn_more caption="Back Track是什么"]Back Track 简单的说是一个基于linux流行发行版的发行版&#8230;集成了许多经典的安全审计工具。当然刀是双刃的，你可以用来保护别人，也可以用来伤害他人，希望用于后者的少一些。更多资料百度一下。 [/learn_more] [box type="shadow"] 安装Back Track 5 这个很EASY，推荐制作LIVE USB进行安装。 具体的可以看官方页面。 选择到时候提示一下，Back Track 5 R1 是UBUNTU 10.04，工具有Back Track 5 R1就选它，木有就选择UBUNTU 10.04 安装过程中推荐联网，似乎网线插着的话，Back Track 5（下面都简称BT5）安装速度会快一些，(感觉旧的UBUNTU安装过程中用DO LOOP来等待网络反馈)，一路NEXT设置好你的键盘布局，时区等信息后，耐心等待它安装完成，提示重启，点击按钮，然后等待计算机完全重启到时候拔掉U盘。(因为LIVE USB结束所有读写是在下一次机器引导之前，不想你的U盘有闪失的话) [/box] [box type="shadow"] 启动Back Track 5 R1 BURG熟悉的界面出现在眼前后，选择BT5，回车等待系统启动。大约半分钟，提示输入帐号和密码。 使用默认帐号 root，密码toor，然后回车，这里提示一下，linux的密码输入为了安全是不显示输入的，输入好了，回车就好。 你看不到*型号或者你打的字符不代表您木有打上字，某舍友可爱的说（你没有打上字&#8230;我汗） 看到提示你的密码是默认到toor和输入startx进入图形化界面的时候，安装总算完成了。 不用犹豫，键入startx，进入BT5. [/box] [box ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2011/12/24/back-track-5-r1-%e5%ae%89%e8%a3%85%e6%b1%89%e5%8c%96%e4%bb%a5%e5%8f%8a%e6%9b%b4%e6%96%b0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[apache]本地测试子域名</title>
		<link>http://promiseforever.com/2011/10/23/apache-sub-domain.html</link>
		<comments>http://promiseforever.com/2011/10/23/apache-sub-domain.html#comments</comments>
		<pubDate>Sun, 23 Oct 2011 13:23:29 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=4681</guid>
		<description><![CDATA[两个方法，个人感觉第一个好点，第二个有点不好用&#8230;至少WIN2K3感觉&#8230; 想一个你觉得不错的域名，比如test.com 在你本地的host(win2k3:C:\WINDOWS\system32\drivers\etc\hosts)文件中添加DNS映射. 127.0.0.1 test.com 127.0.0.1 cache.test.com 方法1: 新建一个名为vhost.map的文件，内容格式如下: test.com C:\xampp\htdocs\ www.test.com C:\xampp\htdocs\ cache.test.com C:\xampp\htdocs\cache 修改httpd.conf开启mod_rewrite并添加内容 RewriteLog logs/rewrite.log RewriteLogLevel 0 RewriteEngine on RewriteMap lowercase int:tolower RewriteMap vhost txt:C:\xampp\apache\conf\vhost.map RewriteCond ${lowercase:%{HTTP_HOST}&#124;NONE} ^(.+)$ RewriteCond ${vhost:%1} ^(C:/.*)$ RewriteRule ^/(.*)$ %1/$1 [E=VHOST:${lowercase:%{HTTP_HOST}}] 注意修改其中绝对路径为你的路径,以及重启APACHE 方法2: 使用APCHE的ServerAlias模块 修改httpd.conf开启ServerAlias并添加内容 ServerAlias cache.test.com DocumentRoot C:\xampp\htdocs\ 注意修改其中绝对路径为你的路径,以及重启APACHE]]></description>
		<wfw:commentRss>http://promiseforever.com/2011/10/23/apache-sub-domain.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ubuntu]Burg</title>
		<link>http://promiseforever.com/2011/10/21/ubuntu-burg.html</link>
		<comments>http://promiseforever.com/2011/10/21/ubuntu-burg.html#comments</comments>
		<pubDate>Fri, 21 Oct 2011 12:30:30 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[经典资料]]></category>
		<category><![CDATA[burg]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=4669</guid>
		<description><![CDATA[今天再一次升级11.10,其实还是11.04好用..反映迅速,或许是我的CS硬件已经不适应潮流了吧 &#8211; -。 升级之后,需要重新安装BURG.转一篇资料. To Install Burg in Ubuntu 11.04 Natty Narwhal and Ubuntu 11.10 11.10 &#8220;Oneiric Ocelot&#8221; , Open termianl and enter the following commands : sudo add-apt-repository ppa:n-muench/burg sudo apt-get update sudo apt-get install burg burg-themes Now to make BURG integrate the HardDisk enter the following command in terminal: sudo burg-install &#34;(hd0)&#34; Remember ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2011/10/21/ubuntu-burg.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[随笔]htacess作用域</title>
		<link>http://promiseforever.com/2011/06/04/%e9%9a%8f%e7%ac%94htacess%e4%bd%9c%e7%94%a8%e5%9f%9f.html</link>
		<comments>http://promiseforever.com/2011/06/04/%e9%9a%8f%e7%ac%94htacess%e4%bd%9c%e7%94%a8%e5%9f%9f.html#comments</comments>
		<pubDate>Fri, 03 Jun 2011 23:04:38 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[生活随笔]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[htacess]]></category>
		<category><![CDATA[作用域]]></category>
		<category><![CDATA[随笔]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=3456</guid>
		<description><![CDATA[先写随笔里,回头哪天有空再更,模模糊糊的记到脑子里了。 这个代价，应该是自从我更换RSS以后,WP升级之后.服务器更换之后.3个之后中的某个之后,或者某些之后发生的重定向无限死循环.时间估计很长了,不会少于我沉迷的一年.堕落的一年多.加起来..嗯。最终时间长度或许是:.X+Y+Z&#8230; 描述&#8230;有压力,感觉暂时一两句话说不清,但是自己清楚&#8230; 总结一句话.把文件系统当做面向对象的程序,想清楚某个属性是神马时候要访问的。 其实也正是因为面向对象,所以才可以这么类比.而且可以把属性分为protect,private,public&#8230;.]]></description>
		<wfw:commentRss>http://promiseforever.com/2011/06/04/%e9%9a%8f%e7%ac%94htacess%e4%bd%9c%e7%94%a8%e5%9f%9f.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

