<?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; LAMP</title>
	<atom:link href="http://liluo.org/class/development/lamp-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://liluo.org</link>
	<description>落就是一道风景线……</description>
	<lastBuildDate>Tue, 09 Aug 2011 11:22:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debian 6 安装小记</title>
		<link>http://liluo.org/2011/07/%e5%b0%8f%e8%ae%b0-debian-6-%e5%ae%89%e8%a3%85/</link>
		<comments>http://liluo.org/2011/07/%e5%b0%8f%e8%ae%b0-debian-6-%e5%ae%89%e8%a3%85/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 09:51:28 +0000</pubDate>
		<dc:creator>落落</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://liluo.org/?p=692</guid>
		<description><![CDATA[上个月入手了mac，就把thinkpadr400冷落了蛮久。想着太浪费了，于是想着开始折腾系统。最开始是考虑unix中的freebsd, openbsd, netbsd，后来觉得还是回归linux吧，ubuntu太大众而且特别是那个紫色调太不喜欢，opensuse有用过，centos也在服务器上用过，思来想去了最后决定尝试下Debian。



下载时选择的是stable版本的debian-6.0.2.1-i386-CD-1.iso，然后刻盘安装。哈哈，我另外还有一台老旧的安装xp系统的thinkpadr60，用它安装刻录软件，加配3个月前买的外置刻录机，各种cd, dvd盘，装备齐全的连自个儿都感动了～
安装
其实Debian6的安装还是很方便的，甚至有点类似装win。另外还可以参考Debian GNU/Linux 安装手册 
开始使用
安装完成重启打开时，第一感觉就是简洁，经过opensuse的华丽，看到Debian真是别有一番味道。第二感觉还是简洁，它没有像Ubuntu硬塞进来很多用得到用不到的各种软件各种工具。整体看起来让人很舒服。
添加源
Debian中源列表文件在 /etc/apt/sources.list，因为默认是没有sudo的，所以暂时需要先su root, 没有vim暂时先用vi。
首先要把带有类似"deb cdrom"字眼的行给注释掉，不然系统会先找cd，因为没注意到这里让我纠结了很久。然后就是添加源，国内的话用网易的源还是不错的选择，将以下文字添加到/etc/apt/sources.list

deb http://mirrors.163.com/debian squeeze main non-free contrib
deb http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
deb-src http://mirrors.163.com/debian squeeze main non-free contrib
deb-src http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian-security squeeze/updates main contrib non-free

完成之后，更新源并安装sudo：

apt-get update
apt-get install sudo
#要使用sudo,需要给相应的用户加上sudo权限
#添加写入权限
chmod u+w /etc/sudoers
vi /etc/sudoers
#在root ALL=(ALL) ALL下面添加
luo ALL=(ALL) ALL # luo是我的用户名
#保存退出，然后去除可写入权限
chmod u-w /etc/sudoers
#然后退出root
exit

安装中文支持

sudo [...]]]></description>
		<wfw:commentRss>http://liluo.org/2011/07/%e5%b0%8f%e8%ae%b0-debian-6-%e5%ae%89%e8%a3%85/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 中 Mysql 卸载、重装以及编码问题</title>
		<link>http://liluo.org/2010/06/ubuntu-%e4%b8%ad-mysql-%e5%8d%b8%e8%bd%bd%e3%80%81%e9%87%8d%e8%a3%85%e4%bb%a5%e5%8f%8a%e7%bc%96%e7%a0%81%e9%97%ae%e9%a2%98/</link>
		<comments>http://liluo.org/2010/06/ubuntu-%e4%b8%ad-mysql-%e5%8d%b8%e8%bd%bd%e3%80%81%e9%87%8d%e8%a3%85%e4%bb%a5%e5%8f%8a%e7%bc%96%e7%a0%81%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 03:37:38 +0000</pubDate>
		<dc:creator>落落</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://liluo.org/?p=552</guid>
		<description><![CDATA[最近Ubuntu中的Mysql出了点问题，网上找了N久也没找到答案，于是华丽的将它卸载重装。当然，如标题所写，这里还有涉及到编码问题。

1、卸载
当初我安装的时候是用：sudo apt-get install mysql-server mysql-client
于是相应的卸载：sudo aptitude purge mysql-server mysql-client
其实我也有尝试用新立得软件管理器来卸载，再次安装的时候却被跳过设置root密码的步骤，应该是卸载的不完全吧？但是不管怎样我用上面的命令卸载之后重新安装正常。
2、安装Mysql
sudo apt-get install mysql-server mysql-client
是的，依然是原来安装的方式，需要输入root的密码并确认一次。但是当我安装完成之后发现无法使用sudo /etc/init.d/mysql restart来重启以及启动、停止，出现以下提示：
luo@luo-ubuntu:~$ sudo /etc/init.d/mysql restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart mysql
mysql start/running, [...]]]></description>
		<wfw:commentRss>http://liluo.org/2010/06/ubuntu-%e4%b8%ad-mysql-%e5%8d%b8%e8%bd%bd%e3%80%81%e9%87%8d%e8%a3%85%e4%bb%a5%e5%8f%8a%e7%bc%96%e7%a0%81%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu+nginx+mysql+php(lnap)</title>
		<link>http://liluo.org/2010/06/ubuntunginxmysqlphplnap/</link>
		<comments>http://liluo.org/2010/06/ubuntunginxmysqlphplnap/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 13:49:58 +0000</pubDate>
		<dc:creator>落落</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[lnap]]></category>

		<guid isPermaLink="false">http://liluo.org/?p=527</guid>
		<description><![CDATA[转帖
在ubuntu下安装nginx、php、mysql非常简单，通过apt-get方式即可安装。
1  安装一些必要的工具软件
sudo apt-get install g++ vim links ssh
2 安装mysql
sudo apt-get install mysql-server  mysql-client
安装过程中会提示让你输入密码，根据提示设置即可。
New password for the  MySQL “root” user: &#60;– yourrootsqlpassword 你的MYSQL密码
Repeat  password for the MySQL “root” user: &#60;– yourrootsqlpassword 你的MYSQL密码
3  安装nginx
sudo apt-get install  nginx
安装成功后，启动nginx 输入如下命令：
sudo /etc/init.d/nginx start
可 以看到nginx已经启动成功。
Starting nginx: nginx.
spawn-fcgi.c.197: child spawned successfully: PID: 9772
打开浏览器，输入127.0.0.1,可以看到nginx的欢迎欢迎画面，显示
Welcome to nginx!
看到这里,说明你已安装上了nginx了.接下来我们要来配置它.设置启动系统时会自动启动它.
update-rc.d nginx [...]]]></description>
		<wfw:commentRss>http://liluo.org/2010/06/ubuntunginxmysqlphplnap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LNMPPP:linux-nginx-mysql-postgresql-python-php(FastCGI)</title>
		<link>http://liluo.org/2010/06/linux-nginx-mysql-postgresql-python-php-fastcgi/</link>
		<comments>http://liluo.org/2010/06/linux-nginx-mysql-postgresql-python-php-fastcgi/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 03:25:54 +0000</pubDate>
		<dc:creator>落落</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postgresql]]></category>

		<guid isPermaLink="false">http://liluo.org/?p=512</guid>
		<description><![CDATA[前面有讲说要用nginx来配置python，这里记录下配置LNMPPP的过程，What's LNMPPP?有听过LAMP,LNMP吧？这里的LNMPPP是指Linux+Nginx+Mysql+Postgresql+Python+Php。说白了就是在System使用Linux, Web server 使用Nginx,支持Python和Php,数据库使用Postgresql和Mysql。
１、linux
fedora 13（其他版本Linux下面操作请做出相应变动）
２、安装nginx
yum install nginx　＃下载的是稳定版0.7.65，如果想使用其他版本下载安装即可。
添加到系统启动并运行nginx
chkconfig --levels 235 nginx on
/etc/init.d/nginx start
nginx已经安装完成，在浏览器里输入localhost试一下吧
３、安装Ｍysql
yum install mysql mysql-server
添加系统服务并启动
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
检查是否支持网络连接
netstat -tap &#124; grep mysql
应该会看到这样的状态
netstat -tap &#124; grep mysql
tcp        0      0 *:mysql       *:*              LISTEN      1376/mysqld
如果不是的话，需要修改/etc/my.cnf文件来启用网络连接支持
sudo gedit /etc/my.cnf
将
[...]
#skip-networking
[...]
#去掉，然后重启mysql
/etc/init.d/mysqld restart
mysql默认root用户的密码为空，需要给root设置密码(* 代表密码字符)
mysqladmin [...]]]></description>
		<wfw:commentRss>http://liluo.org/2010/06/linux-nginx-mysql-postgresql-python-php-fastcgi/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

