
<?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>LSA Notes -- 服务器系统架构</title>
	<atom:link href="http://www.lsanotes.cn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lsanotes.cn</link>
	<description>/dev/null</description>
	<lastBuildDate>Thu, 19 Apr 2012 09:17:08 +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>用impdp把单机数据导入到RAC的错误</title>
		<link>http://www.lsanotes.cn/impdp_rac_error</link>
		<comments>http://www.lsanotes.cn/impdp_rac_error#comments</comments>
		<pubDate>Sun, 26 Feb 2012 13:21:42 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Oracle RAC]]></category>
		<category><![CDATA[RAC]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=386</guid>
		<description><![CDATA[<p>从单机上用expdp导出一个表的数据，只导的数据大小为4G，然后导入4节点的oracle11gR2 RAC,导入过程中报如下错误：</p>
<p>ORA-39171: Job is experiencing a resumable wait.<br />
ORA-30036: unable to extend segment by 8 in undo tablespace &#8216;UNDOTBS1&#8242;</p>
<p>由于急需尽快导入这个表的数据，我采取了增大UNDOTBS1表空间大小</p>
<p>alter database datafile &#8216;+DATADG/racdb/datafile/undotbs1.261.775593307&#8242; resize 20480G;</p>
<p>注意当impdp导入过程中出现以上错误时不要着急ctrl+c取消操作，只要增大undo表空间大小后，impdp会自动继续执行导入数据.</p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/impdp_rac_error/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>很久没有更新了</title>
		<link>http://www.lsanotes.cn/update</link>
		<comments>http://www.lsanotes.cn/update#comments</comments>
		<pubDate>Thu, 13 Oct 2011 12:09:08 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=373</guid>
		<description><![CDATA[<p>最近发生了太多太多的事，生死离别，工作也很忙很忙，以至于把这里都给忘记了，希望过一段时间一切都已平淡，再来煮酒论英雄！</p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>Centos5.6 64位下安装 Oracle11gR2 RAC ASM存储方式</title>
		<link>http://www.lsanotes.cn/centos5_oracle11gr2_rac</link>
		<comments>http://www.lsanotes.cn/centos5_oracle11gr2_rac#comments</comments>
		<pubDate>Tue, 26 Jul 2011 09:15:55 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Oracle RAC]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=366</guid>
		<description><![CDATA[<p>由于是测试环境设备比较简陋，存储是用openfiler模拟的，一会也把相关安装openfiler的文档传到这里（不太详细，但是大致看看，再自己摸索下应该都没问题），安装Oracle11gR2 RAC 的文档也放到这里，以前用NFS做存储实验过，这次用ASM做存储步骤还是有很多不一样的地方，RAC的测试部分还没有完善，有用本文档安装测试的可以加到后面，希望看到这些文档的兄弟们多多提意见以便把文档完善到更好</p>
<p><a href="http://www.lsanotes.cn/wp-content/uploads/2011/07/Openfiler模拟ISCSI方式的存储测试Oracle-RAC.docx">Openfiler模拟ISCSI方式的存储测试Oracle RAC</a></p>
<p><a href="http://www.lsanotes.cn/wp-content/uploads/2011/07/Centos5.6-64位下安装Oracle11gR2_RAC_ASM.pdf">Centos5.6 64位下安装Oracle11gR2_RAC_ASM</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/centos5_oracle11gr2_rac/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>Linux配置postfix+Extmail并具有防垃圾邮件防病毒功能(四)</title>
		<link>http://www.lsanotes.cn/linux_postfix_four</link>
		<comments>http://www.lsanotes.cn/linux_postfix_four#comments</comments>
		<pubDate>Mon, 09 May 2011 12:27:36 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=362</guid>
		<description><![CDATA[十一.安装Extman图形化日志
安装所需要的依赖包

apt-get install libxml2-dev
sudo apt-get install libpango1.0-dev

wget <a href="http://cpan.weepee.org/authors/id/J/JH/JHI/Time-HiRes-1.9721.tar.gz">http://cpan.weepee.org/authors/id/J/JH/JHI/Time-HiRes-1.9721.tar.gz</a>
安装Time::HiRes

tar -zxvf Time-HiRes-1.9721.tar.gz
cd Time-HiRes-1.9721
perl Makefile.PL
make
make test
make install

wget<a href="http://ftp.belnet.be/mirror/ftp.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-0.99.3.tar.gz"> http://ftp.belnet.be/mirror/ftp.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-0.99.3.tar.gz</a>
安装File::Tail

tar -zxvf File-Tail-0.99.3.tar.gz
cd File-Tail-0.99.3
perl Makefile.PL
make
make test
make install

wget <a href="http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.4.tar.gz">ht[......]</a><p class='read-more'><a href='http://www.lsanotes.cn/linux_postfix_four'>继续阅读</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/linux_postfix_four/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>Linux配置postfix+Extmail并具有防垃圾邮件防病毒功能(三)</title>
		<link>http://www.lsanotes.cn/linux_postfix_three</link>
		<comments>http://www.lsanotes.cn/linux_postfix_three#comments</comments>
		<pubDate>Mon, 04 Apr 2011 12:19:08 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=357</guid>
		<description><![CDATA[九、安装Extmail

tar -zxvf extmail-1.2.tar.gz
mkdir -p /var/www/extsuite
mv extmail-1.2 /var/www/extsuite/extmail
&#160;
cd /var/www/extsuite/extmail/
cp webmail.cf.default  webmail.cf

vim webmail.cf 根据需要修改以下几项

# sys_user_lang, user default language
 SYS_USER_LANG = en_US  #把en_US改成zh_CN
 SYS_MAILDIR_BASE = /home/domains #把/home/domains改为/usr/mailbox
 # if mysql, all relate parameters should prefix as SYS_MYSQL
 SYS_MYSQL_USER = db_user  #改为extmail
 SYS_MYSQL_PASS = db_pass   #改为extmail
 SYS_MYSQL[......]<p class='read-more'><a href='http://www.lsanotes.cn/linux_postfix_three'>继续阅读</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/linux_postfix_three/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>Cacti监控Varnish模板</title>
		<link>http://www.lsanotes.cn/cacti%e7%9b%91%e6%8e%a7varnish%e6%a8%a1%e6%9d%bf</link>
		<comments>http://www.lsanotes.cn/cacti%e7%9b%91%e6%8e%a7varnish%e6%a8%a1%e6%9d%bf#comments</comments>
		<pubDate>Fri, 25 Mar 2011 01:03:54 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Varnish]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=351</guid>
		<description><![CDATA[<p>最近在弄Varnish提高缓存命中率，想用Cacti监控一下，发现老外有一个不错的模板，附上Blog地址</p>
<p><a href="http://tag1consulting.com/blog/cacti-memcache-multi-port-templates">http://tag1consulting.com/blog/cacti-memcache-multi-port-templates</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/cacti%e7%9b%91%e6%8e%a7varnish%e6%a8%a1%e6%9d%bf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>Linux配置postfix+Extmail并具有防垃圾邮件防病毒功能(二)</title>
		<link>http://www.lsanotes.cn/linux_postfix_second</link>
		<comments>http://www.lsanotes.cn/linux_postfix_second#comments</comments>
		<pubDate>Mon, 03 Jan 2011 09:56:39 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=346</guid>
		<description><![CDATA[八、安装postfix
1.添加用户和组

groupadd postfix
useradd -g postfix postfix
groupadd postdrop
useradd -g postdrop postdrop

2.安装并配置:

tar -zxvf postfix-2.7.2-RC2.tar.gz
cd postfix-2.7.2-RC2
make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/sasl2/include/sasl -I/usr/local/BerkeleyDB/include  -DUSE_TLS -I/usr/local/ssl/include/openssl ' 'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/usr/local/sasl2/lib -lsasl2 -L/usr/local/Berke[......]<p class='read-more'><a href='http://www.lsanotes.cn/linux_postfix_second'>继续阅读</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/linux_postfix_second/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>Linux配置postfix+Extmail并具有防垃圾邮件防病毒功能(一)</title>
		<link>http://www.lsanotes.cn/linux_postfix_first</link>
		<comments>http://www.lsanotes.cn/linux_postfix_first#comments</comments>
		<pubDate>Sun, 12 Dec 2010 03:15:45 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Extmail]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=337</guid>
		<description><![CDATA[本文所用的软件均为2010年最新版本，所有我用到的软件打包在此:
wget  <a href="http://www.lsanotes.cn/linux/postfix_soft.tar.gz ">http://www.lsanotes.cn/linux/postfix_soft.tar.gz</a>
关于postfix和Extmail的介绍请大家自行google相关文章进行了解，这里不再做介绍，开始安装：
一．安装openssl

tar -zxvf openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
./config  shared  zlib
make
make test
make install

替换原来的库文件

mv /usr/bin/openssl /usr/bin/openssl.bak
mv /usr/include/openssl /usr/include/openssl.bak
rm -rf /usr/lib/libssl.so
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
ln -s /us[......]<p class='read-more'><a href='http://www.lsanotes.cn/linux_postfix_first'>继续阅读</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/linux_postfix_first/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>用shell脚本分析Nginx访问日志IP地址来源</title>
		<link>http://www.lsanotes.cn/bash_nginx</link>
		<comments>http://www.lsanotes.cn/bash_nginx#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:39:50 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Scripts收藏]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=328</guid>
		<description><![CDATA[该日志分析脚本以Ubuntu server 10.04为基础，由于Nginx没有自带切割日志功能，用以下脚本把Nginx生成的日志每天零点做一次切割，目录按年/月分，例如10月份31天的都放在2010/10/下面.
切割脚本：

#!/bin/bash
 PATH_LOGS=&#34;/usr/local/nginx/logs&#34;
 YEAR=`date -d &#34;-1 days&#34; +&#34;%Y&#34;`
 MONTH=`date -d &#34;-1 days&#34; +&#34;%m&#34;`
 mkdir -p $PATH_LOGS/$YEAR/$MONTH
 mv $PATH_LOGS/access.log $PATH_LOGS/$YEAR/$MONTH/access_$&#40;date -d &#34;-1 days&#34; +&#34;%Y%m%d&#34;&#41;.log
 kill -USR1 `cat $PATH_LOGS/nginx.pid`

分析IP地址来源的脚本，以ip168网站为基础的:

#![......]<p class='read-more'><a href='http://www.lsanotes.cn/bash_nginx'>继续阅读</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/bash_nginx/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
<enclosure url="" length="" type="" />
		</item>
		<item>
		<title>用Lighttpd做图片服务器</title>
		<link>http://www.lsanotes.cn/install_lighttpd</link>
		<comments>http://www.lsanotes.cn/install_lighttpd#comments</comments>
		<pubDate>Sun, 03 Oct 2010 05:04:23 +0000</pubDate>
		<dc:creator>zhangll</dc:creator>
				<category><![CDATA[Lighttpd]]></category>

		<guid isPermaLink="false">http://www.lsanotes.cn/?p=322</guid>
		<description><![CDATA[一．安装lighttpd所需的库文件
1.安装 pcre
wget<a href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.gz"> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.gz</a>

tar -zxvf pcre-8.10.tar.gz
cd pcre-8.10
./configure
make
make install

2.安装zlib
wget<a href="http://zlib.net/zlib-1.2.5.tar.gz"> http://zlib.net/zlib-1.2.5.tar.gz</a>

tar -zxvf zlib-1.2.5.tar.gz
cd zlib-1.2.5
./configure
make
make install

3.安装bzip2
wget<a href="http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz"> http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz</a>

cd bzip2-1.0.5
make
make install

二.安装lighttpd
1.下载lighttpd
wget<a href="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.28.tar.gz"> http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.28.tar.gz[......]</a><p class='read-more'><a href='http://www.lsanotes.cn/install_lighttpd'>继续阅读</a></p>]]></description>
		<wfw:commentRss>http://www.lsanotes.cn/install_lighttpd/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
	</channel>
</rss>

