<?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://hiei.yeax.com/archives_category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://hiei.yeax.com</link>
	<description>emule linux and so on..</description>
	<lastBuildDate>Thu, 26 May 2011 03:31:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>通过技术方法解决域名未加白名单问题</title>
		<link>http://hiei.yeax.com/archives_234.html</link>
		<comments>http://hiei.yeax.com/archives_234.html#comments</comments>
		<pubDate>Mon, 23 May 2011 08:50:24 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[白名单]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[备案]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/?p=234</guid>
		<description><![CDATA[上周一个朋友和我说，他们的网站无法访问了。仔细一问，原来他们的域名备案刚被注销了，机房有白名单，没备案的域名无法访问。 朋友的服务器是自己购买的，托管在广东一家机房，已经付了一年费用，才刚过几个月。他们的网站数据库比较庞大，程序写的又比较烂，一般的服务器跑起来非常慢，备案花费时间据说2个星期到2个月都有可能。大家讨论了几个方案： 一. 干脆搬到国外去，不鸟这个备案了。 缺点：服务器是新买的，托管费也是才交了没几个月，这样子亏大了，他们也不是有钱的人。优点：以后都可以不用管TG的备案了。 二. 注册一个临时域名，将站搬到国外服务器，主域名继续留在国内备案。 缺点：能顺畅运行他们网站的服务器，月租大概要一千元，还是有点贵，网站数据需来回同步。优点：花费比方案一少。 三. 注册一个临时域名，购买一个VPS，通过反向代理方式访问。 缺点： 速度会比较慢，得绕地球一个来回呢。 优点：花费少，对国内速度较好的 linode vps 每月只要130出头。数据不用迁移。 最后大家讨论的结果是使用方案三先测试。 介绍一下环境： 国内服务器： Centos 5.0 32位， nginx 7.x + php 5.2.x 硬件： Cpu Xeon X34xx, 8G 内存 （对于32位系统，容我吐槽一下，安装配置操作系统的人真是天才啊） 国外VPS： Debian 6 64位 ， nginx 7.x 硬件： cpu 是Xeon L5520 共享, 512M 内存 做法： 一. 两边服务器都安装openvpn， 建立VPN加密连接。 如果不会，请去Google ，应该有很多文档 二. [...]]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_234.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>推荐 lightwave.net 的vps</title>
		<link>http://hiei.yeax.com/archives_224.html</link>
		<comments>http://hiei.yeax.com/archives_224.html#comments</comments>
		<pubDate>Fri, 22 Oct 2010 14:03:02 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[HE]]></category>
		<category><![CDATA[sanjose]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/?p=224</guid>
		<description><![CDATA[推荐 lightwave.net 的vps]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_224.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>在Debian Linux 下使用exfat (支持读写)</title>
		<link>http://hiei.yeax.com/archives_220.html</link>
		<comments>http://hiei.yeax.com/archives_220.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 08:38:22 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[exfat]]></category>
		<category><![CDATA[fuse]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/?p=220</guid>
		<description><![CDATA[在Debian Linux 下使用exfat]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_220.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>在Debian下利用apache2 mod_proxy,mod_cache,mod_rewrite 使用静态化的一种办法</title>
		<link>http://hiei.yeax.com/archives_188.html</link>
		<comments>http://hiei.yeax.com/archives_188.html#comments</comments>
		<pubDate>Wed, 14 Jan 2009 07:51:19 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mod_cache]]></category>
		<category><![CDATA[mod_disk_cache]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/?p=188</guid>
		<description><![CDATA[1. 打开需要的模块 ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/proxy.load ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/proxy_http.load ln -s /etc/apache2/mods-available/cache.load /etc/apache2/mods-enabled/cache.load ln -s /etc/apache2/mods-available/disk_cache.load /etc/apache2/mods-enabled/disk_cache.load 2.ReWrite 配置 我这里文章都是这样子的： http://www.example.com/Article.php?id=124323 我希望将它改为更加友好的方式： http://www.example.com/list/124323.html RewriteEngine On RewriteRule /articlelist/(.+)\.html$ /Article.php?id=$1 [L] 经过Rewrite配置后，重启确定Rewrite生效. /etc/init.d/apache2 restart 3. 静态化 虽然这样子外人看起来像是静态化的了，但是每次访问都需要去查一次数据库，为了真正的实现静态化，我们通过mod_proxy和mod_disk_cache模块来实现。 用这个办法的好处是你不需要在前面再架设一个Squid之类的代理服务器，直接用apache2内置模块就可以实现了。性能也足够高，静态化后性能可以提高10倍，这还是在用简单sql查询的前提下，如果sql比较复杂，那性能的提高就更加明显了。 A. 先创建cache目录 mkdir -p /var/cache/apache2/proxy chmod 777 /var/cache/apache2/proxy chown -R www-data.www-data /var/cache/apache2/proxy B.  修改php程序。 mod_cache遵循标准rfc协议，如果你的php输出里面没有过期设置，它将不会cache这个文件。 在php程序前面加入几行代码,注意一定要在输出正文前输出HTTP头 // 过期时间设置为一个月，如果你的文章不可能变，那将这个值设的更大些 [...]]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_188.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Debian里面配置磁盘限额</title>
		<link>http://hiei.yeax.com/archives_174.html</link>
		<comments>http://hiei.yeax.com/archives_174.html#comments</comments>
		<pubDate>Sun, 16 Mar 2008 11:41:16 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/archives_174.html</guid>
		<description><![CDATA[Debian真是非常好用的服务器操作系统啊，磁盘配额也非常容易实现。 Linux下限制磁盘配额可以按每个组或每个用户来限制，下面以每个用户限制为例说明一下： 实现磁盘配额限制步骤： 1. 内核里面打开了配额的支持，绝大部分发行版都打开的 2. 以配额方式加载文件系统 3.安装配额软件： 4.配置配额 原/etc/fstab的一项： /dev/hda1&#160; &#160; &#160; &#160;/home&#160; &#160; &#160; &#160;ext3&#160; &#160; defaults&#160; &#160; &#160; &#160; &#160; &#160;1&#160; &#160; &#160; &#160;1 做如下修改： /dev/hda1&#160; &#160; &#160; &#160;/home&#160; &#160; &#160; &#160;ext3&#160; &#160; defaults,usrquota&#160; &#160; &#160; &#160; &#160; &#160;1&#160; &#160; &#160; &#160;1 如何是对组限制就将usrquota改为grpquota 重新加载文件系统： mount -o remount,usrquota /home 加载内核模块，并让其开机的时候也会自动加载 modprobe quota_v2 echo [...]]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_174.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>转载： 完全自由软件[WinScp+Putty+Pageant]之Public Key Authentication方式登陆SSHD</title>
		<link>http://hiei.yeax.com/archives_173.html</link>
		<comments>http://hiei.yeax.com/archives_173.html#comments</comments>
		<pubDate>Sat, 15 Mar 2008 09:52:36 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/archives_173.html</guid>
		<description><![CDATA[懒得转贴了，自己到这个网页看吧]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_173.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql 中文全文搜索</title>
		<link>http://hiei.yeax.com/archives_159.html</link>
		<comments>http://hiei.yeax.com/archives_159.html#comments</comments>
		<pubDate>Sun, 22 Apr 2007 15:59:02 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/archives_159.html</guid>
		<description><![CDATA[花了周末整整两天时间和P牛一起合作，终于将漫游的论坛改为全文搜索了，个中辛苦不足为外人道也。 呵呵，其实开玩笑的。一切进行的都很顺利，最大的问题就是需要整理一个好用的词库。我们用了自带的中文词库，发现很不适合漫游使用，后来找了一个拼音加加的词库，一个google拼音的词库，一个搜狗拼音的词库，还有自己人肉整理了一些资料，终于弄了一个100万字的超大词库。 这个全文搜索程序很简单，核心sql 就一行 &#8220;select postid,threadid,title from search where match(title,pagetext) against(&#8216;关键词&#8217;)&#8221;。我这里采用的是双数据库方案，原来的论坛数据库不动，新安装了一个支持中文全文搜索的Mysql。在里面建立搜索专用数据库，自己写了个程序每天增量将帖子加到这个数据库上就好了。具体的实现可以参考 hightman 的网站。 http://myft.twomice.net/show_hdr.php?xname=ILBS301&#38;xpos=4&#38;dname= http://php.twomice.net/myft/s2.php]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_159.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>ISPConfig 一个非常强大的Linux 虚拟主机控制面板</title>
		<link>http://hiei.yeax.com/archives_157.html</link>
		<comments>http://hiei.yeax.com/archives_157.html#comments</comments>
		<pubDate>Sun, 15 Apr 2007 16:11:02 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[虚拟主机]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/archives_157.html</guid>
		<description><![CDATA[vhcs 开发基本处于停滞状态，今天看到了 ISPConfig, 觉得挺有意思的。有好几个引人注目的优点： 1. 支持的发行版非常多 2. 功能强大 3. 开发社区活跃，文档齐全 ISPConfig ISPConfig is an open source hosting control panel for Linux. ISPConfig is licensed under BSD license. Managed Services Httpd (virtual hosts, domain and IP based) FTP Bind (A, CNAME, MX and SPF Records) POP3 Auto-Responder MySQL client-databases Webalizer statistics Harddisk quota Mail-Quota Traffic limits [...]]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_157.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Debian etch 安装vnc server</title>
		<link>http://hiei.yeax.com/archives_156.html</link>
		<comments>http://hiei.yeax.com/archives_156.html#comments</comments>
		<pubDate>Fri, 13 Apr 2007 06:03:16 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/archives_156.html</guid>
		<description><![CDATA[虽然大部分情况下我们只要用ssh登录linux服务器就好了，但是有时候我们的程序需要在图形界面下运行，这时我们就要用到vnc server这个软件了。在Debian下安装vnc server很简单的，只要几步就可以了： 1. 安装软件 apt-get install tightvncserver tightvnc-java 2. 配置每个用户自己的vnc server。 启动命令： vncserver -depth 24 -name aru_desktop -httpport 9001 -geometry 1024&#215;768 :1 参数解释： 1. -depth 24 使用24位颜色，这里一般用16或者24 2. -name aru_desktop 桌面名字，这个参数并非必要，可以随便起个喜欢的名字 3. -httpport 9001 使用浏览器连接的端口，请用1024以上的端口，如果是多个用户都开vnc server，那每个用户要使用不同的端口 4. -geometry 1024&#215;768 桌面分辨率,根据要求调整 5. :1 会话数字，同3 第一次运行会要求你输入一个密码，这个密码和你的ssh登录密码是分开的，当然你也可以用同样的密码 关闭命令： vncserver -kill :1 :1 是会话数字，和启动的会话数字一致 3. 输入法和桌面环境 每个用户的vnc server启动脚本是 [...]]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_156.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>解决Linux下连接延时</title>
		<link>http://hiei.yeax.com/archives_155.html</link>
		<comments>http://hiei.yeax.com/archives_155.html#comments</comments>
		<pubDate>Thu, 12 Apr 2007 09:30:22 +0000</pubDate>
		<dc:creator>小飞</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hiei.yeax.com/archives_155.html</guid>
		<description><![CDATA[Debian默认设置下是开反向域名解析的。我们连接ssh/ftp的时候就会有一个比较明显的延时，大概要等30秒后才能输入账号密码。解决方法有两个： 1. 将客户机IP和域名对应关系加入到 /etc/hosts上 2. 编辑 /etc/nsswitch.conf 找到 hosts  那行，将其改成下面这样： hosts:          files dns [NOTFOUND=return]]]></description>
		<wfw:commentRss>http://hiei.yeax.com/archives_155.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

