<?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>Leo の Blog &#187; ubuntu</title>
	<atom:link href="http://blog.openider.com/archives/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.openider.com</link>
	<description>Where there is a will there is a way! Trust youself can do it!</description>
	<lastBuildDate>Thu, 27 Aug 2009 10:42:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>干净 Linux 环境里安装 Nginx</title>
		<link>http://blog.openider.com/archives/76</link>
		<comments>http://blog.openider.com/archives/76#comments</comments>
		<pubDate>Thu, 28 May 2009 10:09:36 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=76</guid>
		<description><![CDATA[今天碰到一个很有意思的事情. 在一台刚装好的 command-line linux 系统里安装 Nginx 的时候总出错. 查看了一下. 原来装的是 Base System. 所以很多包都没有默认安装. 难怪编译不过去了. 看了一下 Nginx 的 configure 参数, 只需给它指定一下参数源码包的路径即可. 这里还是用的是 Ubuntu-8.04.2 系统. 安装的是 base system.
这里先装一下编译工具和常用包.

1
sudo apt-get install make gcc build-essential autoconf automake1.9 flex libtool zlib1g-dev

安装 Nginx-0.7.59 需要额外三个包, 分别是 pcre, openssl, zlib 分别下载好假定放入系统用户主目录 ~/downs 下. pcre 包需要手动安装. 其他的就不需要了.

1
2
3
4
5
6
7
8
9
10
11
12
13
cd ~/downs
tar -zxf pcre-7.9.tar.gz -C ~/sources
cd ~/sources/pcre-7.9
./configure
make
sudo make install
tar [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/76/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>快速搭建Linux开发测试WEB服务器系列11-配置Nginx</title>
		<link>http://blog.openider.com/archives/57</link>
		<comments>http://blog.openider.com/archives/57#comments</comments>
		<pubDate>Tue, 26 May 2009 10:23:53 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=57</guid>
		<description><![CDATA[再上一篇我们已经安装好了Nginx软件, 这篇我们简单到介绍一下如何让他能工作起来. 这里我们只做最简单的配置. 如果想详细的了解这个服务器软件, 请参考它到官方文档.
Nginx 安装成功后程序文件会方在我们指定的 /usr/local/nginx 目录下. 和 apache 一样. 我们要先修改它到配置文件才能让它工作. 它到配置文件再  /usr/local/nginx/conf 目录下. 这里还有其他的一些配置文件, 比如 fastCGI 等. 我们只是做最简单到介绍. 其他到配置文件都使用默认即可. 主要修改一下 /usr/local/nginx/conf/nginx.conf 文件, 修改前备份一下. 养成好习惯.

1
2
sudo cp /usr/local/nginx/conf/nginx.conf /usr/local/nginx/conf/nginx.conf.backup
sudo gedit /usr/local/nginx/conf/nginx.conf

里面已经有一些说明了. 这里我们先把它到内容改成下面到这样.
#用户和用户组
user  mm mm;
#指令指定处理进程的数量。一般推荐为处理器的个数. 可以适当增加，以避免进程在堵塞在IO等待中。
worker_processes  1;
#错误日志
error_log  logs/error.log;
#pid文件位置
pid        logs/nginx.pid;
events {
#指定 nginx 处理进程的个数，其与总处理量的关系用公式表达如下：
#MaxClient = worker_processes * [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/57/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>快速搭建Linux开发测试WEB服务器系列10-Nginx+PHP</title>
		<link>http://blog.openider.com/archives/53</link>
		<comments>http://blog.openider.com/archives/53#comments</comments>
		<pubDate>Mon, 25 May 2009 18:20:45 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=53</guid>
		<description><![CDATA[前面我们介绍到是 Apache + PHP 模式到解决方案. 现在介绍一个目前很流行也是很高效到一套Web服务器构架模式: Nginx + FastCgi + PHP 这样到服务器方案. 由于我们前面再介绍 Apache + PHP 的时候已经把 安装 PHP 环境到相关软件包都已经安装好了. 这篇我们注意介绍安装 Nginx 和 PHP 方面到内容. 若有问题, 请参考前面到系列文章.
我们重新编译安装一个 PHP 环境, 先前我们编译安装到是 PHP 环境是和 Apache 集成在一起到. 不能用于 FastCgi 模式. 安装路径再 /usr/local/php , 这里我们重新编译PHP并且安装到 /usr/local/php-cgi 这样不至于混在一起. php-5.2.9.tar.gz 我们已经下载好了. 这里要下载一个补丁包 php-5.2.9-fpm-0.5.10.diff.gz , 网站地址为: http://php-fpm.anight.org/ PHP-FPM 是一个很不错到 fastCgi 进程管理器. 效果很不错, [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/53/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>快速搭建Linux开发测试WEB服务器系列8-编译安装PHP</title>
		<link>http://blog.openider.com/archives/43</link>
		<comments>http://blog.openider.com/archives/43#comments</comments>
		<pubDate>Mon, 25 May 2009 09:42:51 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=43</guid>
		<description><![CDATA[这篇我们介绍编译安装PHP, 目前PHP已经发布到5.2.9 版本. 我们本次安装即采用这个版本安装. 安装之前. 先安装几个依赖包. 在前面的系列文章中. 我们依据安装软件的不同软件陆续的安装了一些第三方的软件包. 这里说明一下就是, 如果前面介绍的软件包未安装. 这里请浏览前面的文章, 一次补上. 否则可能会碰到编译失败的情况. 当然, 可能没有人的电脑的环境安装的时候已经安装好了相关的包. 这里提醒一下. 不让到时候死活编译出错. 是件很烦人的事情. 我们采用静态编译安装PHP.  关于静态编译安装和动态编译安装后的PHP效率问题经过测试几乎是没有区别的. 所以安装方式看个人的喜好.
这里先安装一下几个必要的包:

1
2
3
sudo apt-get install flex
sudo apt-get install libxml2 libxml2-dev
sudo apt-get install openssl

另外需要一些其他扩展模块. 这里先安装一个 curl 模块 CURL 模块目前最新版本到了 7.19.5 , 我们使用最新版安装. 包下载地址是: http://curl.haxx.se/download.html , 下载好包 curl-7.19.5.tar.gz 后解压安装.

1
2
3
4
5
6
tar -zxf curl-7.19.5.tar.gz -C ~/sources
cd ~/sources/curl-7.19.5
sudo mkdir /usr/local/curl
./configure --prefix=/usr/local/curl --with-ssl
make
sudo make [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/43/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>快速搭建Linux开发测试WEB服务器系列7-编译安装Subversion</title>
		<link>http://blog.openider.com/archives/38</link>
		<comments>http://blog.openider.com/archives/38#comments</comments>
		<pubDate>Sun, 24 May 2009 11:51:22 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=38</guid>
		<description><![CDATA[这篇我们来安装版本控制软件 Subversion, 这个是一个用的很普遍版本控制软件. 官方网站为: http://subversion.tigris.org/ 目前最新版是 1.6.2, 我们本次就使用这个最新版本. 官方下载 subversion-1.6.2.tar.gz, 另外还有一个依赖包 subversion.deps-1.6.2.tar.gz 这个依赖包我们不使用了. 我们独立安装他需要的依赖包. 因为官方自带的依赖包安装起来总是会有些问题.
首先先安装一些必要的包.  libxml2, openssl

1
2
sudo apt-get install libxml2 libxml2-dev
sudo apt-get install libssl-dev openssl

在上篇 编译安装 Apache 的时候, apr 和 apr-util 包我们已经安装过了. 这里就不需要在安装了. 接下来我们安装软件包 neon, 可以到 http://www.webdav.org/neon/ 下载 最新的 neon-0.28.4.tar.gz  版本的包, 解压安装

1
2
3
4
5
tar -zxf neon-0.28.4.tar.gz -C ~/sources
cd ~/sources/neon-0.28.4
./configure
make
sudo make install

另外再安装 zlib 包. 可以在 http://www.zlib.net/下载最新的 zlib-1.2.3.tar.gz 解压安装到 [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/38/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
