<?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; nginx</title>
	<atom:link href="http://blog.openider.com/archives/tag/nginx/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服务器系列13-Nginx部署实例1-准备服务器</title>
		<link>http://blog.openider.com/archives/67</link>
		<comments>http://blog.openider.com/archives/67#comments</comments>
		<pubDate>Wed, 27 May 2009 02:53:26 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[虚拟机]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=67</guid>
		<description><![CDATA[现在我们准备服务器. 使用 VMware 虚拟机软件创建个Linux虚拟机. 分配给256M 内存即可. 载入 ubuntu-8.04.2-altername.iso 映像文件. 启动虚拟机. 安装 base-system (command-line system). 安装方法参考前面的文章. 安装完成后修改源地址, 使用 cn99 的源, 不装任何window包. 也不用中文支持, 我们只需要命令行界面即可, 这样可以节省资源. 安装完成后的系统大概 在 700M 左右的样子. 内存占用在 100 M 以下. 我们只要安装一台基本的虚拟机即可. 后面的各个不同的系统都是基于这个基本系统然后再加上相关的软件包.
现在我们给这个基本系统安装一下编译经常用到的工具.

1
2
3
sudo apt-get install make gcc build-essential autoconf automake1.9 flex libtool
sudo apt-get autoclean
sudo apt-get  clean

基本系统已经准备OK, 这里还有点可以选择修改的. 那就是我们装的是E文系统. 默认是外国时区. 选择修改成中国上海时间. 执行 tzselect 后依次选择即可 , 大概选择的数字为: [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/67/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>快速搭建Linux开发测试WEB服务器系列12-Nginx部署实例</title>
		<link>http://blog.openider.com/archives/61</link>
		<comments>http://blog.openider.com/archives/61#comments</comments>
		<pubDate>Tue, 26 May 2009 16:37:00 +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[服务器]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=61</guid>
		<description><![CDATA[这篇我们利用虚拟机搭建一套测试服务器系统. 其实主要是测试 Linux + Nginx + PHP(FasgCGI) + MySQL 这套系统.前篇简单的说了下 Nginx 的配置. 这里我们根据实际的情况详细的介绍 Nginx 配置文件的设置.
我们打算用虚拟机搭建一套下面的图示系统. 见图:

大概意思图上应该已经表示的非常的清楚了.  其实稍加修改, 可以作为中小型的WEB服务器参考方案. 而且效果也会非常的不错.
接下来用虚拟机就可以实现上面的环境, 后续文章我们相继再介绍. 不过这个需要个比较好的电脑, 像我这个 赛扬1.4, 945的板子 另加 1.5G 的内存的古董本本可能模拟起来有点难度. 不过先试试看了.  下篇我们就开始创建这些虚拟服务器了.
]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/61/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>
	</channel>
</rss>
