<?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://jk.scanmon.com/wp/category/it-technology/linux-applications/feed" rel="self" type="application/rss+xml" />
	<link>http://jk.scanmon.com</link>
	<description>不断探索,追求卓越,成为出色的系统管理员!</description>
	<lastBuildDate>Wed, 28 Jul 2010 02:45:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>linux下用inotify-tools监控实时转换视频文件</title>
		<link>http://jk.scanmon.com/wp/linux-inotify-tools-video-convert.html</link>
		<comments>http://jk.scanmon.com/wp/linux-inotify-tools-video-convert.html#comments</comments>
		<pubDate>Wed, 09 Jun 2010 07:49:09 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2532</guid>
		<description><![CDATA[最近研究关于视频服务器在线转换，以前都是用的windows，自己写过一个小工具，进行实时转换视频，现在切换到linux环境中，所以 win32的程序就报废了，所以研究了一下linux监控的问题。但是自己对linux下的shell脚本实在不熟，弄了好久才弄好，现在说明一下我的配 置过程吧。
首先安装ffmpeg及相关解码器
#1、lame-3.97.tar.gz
wget http://sourceforge.net/project/showfiles.php?group_id=290&#38;package_id=309
tar  -zxvf lame-3.97.tar.gz
cd lame-3.97
./configure –enable-shared  –prefix=/usr
make
make install
#2、libogg libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
./configure  –prefix=/usr
make
make install
#3、libvorbis libvorbis-1.1.2.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
./configure  –prefix=/usr
make
make install
#4、xvid xvidcore-1.1.3.tar.gz
wget http://downloads.xvid.org/downloads/xvidcore-1.1.3.tar.gz
tar  zvxf xvidcore-1.1.3.tar.gz
cd xvidcore-1.1.3/build/generic
./configure  –prefix=/usr
make
make install
#5、x264 x264-snapshot-20071107-2245.tar.bz2
#Url：http://www.videolan.org/developers/x264.html
#要压hq1080,ipod和psp影片，x264是少不了的，需要安装x264，就需要yasm来编译
wget http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz
./configure  –prefix=/usr/local/yasm
make;make install
export  PATH=&#8221;$PATH:/usr/local/yasm/bin&#8221;
vi /etc/profile
export  PATH=&#8221;$PATH:/usr/local/yasm/bin&#8221;
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20090428-2245.tar
bunzip2  x264-snapshot-20090428-2245.tar
tar xvf  x264-snapshot-20090428-2245.tar
cd x264-snapshot-20090428-2245
./configure  –prefix=/usr –enable-shared
make
make install
#6、libdts libdts-0.0.2.tar.gz
wget http://download.videolan.org/pub/videolan/libdca/0.0.2/libdca-0.0.2.tar.gz
tar zxvf [...]]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/linux-inotify-tools-video-convert.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>苹果iPhone破解 可运行谷歌Android系统(图)</title>
		<link>http://jk.scanmon.com/wp/iphone-android.html</link>
		<comments>http://jk.scanmon.com/wp/iphone-android.html#comments</comments>
		<pubDate>Fri, 23 Apr 2010 23:18:36 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[牛科技]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2383</guid>
		<description><![CDATA[【鹏鹏工作室】4月23日消息，据国外媒体报道，iPhone破解团队Dev Team成员David Wang日前表示，他已经将谷歌Android系统成功地移植到苹果iPhone手机上。
David Wang通过openiBoot实现了Linux和iPhone OS双系统启动，并运行linux kernel引导进入了Android系统。之后，包括浏览器、WiFi、Flash、虚拟键盘、音乐播放器、短信和Skype等在内的应用均能正常运行。
David Wang称：“移植后的Android系统虽然没有达到‘生产级别’，但质量已经相当于‘测试版’，几乎所有程序都能正常运行。”
苹果iPhone手机对外一向很封闭，此次被破解运行Android系统可以算是一次重大技术突破，但很难成为主流。

据悉，David Wang的破解工作始于2008年，所使用的手机是一代iPhone。但David Wang表示，将Android移植到iPhone 3G(二代)上很简单，但移植到3G S(三代)上则需要一些时间。
]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/iphone-android.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding up dynamic websites via an nginx proxy</title>
		<link>http://jk.scanmon.com/wp/speeding-up-dynamic-websites-via-an-nginx-proxy.html</link>
		<comments>http://jk.scanmon.com/wp/speeding-up-dynamic-websites-via-an-nginx-proxy.html#comments</comments>
		<pubDate>Sat, 20 Feb 2010 01:06:39 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[English Version]]></category>
		<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2027</guid>
		<description><![CDATA[Many of us are familiar with the use of Apache for hosting websites. It might not be the fastest webserver but it is extraordinarily popular, extremely flexible, and a great choice for most people. However there are times when it can struggle, and placing a proxy in front of it can be useful.

nginx is a [...]]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/speeding-up-dynamic-websites-via-an-nginx-proxy.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nginx学习之一Location，rewrite，防盗链，禁止访问</title>
		<link>http://jk.scanmon.com/wp/nginx-location-rewrite.html</link>
		<comments>http://jk.scanmon.com/wp/nginx-location-rewrite.html#comments</comments>
		<pubDate>Fri, 12 Feb 2010 00:46:08 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/wp/nginx%e5%ad%a6%e4%b9%a0%e4%b9%8b%e4%b8%80location%ef%bc%8crewrite%ef%bc%8c%e9%98%b2%e7%9b%97%e9%93%be%ef%bc%8c%e7%a6%81%e6%ad%a2%e8%ae%bf%e9%97%ae.html</guid>
		<description><![CDATA[一、介绍Nginx是俄罗斯人编写的十分轻量级的HTTP服务器,Nginx，它的发音为“engine X”， 是一个高性能的HTTP和反向代理服务器，同时也是一个IMAP/POP3/SMTP 代理服务器．
二、Location语法语法：location [=&#124;~&#124;~*&#124;^~] /uri/ { … }
注：
1、~   为区分大小写匹配
2、~* 为不区分大小写匹配
3、!~和!~*分别为区分大小写不匹配及不区分大小写不匹配
 示例一：
location  / { }
匹配任何查询，因为所有请求都以 / 开头。但是正则表达式规则将被优先和查询匹配。
示例二：
location =/ {}
仅仅匹配/
示例三：
location ~* \.(gif&#124;jpg&#124;jpeg)$ ｛
rewrite \.(gif&#124;jpg)$ /logo.png;
｝
注：不区分大小写匹配任何以gif，jpg，jpeg结尾的文件
三、ReWrite语法
last – 基本上都用这个Flag。
break – 中止Rewirte，不在继续匹配
redirect – 返回临时重定向的HTTP状态302
permanent – 返回永久重定向的HTTP状态301
1、下面是可以用来判断的表达式：
-f和!-f用来判断是否存在文件
-d和!-d用来判断是否存在目录
-e和!-e用来判断是否存在文件或目录
-x和!-x用来判断文件是否可执行
2、下面是可以用作判断的全局变量
例：http://localhost:88/test1/test2/test.php
$host：localhost
$server_port：88
$request_uri：http://localhost:88/test1/test2/test.php
$document_uri：/test1/test2/test.php
$document_root：D:\nginx/html
$request_filename：D:\nginx/html/test1/test2/test.php
四、Redirect语法
server {
listen 80;
server_name start.igrow.cn;
index index.html index.php;
root html;
if ($http_host !~ “^star\.igrow\.cn$&#38;quot [点击图片可在新窗口打开] {
rewrite ^(.*) http://star.igrow.cn$1 redirect;
}
}
五、防盗链location ~* \.(gif&#124;jpg&#124;swf)$ {
valid_referers none blocked start.igrow.cn [...]]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/nginx-location-rewrite.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LVS集群的应用介绍</title>
		<link>http://jk.scanmon.com/wp/lvs-cluster-intrduction.html</link>
		<comments>http://jk.scanmon.com/wp/lvs-cluster-intrduction.html#comments</comments>
		<pubDate>Mon, 08 Feb 2010 03:38:00 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[cluster(集群)]]></category>
		<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>
		<category><![CDATA[服务器管理]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1956</guid>
		<description><![CDATA[LVS集群的应用
LVS项目从成立到现在为止，受到不少关注，LVS集群系统已被应用于很多重负载的站点，就我所知该系统已在美、英、德、澳等国的几十个站点上正式使用。
我们没有上百台机器和高速的网络来实际测试LVS的终极性能，所以举LVS的应用实例来说明LVS的高性能和稳定性。我们所知的一些大型LVS应用实例如下：


英国国家JANET Cache Service（wwwcache.ja.net）是为英国150所以上的大学提供Web Cache服务。他们用28个结点的LVS集群代替了原有现50多台相互独立的Cache服务器，用他们的话说现在速度就跟夏天一样，因为夏天是放假期间没有很多人使用网络。
Linux的门户站点（www.linux.com）用LVS将很多台VA Linux SMP服务器组成高性能的WEB服务，已使用将近一年。
SourceForge（sourceforge.net）是在全球范围内为开发源码项目提供WEB、FTP、Mailing List和CVS等服务，他们也使用LVS将负载调度到十几台机器上。
世界上最大的PC制造商之一采用了两个LVS集群系统，一个在美洲，一个在欧洲，用于网上直销系统。
以RealPlayer提供音频视频服务而闻名的Real公司（www.real.com）使用由20台服务器组成的LVS集群，为其全球用户提供音频视频服务。在2000年3月时，整个集群系统已收到平均每秒20,000个连接的请求流。
NetWalk（www.netwalk.com）用多台服务器构造LVS系统，提供1024个虚拟服务，其中本项目的一个美国镜像站点（www.us.linuxvirtualserver.org）。
RedHat（www.redhat.com）从其6.1发行版起已包含LVS代码，他们开发了一个LVS集群管理工具叫Piranha，用于控制LVS集群，并提供了一个图形化的配置界面。
VA Linux（www.valinux.com）向客户提供基于LVS的服务器集群系统，并且提供相关的服务和支持。
TurboLinux的&#8221;世界一流Linux集群产品&#8221;TurboCluster实际上是基于LVS的想法和代码的，只是他们在新闻发布和产品演示时忘了致谢 。
红旗Linux和中软都提供基于LVS的集群解决方案，并在2000年9月召开的Linux World China 2000上展示。

在这里，再引用两位LVS用户的评论，来进一步说明LVS的性能和可靠性。
LVS集群的特点
LVS集群的特点可以归结如下：

功能
有实现三种IP负载均衡技术和八种连接调度算法的IPVS软件。在IPVS内部实现上，采用了高效的Hash函数和垃圾回收机制，能正确处理所调度报文相 关的ICMP消息（有些商品化的系统反而不能）。虚拟服务的设置数目没有限制，每个虚拟服务有自己的服务器集。它支持持久的虚拟服务（如HTTP Cookie和HTTPS等需要该功能的支持），并提供详尽的统计数据，如连接的处理速率和报文的流量等。针对大规模拒绝服务（Deny of Service）攻击，实现了三种防卫策略。
有基于内容请求分发的应用层交换软件KTCPVS，它也是在Linux内核中实现。有相关的集群管理软件对资源进行监测，能及时将故障屏蔽，实现系统的高可用性。主、从调度器能周期性地进行状态同步，从而实现更高的可用性。
适用性
后端服务器可运行任何支持TCP/IP的操作系统，包括Linux，各种Unix（如FreeBSD、Sun Solaris、HP Unix等），Mac/OS和Windows NT/2000等。
负载调度器能够支持绝大多数的TCP和UDP协议：



协议
内 容


TCP
HTTP，FTP，PROXY，SMTP，POP3，IMAP4，DNS，LDAP，HTTPS，SSMTP等


UDP
DNS，NTP，ICP，视频、音频流播放协议等



无需对客户机和服务器作任何修改，可适用大多数Internet服务。
性能
LVS服务器集群系统具有良好的伸缩性，可支持几百万个并发连接。配置100M网卡，采用VS/TUN或VS/DR调度技术，集群系统的吞吐量可高达1Gbits/s；如配置千兆网卡，则系统的最大吞吐量可接近10Gbits/s。
可靠性
LVS服务器集群软件已经在很多大型的、关键性的站点得到很好的应用，所以它的可靠性在真实应用得到很好的证实。有很多调度器运行一年多，未作一次重启动。
软件许可证
LVS集群软件是按GPL（GNU Public License）许可证发行的自由软件，这意味着你可以得到软件的源代码，有权对其进行修改，但必须保证你的修改也是以GPL方式发行。

虚拟服务器软件IPVS
在调度器的实现技术中，IP负载均衡技术是效率最高的。在已有的IP负载均衡技术中有通过网络地址转换（Network Address Translation）将一组服务器构成一个高性能的、高可用的虚拟服务器，我们称之为VS/NAT技术（Virtual Server via Network Address Translation），大多数商品化的IP负载均衡调度器产品都是使用此方法，如Cisco的LocalDirector、F5的Big/IP和 Alteon的ACEDirector。在分析VS/NAT的缺点和网络服务的非对称性的基础上，我们提出通过IP隧道实现虚拟服务器的方法VS/TUN （Virtual Server via IP Tunneling），和通过直接路由实现虚拟服务器的方法VS/DR（Virtual Server via Direct Routing），它们可以极大地提高系统的伸缩性。所以，IPVS软件实现了这三种IP负载均衡技术，它们的大致原理如下（我们将在其他章节对其工作原 理进行详细描述），

Virtual Server via Network Address Translation（VS/NAT）
通过网络地址转换，调度器重写请求报文的目标地址，根据预设的调度算法，将请求分派给后端的真实服务器；真实服务器的响应报文通过调度器时，报文的源地址被重写，再返回给客户，完成整个负载调度过程。
Virtual Server via IP Tunneling（VS/TUN）
采用NAT技术时，由于请求和响应报文都必须经过调度器地址重写，当客户请求越来越多时，调度器的处理能力将成为瓶颈。为了解决这个问题，调度器把请求报 文通过IP隧道转发至真实服务器，而真实服务器将响应直接返回给客户，所以调度器只处理请求报文。由于一般网络服务应答比请求报文大许多，采用 VS/TUN技术后，集群系统的最大吞吐量可以提高10倍。
Virtual Server via Direct Routing（VS/DR）
VS/DR通过改写请求报文的MAC地址，将请求发送到真实服务器，而真实服务器将响应直接返回给客户。同VS/TUN技术一样，VS/DR技术可极大地 [...]]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/lvs-cluster-intrduction.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squid网站加速介绍</title>
		<link>http://jk.scanmon.com/wp/squid-introduction.html</link>
		<comments>http://jk.scanmon.com/wp/squid-introduction.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 06:05:03 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>
		<category><![CDATA[探索中的鹏鹏工作室]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1948</guid>
		<description><![CDATA[
Squid是一种在Linux系统下使用的优秀的代理服务器软件。
squid不仅可用在Linux系统上，还可以用在AIX、Digital Unix、FreeBSD、HP-UX、Irix、NetBSD、Nextstep、SCO和Solaris等系统上。
Squid与Linux下其它的代理软件如Apache、Socks、TIS FWTK和delegate相比，下载安装简单，配置简单灵活，支持缓存和多种协议。用ipchains+Squid的解决方案，就可以获得通过缓存高性能的同时能够无缝的访问Internet。
普通的网站服务器的方法是用户首先向Web服务器（如Apache）发送请求，Web服务器接受到请求后，会处理该请求，然后返回信息给用户。这样Web服务器就是在接受、处理用户请求的过程。当这种请求达到一个极限时，就会出现上述服务器不堪重负，网站服务速度非常慢的情况。
加上Squid的服务器方法是，让Squid对Web服务器发送请求，然后生成Cache，让用户直接读取Cache的内容，而并非直接Web服务器进行会话。那么这样就会减轻服务器负荷。加之用户少了几次与服务器的会话过程。可以更形象的用下图来看一下两者之间的不同
]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/squid-introduction.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Varnish网站加速介绍</title>
		<link>http://jk.scanmon.com/wp/varnish-introducton.html</link>
		<comments>http://jk.scanmon.com/wp/varnish-introducton.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 05:13:12 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>
		<category><![CDATA[探索中的鹏鹏工作室]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1944</guid>
		<description><![CDATA[Varnish是一款高性能的开源HTTP加速器，挪威最大的在线报纸 Verdens Gang 使用3台Varnish代替了原来的12台Squid，性能比以前更好。

Varnish 的作者Poul-Henning Kamp是FreeBSD的内核开发者之一，他认为现在的计算机比起1975年已经复杂许多。在1975年时，储存媒介只有两种：内存与硬盘。但现在计算 机系统的内存除了主存外，还包括了CPU内的L1、L2，甚至有L3快取。硬盘上也有自己的快取装置，因此Squid Cache自行处理物件替换的架构不可能得知这些情况而做到最佳化，但操作系统可以得知这些情况，所以这部份的工作应该交给操作系统处理，这就是 Varnish cache设计架构。
龙铳让刃：Varnish的理念是好的，但是Varnish还没有稳定到可以完全替代Squid的程度，现在就抛弃Squid选择Varnish是不明智的。
Varnish介绍
1 Varnish
 is HTTP accelerator.
2 Varnish stores data in virtual memory and leaves the task of deciding what is stored in memory
and what gets paged out to disk to the operating system
3 The Varnish web site claims that Varnish is ten to twenty times faster than [...]]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/varnish-introducton.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>智能dns服务器配置</title>
		<link>http://jk.scanmon.com/wp/zhineng-dns-configure.html</link>
		<comments>http://jk.scanmon.com/wp/zhineng-dns-configure.html#comments</comments>
		<pubDate>Sat, 06 Feb 2010 12:24:56 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[Architecture(架构)]]></category>
		<category><![CDATA[cluster(集群)]]></category>
		<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[探索中的鹏鹏工作室]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1934</guid>
		<description><![CDATA[智能DNS配置
1、通过智能DNS自动解析,自动判断网通和电信用户,真正做到南北互联，从而做到网站加速。
2、负责配置好BIND智能dns配置，并做一个月的配置服务。
3、提供一份区分电信、网通、教育网、移动网络的ip分配表。
4、要求安装智能dns的服务器为linux 服务器。

什么是智能DNS？

域名DNS智能分网负载均衡解析技术（简称DNS智能解析），就是使同时拥有两台或多台不同地区及接入镜像服务器的互联网内容信息服务商（ICP），通 过DNS智能解析技术，让其内容信息访问者或用户尽可能使用同一地区或同一接入ISP或互访速度较快的网络来高速访问其提供的服务，从而从根本上解决或者 减轻网络拥挤而造成的网站信息访问者或客户丢失而带来的种种直接或者间接的经济损失。而我们的双线空间，一个空间两个IP，您只需要用一个空间就可以实现 两台服务器才能完成的工作。
智能dns 比 传统CDN的优势？
传统的CDN加速是静态页面加速,如果您的网站有ASP程序如论坛,则北方用户访问同样是很慢。而使用我们的双线空间,空间一个空间两个IP,北方用户用 网通,南方用户用电信,因为是同一个空间,不管是asp程序还是普通的web页面都是同样的快,加上智能DNS自动解析,自动判断网通和电信用户,真正做 到南北互联。

]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/zhineng-dns-configure.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>善用GIMP(Linux下的Photoshop)，图像处理轻松又自由</title>
		<link>http://jk.scanmon.com/wp/%e5%96%84%e7%94%a8gimplinux%e4%b8%8b%e7%9a%84photoshop%ef%bc%8c%e5%9b%be%e5%83%8f%e5%a4%84%e7%90%86%e8%bd%bb%e6%9d%be%e5%8f%88%e8%87%aa%e7%94%b1.html</link>
		<comments>http://jk.scanmon.com/wp/%e5%96%84%e7%94%a8gimplinux%e4%b8%8b%e7%9a%84photoshop%ef%bc%8c%e5%9b%be%e5%83%8f%e5%a4%84%e7%90%86%e8%bd%bb%e6%9d%be%e5%8f%88%e8%87%aa%e7%94%b1.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 08:15:45 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1883</guid>
		<description><![CDATA[
1. GIMP是什么？
 GIMP是什么？最准确的说法：The GNU Image Manipulation Program 的简称，一个用 GTK 编写的图像编辑处理程序。
最容易理解的说法：Linux下的Photoshop，但现在的 Windows 版本同样好用。
最xbeta风格的说法：免费开源的GIMP，是昂贵的 PhotoShop 的较好替代方案。
网络介绍：GIMP 是一个免费的、分布式的图片润饰、图象制作和处理软件，内含几乎所有图象处理所需的功能，号称Linux下的PhotoShop。 GIMP在Linux系统推出时就风靡了许多绘图爱好者的喜爱，它的接口相当轻巧，但其功能却不输于专业的绘图软件；它提供了各种的影像处理工具、滤镜， 还有许多的组件模块，对于要制作一个又酷又炫的网页按钮或网站Logo来说是一个非常方便好用的绘图软件，因为它也提供了许多的组件模块，你只要稍加修改 一下，便可制作出一个属于你的网页按钮或网站Logo。 如今推出了For Windows版本，还不赶快试试… 注：需要安装GTK+环境包才能正常安装。
2. GIMP 与 Photoshop的对比
2.1 相同之处：功能同样强大
笔者相信，用Photoshop能实现的效果，GIMP都能实现。反之也一样。另外，GIMP的界面、菜单也是模仿PhotoShop，所以风格很象（参见介面预览，点击可放大）

2.2 不同之处
价格：Photoshop 最新版的售价高达 5000人民币，而 GIMP 完全免费。
体积：GIMP 比 PhotoShop 更小巧、节省空间和资源。例如，善用佳软在2008年使用的 GIMP 2.2：安装文件7+M；在win下用，要先装GTK环境，3+M；安装后总目录大小19MB；运行时占用资源也不大。而1998年使用的 PhotoShop 4.0 安装后则近 40MB 空间。相信两款软件的最新版差异更加明显。
跨平台：GIMP 成名于 Linux 平台，目前在windows下也广泛应用，亦支持Mac。PhotoShop 成名于Mac 和 windows。目前推出了 免费的在线 PhotoShop，当然功能比起软件还有很大距离。
3. GIMP 视频演示
想更加直观了解 GIMP 的界面、功能？请看下面的 Flash 录屏（579X687，900KB，录屏工具为 Wink）。如果看不到视频，请检查浏览器的 [...]]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/%e5%96%84%e7%94%a8gimplinux%e4%b8%8b%e7%9a%84photoshop%ef%bc%8c%e5%9b%be%e5%83%8f%e5%a4%84%e7%90%86%e8%bd%bb%e6%9d%be%e5%8f%88%e8%87%aa%e7%94%b1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nginx proxy_cache 代理缓存</title>
		<link>http://jk.scanmon.com/wp/nginx-proxy_cache-%e4%bb%a3%e7%90%86%e7%bc%93%e5%ad%98.html</link>
		<comments>http://jk.scanmon.com/wp/nginx-proxy_cache-%e4%bb%a3%e7%90%86%e7%bc%93%e5%ad%98.html#comments</comments>
		<pubDate>Fri, 22 Jan 2010 05:14:35 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1862</guid>
		<description><![CDATA[proxy_cache_path /path/to/cache levels=1:2 keys_zone=NAME:10m inactive=5m max_size=2m clean_time=1m;
注意这个配置是在server标签外，levels指定该缓存空间有两层hash目录，第一层目录是1个字母，第二层为2个字母，保存的文件名就会类似 /path/to/cache/c/29 /b7f54b2df7773722d382f4809d65029c；keys_zone为这个空间起个名字，10m指空间大小为 10MB；inactive的5m指缓存默认时长5分钟；max_size的2m是指单个文件超过2m的就不缓存；clean_time指定一分钟清理一 次缓存。
location / {
proxy_pass http://xxx.xxx.com/;
proxy_cache NAME;#使用NAME这个keys_zone
proxy_cache_key     $uri;
proxy_cache_valid 200 302 1h;#200和302状态码保存1小时
proxy_cache_valid 301 1d;#301状态码保存一天
proxy_cache_valid any 1m;#其它的保存一分钟
proxy_cache_min_uses  1;
}
]]></description>
		<wfw:commentRss>http://jk.scanmon.com/wp/nginx-proxy_cache-%e4%bb%a3%e7%90%86%e7%bc%93%e5%ad%98.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
