<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[刘新修]]></title> 
<link>http://pic1.liuxinxiu.com:80/index.php</link> 
<description><![CDATA[刘新修的个人博客 (Liuxinxiu'S Blog)]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[刘新修]]></copyright>
<item>
<link>http://pic1.liuxinxiu.com:80/debian5_nginx_mysql_php/</link>
<title><![CDATA[2010年12月17日（凌晨1：30）VPS由CentOS-5.5更换为：【debian5】成功部署升级nginx+php+mysql相关环境]]></title> 
<author>刘新修 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[个人日志]]></category>
<pubDate>Fri, 17 Dec 2010 01:44:33 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/debian5_nginx_mysql_php/</guid> 
<description>
<![CDATA[ 
	<p><span style="color: #0000ff"><strong>本人VPS已与2010年12月17日，成功部署升级nginx+php+mysql 最新版WEB环境，系统有CentOS更换为debian.</strong></span></p><p><span style="color: #800000"><span><strong>原VPS环境： CentOS-5.5 + Nginx-0.8.50 + mysql-5.1.48 + php-5.2.14</strong></span></span><span style="color: #0000ff"><strong> </strong></span></p><p><span style="color: #0000ff"><strong>目前更换至：</strong></span></p><p><span style="color: #ff0000"><strong>debian-5 + Nginx-0.9.3 + mysql-5.1.53 + php-5.2.16</strong></span></p><p>中间debian出错，初次无法使用apt-get install 安装GCC 相关，已解决特此记录下来。</p><p>==================================================================</p><p><strong>此问题为debian apt源配置问题，打开：vi /etc/apt/sources.list</strong></p><p>可以看到原来文件内源地址：</p><p><span style="color: #0000ff">deb </span><a href="http://ftp.de.debian.org/debian"><span style="color: #0000ff">http://ftp.de.debian.org/debian</span></a><span style="color: #0000ff"> lenny main contrib non-free<br />deb </span><a href="http://ftp.de.debian.org/debian-volatile"><span style="color: #0000ff">http://ftp.de.debian.org/debian-volatile</span></a><span style="color: #0000ff"> lenny/volatile main contrib non-free<br />deb </span><a href="http://ftp.de.debian.org/debian-security"><span style="color: #0000ff">http://ftp.de.debian.org/debian-security</span></a><span style="color: #0000ff"> lenny/updates main contrib non-free</span></p><p><strong>在文档顶部添加apt源新地址，如下：</strong></p><p><span style="color: #000000"><strong><span style="background-color: #ccff00">deb </span></strong></span><span style="color: #000000"><a href="http://security.debian.org/"><strong><span style="background-color: #ccff00">http://security.debian.org/</span></strong></a><strong><span style="background-color: #ccff00"> lenny/updates main contrib<br />deb-src </span></strong></span><span style="color: #000000"><a href="http://security.debian.org/"><strong><span style="background-color: #ccff00">http://security.debian.org/</span></strong></a><strong><span style="background-color: #ccff00"> lenny/updates main contrib</span></strong></span></p><p><span style="color: #000000"><strong><span style="background-color: #ccff00">deb </span></strong></span><span style="color: #000000"><a href="http://volatile.debian.org/debian-volatile"><strong><span style="background-color: #ccff00">http://volatile.debian.org/debian-volatile</span></strong></a><strong><span style="background-color: #ccff00"> lenny/volatile main contrib<br />deb-src </span></strong></span><span style="color: #000000"><a href="http://volatile.debian.org/debian-volatile"><strong><span style="background-color: #ccff00">http://volatile.debian.org/debian-volatile</span></strong></a><strong><span style="background-color: #ccff00"> lenny/volatile main contrib</span></strong></span></p><p>&nbsp;</p><p><span style="color: #0000ff">deb </span><a href="http://ftp.de.debian.org/debian"><span style="color: #0000ff">http://ftp.de.debian.org/debian</span></a><span style="color: #0000ff"> lenny main contrib non-free<br />deb </span><a href="http://ftp.de.debian.org/debian-volatile"><span style="color: #0000ff">http://ftp.de.debian.org/debian-volatile</span></a><span style="color: #0000ff"> lenny/volatile main contrib non-free<br />deb </span><a href="http://ftp.de.debian.org/debian-security"><span style="color: #0000ff">http://ftp.de.debian.org/debian-security</span></a><span style="color: #0000ff"> lenny/updates main contrib non-free</span></p><p>==================================================================</p><p>使用更新命令： apt-get update 完成</p><p>==================================================================</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/php-5_2_16.gif"><img height="612" alt="" width="646" src="http://at.liuxinxiu.com/2010/12/image/php-5_2_16.gif" /></a></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/nginx-0_9_3.gif"><img height="605" alt="" width="628" src="http://at.liuxinxiu.com/2010/12/image/nginx-0_9_3.gif" /></a></p>
]]>
</description>
</item><item>
<link>http://pic1.liuxinxiu.com:80/debian5_nginx_mysql_php/#blogcomment</link>
<title><![CDATA[[评论] 2010年12月17日（凌晨1：30）VPS由CentOS-5.5更换为：【debian5】成功部署升级nginx+php+mysql相关环境]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/debian5_nginx_mysql_php/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>