<?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://www.zhaipeng.cn/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhaipeng.cn</link>
	<description>积极的工作,塌实的学习,安静的写博客...</description>
	<lastBuildDate>Thu, 10 Jun 2010 14:26:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CentOS5最小安装Apahce+MySQL+PHP+GD+Zend</title>
		<link>http://www.zhaipeng.cn/2008/12/09/centos5%e6%9c%80%e5%b0%8f%e5%ae%89%e8%a3%85apahcemysqlphpgdzend/</link>
		<comments>http://www.zhaipeng.cn/2008/12/09/centos5%e6%9c%80%e5%b0%8f%e5%ae%89%e8%a3%85apahcemysqlphpgdzend/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 11:53:54 +0000</pubDate>
		<dc:creator>ZhaiPeng</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHPMyadmin]]></category>

		<guid isPermaLink="false">http://www.zhaipeng.cn/?p=166</guid>
		<description><![CDATA[1.安装CentOS, 我的是CentOS5.0 &#8211; DVD 最小化安装不安装任何软件. 2. 关闭selinux A.运行命令setup，可以在图形化界面进行关闭 B. vi /etc/sysconfig/selinux SELINUX=enforcing 改成 SELINUX=disabled 3. 关闭不需要服务 A：运行命令setup B：运行命令ntsysv 只启用下面9个服务（autofs是为了方便使用光驱，其实可以不启用这个服务） acpid anacron autofs cpuspeed crond network sshd syslog yum-updatesd 4. 配置ssh 修改两个地方 vi /etc/ssh/sshd_config #PermitRootLogin yes 改为 PermitRootLogin yes #UseDNS yes 改为 UseDNS no 5.配置yum , 使用中国镜象下载方法: http://www.zhaipeng.cn/2008/12/08/centos-%e4%b8%ad%e5%9b%bd%e9%95%9c%e5%83%8f/ #yum update 6. 安装编译器gcc 最小化安装，没有安装编译器 #yum install gcc [...]]]></description>
		<wfw:commentRss>http://www.zhaipeng.cn/2008/12/09/centos5%e6%9c%80%e5%b0%8f%e5%ae%89%e8%a3%85apahcemysqlphpgdzend/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS 中国镜像</title>
		<link>http://www.zhaipeng.cn/2008/12/08/centos-%e4%b8%ad%e5%9b%bd%e9%95%9c%e5%83%8f/</link>
		<comments>http://www.zhaipeng.cn/2008/12/08/centos-%e4%b8%ad%e5%9b%bd%e9%95%9c%e5%83%8f/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 08:19:51 +0000</pubDate>
		<dc:creator>ZhaiPeng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://www.zhaipeng.cn/?p=161</guid>
		<description><![CDATA[先把原来的配置文件备份 #mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak #vi /etc/yum.repos.d/CentOS-Base.repo 内容 或者从这里下载 http://zhaipeng.cn/ftp/CentOS/CentOS-Base.repo # CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # [...]]]></description>
		<wfw:commentRss>http://www.zhaipeng.cn/2008/12/08/centos-%e4%b8%ad%e5%9b%bd%e9%95%9c%e5%83%8f/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vi编辑器常用的命令及快捷键</title>
		<link>http://www.zhaipeng.cn/2008/11/12/vi%e7%bc%96%e8%be%91%e5%99%a8%e5%b8%b8%e7%94%a8%e7%9a%84%e5%91%bd%e4%bb%a4%e5%8f%8a%e5%bf%ab%e6%8d%b7%e9%94%ae/</link>
		<comments>http://www.zhaipeng.cn/2008/11/12/vi%e7%bc%96%e8%be%91%e5%99%a8%e5%b8%b8%e7%94%a8%e7%9a%84%e5%91%bd%e4%bb%a4%e5%8f%8a%e5%bf%ab%e6%8d%b7%e9%94%ae/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 10:36:03 +0000</pubDate>
		<dc:creator>ZhaiPeng</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.zhaipeng.cn/?p=142</guid>
		<description><![CDATA[转自: http://hily.me/blog/2006/04/vi-shortcut/ 光标控制命令 命令                        光标移动 h或^h                    向左移一个字符 j或^j或^n                向下移一行 k或^p                    向上移一行 l或空格                     向右移一个字符 G                        移到文件的最后一行 nG                       移到文件的第n行 w                        移到下一个字的开头 W                        移到下一个字的开头，忽略标点符号 b                        移到前一个字的开头 B                        移到前一个字的开头，忽略标点符号 L                        移到屏幕的最后一行 M                        移到屏幕的中间一行 H                        移到屏幕的第一行 e                        移到下一个字的结尾 E                        移到下一个字的结尾，忽略标点符号 (                        移到句子的开头 )                        移到句子的结尾 {                        移到段落的开头 }                        移到下一个段落的开头 0或&#124;                     移到当前行的第一列 n&#124;                       移到当前行的第n列 ^                        移到当前行的第一个非空字符 $                        移到当前行的最后一个字符 +或return                移到下一行的第一个字符 -                        移到前一行的第一个非空字符 [...]]]></description>
		<wfw:commentRss>http://www.zhaipeng.cn/2008/11/12/vi%e7%bc%96%e8%be%91%e5%99%a8%e5%b8%b8%e7%94%a8%e7%9a%84%e5%91%bd%e4%bb%a4%e5%8f%8a%e5%bf%ab%e6%8d%b7%e9%94%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS4.4安装apache,mysql,php全过程</title>
		<link>http://www.zhaipeng.cn/2008/01/20/centos44%e5%ae%89%e8%a3%85apachemysqlphp%e5%85%a8%e8%bf%87%e7%a8%8b/</link>
		<comments>http://www.zhaipeng.cn/2008/01/20/centos44%e5%ae%89%e8%a3%85apachemysqlphp%e5%85%a8%e8%bf%87%e7%a8%8b/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 09:43:28 +0000</pubDate>
		<dc:creator>ZhaiPeng</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://www.zhaipeng.cn/2008/01/20/centos44%e5%ae%89%e8%a3%85apachemysqlphp%e5%85%a8%e8%bf%87%e7%a8%8b/</guid>
		<description><![CDATA[1.安装CentOS4.4 只安装 ftp服务器和文本浏览器elinks (方便浏览网页) 系统约定RPM包和源码包存放位置 RPM包和源码包存放位置 /usr/local/src 源码包编译安装位置(prefix) /usr/local/xxx 脚本以及维护程序存放位置 /usr/local/sbin MySQL 数据库位置 /var/lib/mysql Apache 网站根目录 /home/www Apache 虚拟主机日志根目录 /data/logs/www yum RPM包信息文件 /etc/yum.list 2.系统环境部署及调整 （1）. 检查系统是否正常 # more /var/log/messages //检查有无系统内核级错误信息 # demesg //检查硬件设备是否有错误信息 # ifconfig //检查网卡设置是否正确 # ping www.zhaipeng.cn // 检查网络是否正常 （2）. 关闭不需要的服务 # export LANG='en_US' //设置语言 # setup //选择启动的服务 进入system service 选项。 以space 键选定所需服务。 [...]]]></description>
		<wfw:commentRss>http://www.zhaipeng.cn/2008/01/20/centos44%e5%ae%89%e8%a3%85apachemysqlphp%e5%85%a8%e8%bf%87%e7%a8%8b/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux下使用unzip备份压缩</title>
		<link>http://www.zhaipeng.cn/2008/01/01/linux%e4%b8%8b%e4%bd%bf%e7%94%a8unzip%e5%a4%87%e4%bb%bd%e5%8e%8b%e7%bc%a9/</link>
		<comments>http://www.zhaipeng.cn/2008/01/01/linux%e4%b8%8b%e4%bd%bf%e7%94%a8unzip%e5%a4%87%e4%bb%bd%e5%8e%8b%e7%bc%a9/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 02:42:25 +0000</pubDate>
		<dc:creator>ZhaiPeng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[unzip]]></category>

		<guid isPermaLink="false">http://www.zhaipeng.cn/2008/01/01/linux%e4%b8%8b%e4%bd%bf%e7%94%a8unzip%e5%a4%87%e4%bb%bd%e5%8e%8b%e7%bc%a9/</guid>
		<description><![CDATA[功能说明：解压缩zip文件 语　　法：unzip [-cflptuvz][-agCjLMnoqsVX][-P &#60;密码&#62;][.zip文件][文件][-d &#60;目录&#62;][-x &#60;文件&#62;] 或 unzip [-Z] 补充说明：unzip为.zip压缩文件的解压缩程序。 参　　数：   -c   将解压缩的结果显示到屏幕上，并对字符做适当的转换。   -f   更新现有的文件。   -l   显示压缩文件内所包含的文件。   -p   与-c参数类似，会将解压缩的结果显示到屏幕上，但不会执行任何的转换。   -t   检查压缩文件是否正确。   -u   与-f参数类似，但是除了更新现有的文件外，也会将压缩文件中的其他文件解压缩到目录中。   -v   执行是时显示详细的信息。   -z   仅显示压缩文件的备注文字。   -a   对文本文件进行必要的字符转换。   -b   不要对文本文件进行字符转换。    -C   压缩文件中的文件名称区分大小写。   -j   不处理压缩文件中原有的目录路径。   -L   将压缩文件中的全部文件名改为小写。   -M   将输出结果送到more程序处理。   -n   解压缩时不要覆盖原有的文件。   -o   不必先询问用户，unzip执行后覆盖原有文件。   -P&#60;密码&#62;   使用zip的密码选项。   -q   执行时不显示任何信息。   -s   将文件名中的空白字符转换为底线字符。   -V   保留VMS的文件版本信息。   -X   解压缩时同时回存文件原来的UID/GID。   [.zip文件]   指定.zip压缩文件。   [文件]   指定要处理.zip压缩文件中的哪些文件。   -d&#60;目录&#62;   指定文件解压缩后所要存储的目录。   -x&#60;文件&#62;   指定不要处理.zip压缩文件中的哪些文件。   -Z   unzip -Z等于执行zipinfo指令。]]></description>
		<wfw:commentRss>http://www.zhaipeng.cn/2008/01/01/linux%e4%b8%8b%e4%bd%bf%e7%94%a8unzip%e5%a4%87%e4%bb%bd%e5%8e%8b%e7%bc%a9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS安装Apache,MySql,PHP,GD2,PHPMyadmin</title>
		<link>http://www.zhaipeng.cn/2007/12/31/centos%e5%ae%89%e8%a3%85apachemysqlphpgd2phpmyadmin/</link>
		<comments>http://www.zhaipeng.cn/2007/12/31/centos%e5%ae%89%e8%a3%85apachemysqlphpgd2phpmyadmin/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 09:03:43 +0000</pubDate>
		<dc:creator>ZhaiPeng</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[GD2]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHPMyadmin]]></category>

		<guid isPermaLink="false">http://www.zhaipeng.cn/2007/12/31/centos%e5%ae%89%e8%a3%85apachemysqlphpgd2phpmyadmin/</guid>
		<description><![CDATA[先找到 apache php mysql proftpd 源码包下载的URL地址 请浏览 http://www.apache.org http://www.php.net http://www.mysql.com http://www.proftpd.org/ 等官方网站 第一步：安装apache 注：当前目录为/tmp， 目录下有httpd-2.2.4.tar.gz, php-5.2.3.tar.gz等二进制源码包 #号代表为root 根权限,#后是输入的一条命令 执行下列命令 解压源码包 # tar -zxf httpd-2.2.4.tar.gz 进入安装目录 # cd httpd-2.2.4 配置apache安装信息 # ./configure &#8211;prefix=/usr/local/apache &#8211;enable-modules=so &#8211;enable-rewrite 执行make安装 # make; make install 安装完后 # vi /usr/local/apache/conf/httpd.conf 找到 prefork.c 下的 MaxClients 150 改为 ServerLimit 2000 MaxClients 1000 apache默认工作在prefork.c模式下，并发进程为150，超过后就无法访问，150是远远不够的，所以这里按自己网站的需求改， 如1000 [...]]]></description>
		<wfw:commentRss>http://www.zhaipeng.cn/2007/12/31/centos%e5%ae%89%e8%a3%85apachemysqlphpgd2phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
