<?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://www.800l.com/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.800l.com</link>
	<description>From now on, i only care about the person who care about me.</description>
	<lastBuildDate>Mon, 06 Feb 2012 07:10:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux/CentOS xfce 桌面安装</title>
		<link>http://www.800l.com/linux-centos-xfce-install.html</link>
		<comments>http://www.800l.com/linux-centos-xfce-install.html#comments</comments>
		<pubDate>Mon, 06 Feb 2012 06:34:01 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[电脑软件]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=914</guid>
		<description><![CDATA[在小内存的机器上(512M以下)的机器上xfce还是很流畅的，我直接贴代码了
yum -y groupinstall xfce-4.4
yum -y install vnc-server
echo “VNCSERVERS=\”1:root\”" &#62;&#62; /etc/sysconfig/vncservers
echo “VNCSERVERARGS[1]=\”-geometry 800&#215;600\”" &#62;&#62; /etc/sysconfig/vncservers
接下来设置登录密码
vncpasswd
生成配置文件
vncserver
vncserver -kill:1
cp  [...]]]></description>
			<content:encoded><![CDATA[<p>在小内存的机器上(512M以下)的机器上xfce还是很流畅的，我直接贴代码了</p>
<blockquote><p>yum -y groupinstall xfce-4.4<br />
yum -y install vnc-server<br />
echo “VNCSERVERS=\”1:root\”" &gt;&gt; /etc/sysconfig/vncservers<br />
echo “VNCSERVERARGS[1]=\”-geometry 800&#215;600\”" &gt;&gt; /etc/sysconfig/vncservers</p></blockquote>
<p><span id="more-914"></span>接下来设置登录密码</p>
<blockquote><p>vncpasswd</p></blockquote>
<p>生成配置文件</p>
<blockquote><p>vncserver<br />
vncserver -kill:1<br />
cp ~/.vnc/xstartup ~/.vnc/xstartup.bak</p></blockquote>
<p>修改启动脚本</p>
<blockquote><p>vim ~/.vnc/xstartup</p></blockquote>
<p>内容改为</p>
<blockquote><p>#!/bin/sh<br />
/usr/bin/startxfce4</p></blockquote>
<p>保存退出，添加执行权限</p>
<blockquote><p>chmod +x ~/.vnc/xstartup</p></blockquote>
<p>设置自动启动并启动VNC服务</p>
<blockquote><p>chkconfig vncserver on<br />
vncserver</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/linux-centos-xfce-install.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux关闭SELinux</title>
		<link>http://www.800l.com/linux-shutdown-selinux.html</link>
		<comments>http://www.800l.com/linux-shutdown-selinux.html#comments</comments>
		<pubDate>Tue, 27 Dec 2011 15:26:49 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[电脑软件]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=877</guid>
		<description><![CDATA[在Linux下关闭 SELinux 的方法如下：
vim /etc/sysconfig/selinux
找到
selinux=enabled
改为
selinux=disabled
下次重启就生效了。
然后在本次不重启的情况下使用下列命令关闭，需要root权限：
# su &#8211; root
# setenforce 0
OK。
]]></description>
			<content:encoded><![CDATA[<p>在Linux下关闭 SELinux 的方法如下：</p>
<blockquote><p>vim /etc/sysconfig/selinux</p></blockquote>
<p>找到</p>
<blockquote><p>selinux=enabled</p></blockquote>
<p>改为<span id="more-877"></span></p>
<blockquote><p>selinux=disabled</p></blockquote>
<p>下次重启就生效了。</p>
<p>然后在本次不重启的情况下使用下列命令关闭，需要root权限：</p>
<blockquote><p># su &#8211; root<br />
# setenforce 0</p></blockquote>
<p>OK。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/linux-shutdown-selinux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为nginx站点添加ipv6访问</title>
		<link>http://www.800l.com/nginx-host-add-ipv6.html</link>
		<comments>http://www.800l.com/nginx-host-add-ipv6.html#comments</comments>
		<pubDate>Sun, 07 Aug 2011 01:01:52 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=813</guid>
		<description><![CDATA[最近为博客添加了ipv4、ipv6双解析，使用教育网进行v6测试通过，市区的网络是不支持ipv6的，其实添加ipv6非常简单，当然，首先，你必须为你的nginx安装好ipv6模块，就是在编译的时候使用&#8211;with-ipv6来安装，配置非常简单，我是配置ipv6独立ip访问，设置如下，在server段中，原先的设置完全不必变动，只需在listen 80下面加入下面一行即可，然后重启你的nginx。
listen    [2607:f358:1:fed5:22:0:????:????]:80 ipv6only=on;
]]></description>
			<content:encoded><![CDATA[<p>最近为博客添加了ipv4、ipv6双解析，使用教育网进行v6测试通过，市区的网络是不支持ipv6的，其实添加ipv6非常简单，当然，首先，你必须为你的nginx安装好ipv6模块，就是在编译的时候使用&#8211;with-ipv6来安装，配置非常简单，我是配置ipv6独立ip访问，设置如下，在server段中，原先的设置完全不必变动，只需在listen 80下面加入下面一行即可，然后重启你的nginx。</p>
<blockquote><p>listen    [2607:f358:1:fed5:22:0:????:????]:80 ipv6only=on;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/nginx-host-add-ipv6.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>为特定Nginx站点设置SSL</title>
		<link>http://www.800l.com/nginx-host-add-ssl.html</link>
		<comments>http://www.800l.com/nginx-host-add-ssl.html#comments</comments>
		<pubDate>Sun, 07 Aug 2011 00:52:13 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=811</guid>
		<description><![CDATA[参考文献：http://wiki.nginx.org/NginxHttpSslModule
1.生成SSL证书公私钥
openssl req -new -x509 -nodes -out cert.pem -keyout cert.key
2.修改站点入站端口和加载SSL证书
server的监听由80改为443：listen 443;
在server中添加下面几行加载证书
        ssl                  on;
ssl_certificate      你的证书路径/cert.pem;
ssl_certificate_key   [...]]]></description>
			<content:encoded><![CDATA[<p>参考文献：<a href="http://wiki.nginx.org/NginxHttpSslModule" target="_blank">http://wiki.nginx.org/NginxHttpSslModule</a></p>
<p>1.生成SSL证书公私钥</p>
<p>openssl req -new -x509 -nodes -out cert.pem -keyout cert.key</p>
<p>2.修改站点入站端口和加载SSL证书</p>
<p>server的监听由80改为443：listen 443;</p>
<p>在server中添加下面几行加载证书<span id="more-811"></span></p>
<blockquote><p>        ssl                  on;<br />
ssl_certificate      你的证书路径/cert.pem;<br />
ssl_certificate_key  你的证书路径/cert.key;</p></blockquote>
<p>还有些参数请自行添加</p>
<p>3.重启Nginx</p>
<blockquote><p>/user/local/nginx/sbin/nginx -s reload</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/nginx-host-add-ssl.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>freeradius2 限制流量</title>
		<link>http://www.800l.com/freeradius2-monthly-traffic-limit.html</link>
		<comments>http://www.800l.com/freeradius2-monthly-traffic-limit.html#comments</comments>
		<pubDate>Sat, 16 Apr 2011 05:16:56 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[freeradius]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PPTP]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=726</guid>
		<description><![CDATA[1.添加流量统计器
vim /etc/raddb/sql/mysql/counter.conf
在末尾添加如下代码
sqlcounter monthlytrafficcounter {
counter-name = Monthly-Traffic
check-name = Max-Monthly-Traffic
reply-name = Monthly-Traffic-Limit
sqlmod-inst = sql
key = User-Name
reset = monthly
query = “SELECT (SUM(AcctInputOctets + AcctOutputOctets))  [...]]]></description>
			<content:encoded><![CDATA[<p>1.添加流量统计器</p>
<blockquote><p>vim /etc/raddb/sql/mysql/counter.conf</p></blockquote>
<p>在末尾添加如下代码<span id="more-726"></span></p>
<blockquote><p>sqlcounter monthlytrafficcounter {</p>
<p>counter-name = Monthly-Traffic</p>
<p>check-name = Max-Monthly-Traffic</p>
<p>reply-name = Monthly-Traffic-Limit</p>
<p>sqlmod-inst = sql</p>
<p>key = User-Name</p>
<p>reset = monthly</p>
<p>query = “SELECT (SUM(AcctInputOctets + AcctOutputOctets)) \</p>
<p>FROM radacct WHERE UserName=&#8217;%{%k}&#8217; \</p>
<p>AND UNIX_TIMESTAMP(AcctStartTime) &gt; &#8216;%b&#8217;”</p>
<p>}</p></blockquote>
<p>2.添加字典</p>
<blockquote><p>vim /etc/raddb/dictionary</p></blockquote>
<p>在文件末尾添加下面两行</p>
<blockquote><p>ATTRIBUTE Max-Monthly-Traffic 3003 integer</p>
<p>ATTRIBUTE Monthly-Traffic-Limit 3004 integer</p></blockquote>
<p>3.启用Traffic Counter流量计数器</p>
<blockquote><p>vim /etc/raddb/sites-enabled/default</p></blockquote>
<p>在authorize区块的末尾添加monthlytrafficcounter(上面添加的流量统计器)，像下面这样</p>
<blockquote><p>authorize {</p>
<p>&#8230;</p>
<p>monthlytrafficcounter</p>
<p>}</p></blockquote>
<p>4.往认证数据库添加CHECK ATTRIBUTE限制字段</p>
<p>在数据库的表radcheck(用户规则)里添加如下规则</p>
<blockquote><p>Max-Monthly-Traffic := 1073741824</p>
<p>// 1073741824 bytes=1 Gbyte, 填写时以byte为单位这一步建议使用Web管理界面做，也方便以后管理</p></blockquote>
<p>5.重启一下radiusd</p>
<blockquote><p>service radiusd restart</p></blockquote>
<p>一切搞定</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/freeradius2-monthly-traffic-limit.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nginx 充分利用多核CPU</title>
		<link>http://www.800l.com/nginx-mti-core-cpu-usge.html</link>
		<comments>http://www.800l.com/nginx-mti-core-cpu-usge.html#comments</comments>
		<pubDate>Sat, 02 Apr 2011 05:28:16 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=705</guid>
		<description><![CDATA[参考官方文档：http://wiki.nginx.org/CoreModule
指令：worker_cpu_affinity
有多少核就有多少位，比如以下4核cpu每个进程一个核



worker_processes     4;
worker_cpu_affinity 0001 0010 0100 1000;

2核 cpu每个核2个进程，从末尾向上数每1位代表0，1，2，3核

worker_processes     4;
worker_cpu_affinity 01 10 01 10;



]]></description>
			<content:encoded><![CDATA[<p>参考官方文档：http://wiki.nginx.org/CoreModule</p>
<p>指令：worker_cpu_affinity</p>
<p>有多少核就有多少位，比如以下4核cpu每个进程一个核</p>
<div dir="ltr">
<div>
<blockquote>
<pre>worker_processes     4;
worker_cpu_affinity 0001 0010 0100 1000;</pre>
</blockquote>
<p><span id="more-705"></span>2核 cpu每个核2个进程，从末尾向上数每1位代表0，1，2，3核</p>
<blockquote>
<pre>worker_processes     4;
worker_cpu_affinity 01 10 01 10;</pre>
</blockquote>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/nginx-mti-core-cpu-usge.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux基于密钥对验证的SSH登陆设置</title>
		<link>http://www.800l.com/linux-key-ssh-login.html</link>
		<comments>http://www.800l.com/linux-key-ssh-login.html#comments</comments>
		<pubDate>Thu, 24 Feb 2011 05:22:07 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=642</guid>
		<description><![CDATA[1.一定要使用OpenSSH来生成啊，不能贪图方便使用Putty来搞！以下认证是2048位的。
在Linux下生成密钥对，私钥自己留着，公钥丢服务器上验证，在服务器生成比较简单！
mkdir ~/.ssh
cd ~/.ssh
ssh-keygen -t rsa
屏幕提示如下
Generating public/private rsa key pair.
Enter file in which to save the key (xxx/.ssh/id_rsa):回车
Enter passphrase (empty for no  [...]]]></description>
			<content:encoded><![CDATA[<p>1.一定要使用OpenSSH来生成啊，不能贪图方便使用Putty来搞！以下认证是2048位的。</p>
<p>在Linux下生成密钥对，私钥自己留着，公钥丢服务器上验证，在服务器生成比较简单！</p>
<blockquote><p>mkdir ~/.ssh<br />
cd ~/.ssh<br />
ssh-keygen -t rsa</p></blockquote>
<p>屏幕提示如下<span id="more-642"></span></p>
<blockquote><p>Generating public/private rsa key pair.<br />
Enter file in which to save the key (xxx/.ssh/id_rsa):回车<br />
Enter passphrase (empty for no passphrase):私钥密码，建议填写，和不用登录密码无关，不填就回车<br />
Enter same passphrase again:重输一遍<br />
Your identification has been saved in xxxx/.ssh/id_rsa.<br />
Your public key has been saved in xxxx/.ssh/id_rsa.pub.<br />
The key fingerprint is:<br />
xxxxxxxxx@xxxxxxxxxxxxx.com</p></blockquote>
<p>2.让生成的公钥成为服务器验证公钥</p>
<blockquote><p>mv id_rsa.pub authorized_keys</p></blockquote>
<p>3.关掉明文验证</p>
<blockquote><p>vim /etc/ssh/sshd_config</p></blockquote>
<p>找到</p>
<blockquote><p>PasswordAuthentication yes</p></blockquote>
<p>改为</p>
<blockquote><p>PasswordAuthentication no</p></blockquote>
<p>重启SSH服务</p>
<blockquote><p>service sshd restart</p></blockquote>
<p>4.将id_rsa私钥搞到本地电脑（这个略去）<br />
5.利用putty进行格式转换</p>
<p>下载转换器，下载地址http://tartarus.org/~simon/putty-snapshots/x86/puttygen.exe；</p>
<p>打开转换器，点击“load”，加载私钥，这里可能要输入密码，就是刚才生成的私钥使用的密码；</p>
<p>修改Key comment，这个是备注，认证的时候显示在屏幕上提示你，可以为服务器名称；</p>
<p>根据需要修改Key passphrase和Confirm passphrase私钥认证密码2次确认，不要密码登录的话都留空；</p>
<p>点击Save private key生成putty格式的私钥。</p>
<p>6.加载生成的putty格式的私钥进行登录</p>
<p>好了，简单吧？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/linux-key-ssh-login.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下JDK+Tomcat+MySQL环境快速搭建</title>
		<link>http://www.800l.com/linux-javaweb-environment-quickly.html</link>
		<comments>http://www.800l.com/linux-javaweb-environment-quickly.html#comments</comments>
		<pubDate>Sun, 20 Feb 2011 16:41:50 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=573</guid>
		<description><![CDATA[去年5月自己虚拟机搞了个环境搭建教程，比较麻烦，这次来个快的（支持最新JDK7）
1.下载JDK，到java.sun.com找最新的去，获得下载链接后用wget下载
wget -O 另存为的文件名 “复制下载链接到这里”
注意双引号，要不然下html了
2.直接执行下面语句安装jdk
rpm -ivh 另存为的文件名
安装没难度，不说了
3.添加环境变量，vim /etc/profile 按shift+g，再按o

#JDK
export JAVA_HOME=/usr/java/latest
export JAVA_BIN=/usr/java/latest/bin
export  [...]]]></description>
			<content:encoded><![CDATA[<p>去年5月自己虚拟机搞了个<a href="http://www.800l.com/linux-javaweb-environment.html">环境搭建教程</a>，比较麻烦，这次来个快的（支持最新JDK7）</p>
<p>1.下载JDK，到java.sun.com找最新的去，获得下载链接后用wget下载</p>
<blockquote><p>wget -O 另存为的文件名 “复制下载链接到这里”</p></blockquote>
<p>注意双引号，要不然下html了</p>
<p><span id="more-573"></span>2.直接执行下面语句安装jdk</p>
<blockquote><p>rpm -ivh 另存为的文件名</p></blockquote>
<p>安装没难度，不说了</p>
<p>3.添加环境变量，vim /etc/profile 按shift+g，再按o</p>
<blockquote>
<pre>#JDK
export JAVA_HOME=/usr/java/latest
export JAVA_BIN=/usr/java/latest/bin
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME JAVA_BIN PATH CLASSPATH</pre>
</blockquote>
<p>保存完执行，使JDK生效</p>
<blockquote><p>
source /etc/profile
</p></blockquote>
<p>不放心的可以echo $JAVA_HOME一下</p>
<p>4.安装tomcat<br />
tomcat是绿色版的，直接tar开到你的最终目录，运行tomcat/bin目录里相关sh就干相关事。</p>
<p>5.升级JDK<br />
先下载rpm到目录，然后执行。</p>
<blockquote><p>
rpm -Uvh 另存为的文件名
</p></blockquote>
<p>最后，写这个是为了方便自己复制啊，哈哈</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/linux-javaweb-environment-quickly.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Linux iptables 常用命令(供自己复制)</title>
		<link>http://www.800l.com/linux-iptables-own.html</link>
		<comments>http://www.800l.com/linux-iptables-own.html#comments</comments>
		<pubDate>Thu, 17 Feb 2011 10:36:59 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=547</guid>
		<description><![CDATA[开启服务器端口
iptables -I INPUT -i venet0 -p tcp &#8211;dport 80 -j ACCEPT
iptables -I OUTPUT -o venet0 -p tcp &#8211;sport 80 -j ACCEPT
iptables -I INPUT -i venet0 -p tcp &#8211;dport 21 -j ACCEPT
iptables -I OUTPUT -o venet0 -p tcp &#8211;sport 21 -j ACCEPT
iptables -I INPUT -i venet0 -p tcp &#8211;dport 20 -j ACCEPT
iptables -I  [...]]]></description>
			<content:encoded><![CDATA[<p>开启服务器端口</p>
<p>iptables -I INPUT -i venet0 -p tcp &#8211;dport 80 -j ACCEPT<br />
iptables -I OUTPUT -o venet0 -p tcp &#8211;sport 80 -j ACCEPT</p>
<p>iptables -I INPUT -i venet0 -p tcp &#8211;dport 21 -j ACCEPT<br />
iptables -I OUTPUT -o venet0 -p tcp &#8211;sport 21 -j ACCEPT</p>
<p>iptables -I INPUT -i venet0 -p tcp &#8211;dport 20 -j ACCEPT<br />
iptables -I OUTPUT -o venet0 -p tcp &#8211;sport 20 -j ACCEPT</p>
<p>/etc/init.d/iptables save<br />
/etc/init.d/iptables restart</p>
<p>建立web目录</p>
<p>mkdir -p /customize/web/htdocs/www<br />
chmod +w /customize/web/htdocs/www<br />
chown -R www:www /customize/web/htdocs/www</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/linux-iptables-own.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VPS 修改时区</title>
		<link>http://www.800l.com/vps-set-timezone.html</link>
		<comments>http://www.800l.com/vps-set-timezone.html#comments</comments>
		<pubDate>Fri, 11 Feb 2011 05:21:42 +0000</pubDate>
		<dc:creator>PRC</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.800l.com/?p=540</guid>
		<description><![CDATA[# date -R
Fri, 11 Feb 2011 08:12:17 +0300
# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
cp: overwrite `/etc/localtime&#8217;? y
# date -R
Fri, 11 Feb 2011 13:16:25 +0800
]]></description>
			<content:encoded><![CDATA[<p># date -R<br />
Fri, 11 Feb 2011 08:12:17 +0300<br />
# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime<br />
cp: overwrite `/etc/localtime&#8217;? y<br />
# date -R<br />
Fri, 11 Feb 2011 13:16:25 +0800</p>
]]></content:encoded>
			<wfw:commentRss>http://www.800l.com/vps-set-timezone.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

