<?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://blog.shian.tw/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.shian.tw</link>
	<description>學習筆記 For php、jQuery、MySql、Centos、Suse、Server、CodeIgniter</description>
	<lastBuildDate>Sun, 09 Oct 2011 16:00:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://blog.shian.tw/?pushpress=hub'/>
		<item>
		<title>Apache install mod_fastcgi &amp; php-fpm</title>
		<link>http://blog.shian.tw/apache-install-mod_fastcgi-php-fpm.html</link>
		<comments>http://blog.shian.tw/apache-install-mod_fastcgi-php-fpm.html#comments</comments>
		<pubDate>Wed, 29 Jun 2011 04:39:07 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=809</guid>
		<description><![CDATA[本篇將實作安裝 mod_fastcgi 和 php-fpm 於 Apache 。 準備 http://www.fastcgi.com/dist/ 安裝 httpd-devel ?View Code BASH1 yum install httpd.x86_64 httpd-devel.x86_64 安裝 php-fpm ?View Code BASH1 yum install php-fpm.x86_64 安裝 mod_fastcgi ?View Code BASH1 2 3 4 5 tar -zxvf mod_fastcgi-2.4.6.tar.gz cd mod_fastcgi-2.4.6/ &#8230; <a href="http://blog.shian.tw/apache-install-mod_fastcgi-php-fpm.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/apache-install-mod_fastcgi-php-fpm.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos install dropbox</title>
		<link>http://blog.shian.tw/centos-install-dropbox.html</link>
		<comments>http://blog.shian.tw/centos-install-dropbox.html#comments</comments>
		<pubDate>Sun, 06 Feb 2011 16:00:38 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dropbox]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=786</guid>
		<description><![CDATA[Dropbox是一套簡單好用的免費雲端儲存服務，該服務有提供網頁版、windows、linux版的存取功能，現在就來安裝linux版的Dropbox吧，以便之後可以利用Dropbox來做異地備份。 Dropbox ?View Code BASH1 2 wget http://www.getdropbox.com/download?plat=lnx.x86 tar -xvf dropbox-lnx.x86-1.0.20.tar.gz python2.6 ?View Code BASH1 2 3 rpm -ihv http://download.fedora.redhat.com/pub/epel/5/$&#40;uname -m&#41;/epel-release-5-4.noarch.rpm rpm -ihv http://centos.alt.ru/repository/centos/5/$&#40;uname -m&#41;/centalt-release-5-3.noarch.rpm yum -y install python26.i386 python26-devel.i386 dropbox for python2.6 ?View Code BASH1 2 3 4 wget &#8230; <a href="http://blog.shian.tw/centos-install-dropbox.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/centos-install-dropbox.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Nginx Virtual Host</title>
		<link>http://blog.shian.tw/nginx-virtual-host.html</link>
		<comments>http://blog.shian.tw/nginx-virtual-host.html#comments</comments>
		<pubDate>Sun, 31 Oct 2010 16:00:40 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=714</guid>
		<description><![CDATA[在之前介紹安裝Nginx後，接下來我們會需要用到多個的Virtual host，本篇將介紹HTML、Wordpress、Codeigniter 這三種 Virtual host 的設定範例。 修改設定檔 ?View Code BASH1 vim /etc/nginx/conf.d/virtual.conf HTML ?View Code BASH1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 server &#123; listen 80; server_name xxx.xxx.xxx; &#160; location / &#123; &#8230; <a href="http://blog.shian.tw/nginx-virtual-host.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/nginx-virtual-host.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS install nginx and php-fpm</title>
		<link>http://blog.shian.tw/centos-install-nginx-and-php-fpm.html</link>
		<comments>http://blog.shian.tw/centos-install-nginx-and-php-fpm.html#comments</comments>
		<pubDate>Sun, 24 Oct 2010 16:00:10 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=707</guid>
		<description><![CDATA[本篇將實作在CentOS下使用YUM方式安裝nginx和php-fpm 增加 yum 站點 ?View Code BASH1 2 rpm -ihv http://download.fedora.redhat.com/pub/epel/5/$&#40;uname -m&#41;/epel-release-5-4.noarch.rpm rpm -ihv http://centos.alt.ru/repository/centos/5/$&#40;uname -m&#41;/centalt-release-5-3.noarch.rpm 安裝 nginx &#038; php-fpm ?View Code BASH1 yum install nginx php-fpm 設定開機啟動 ?View Code BASH1 2 chkconfig php-fpm on chkconfig nginx on 修改 nginx &#8230; <a href="http://blog.shian.tw/centos-install-nginx-and-php-fpm.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/centos-install-nginx-and-php-fpm.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apache Fastcgi</title>
		<link>http://blog.shian.tw/apache-fastcgi.html</link>
		<comments>http://blog.shian.tw/apache-fastcgi.html#comments</comments>
		<pubDate>Sun, 22 Aug 2010 22:00:04 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fastcgi]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=631</guid>
		<description><![CDATA[本篇將實作 Apache 載入Fastcgi 模組跑php 準備 下載：http://www.fastcgi.com/drupal/ 安裝 ?View Code BASH1 yum install libtool httpd-devel apr-devel apr ?View Code BASH1 2 3 4 5 tar -zxvf mod_fastcgi-2.4.6.tar.gz cd mod_fastcgi-2.4.6/ cp Makefile.AP2 Makefile make top_dir=/usr/lib64/httpd make install top_dir=/usr/lib64/httpd 查看log ?View Code BASH1 &#8230; <a href="http://blog.shian.tw/apache-fastcgi.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/apache-fastcgi.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gluster</title>
		<link>http://blog.shian.tw/gluster.html</link>
		<comments>http://blog.shian.tw/gluster.html#comments</comments>
		<pubDate>Sun, 06 Jun 2010 16:00:27 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gluster]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=593</guid>
		<description><![CDATA[GlusterFS 是集群分散式檔案系統，安裝簡單、設置容易、透過設定檔方式可以相當的靈活運用它。以下將實作 GlusterFS 架設類似於nfs，透過一台server分享檔案至各個client端。 準備 fuse glusterfs 安裝 fuse ?View Code BASH1 yum -y install fuse glusterfs ?View Code BASH1 2 3 4 5 tar -xvf glusterfs-3.0.4.tar.gz cd glusterfs-3.0.4 ./configure make make install 查看安裝後 glusterfs 資訊 ?View Code BASH1 glusterfs &#8230; <a href="http://blog.shian.tw/gluster.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/gluster.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>haproxy &#8211; subdomains designated server</title>
		<link>http://blog.shian.tw/haproxy-subdomains-designated-server.html</link>
		<comments>http://blog.shian.tw/haproxy-subdomains-designated-server.html#comments</comments>
		<pubDate>Sun, 30 May 2010 16:00:44 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[haproxy]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=514</guid>
		<description><![CDATA[之前介紹過haproxy可以當作load balance，當現在有個需求是在某子網域的website還不需要做load balance，必須將連至該website的連線都導去指定的server上，本篇將實作透過haproxy acl的方式來完成此需求。 設定檔 ?View Code TEXT1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 &#8230; <a href="http://blog.shian.tw/haproxy-subdomains-designated-server.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/haproxy-subdomains-designated-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>haproxy</title>
		<link>http://blog.shian.tw/haproxy.html</link>
		<comments>http://blog.shian.tw/haproxy.html#comments</comments>
		<pubDate>Sun, 23 May 2010 16:00:04 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[haproxy]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=497</guid>
		<description><![CDATA[HAProxy 是一套快速以及靈活的load balance套件，透過haproxy可以快速達到server分流、判斷存活、連線數量等功能。當流量達到一定的程度後load balance是一大重點，如何讓各server平均去負擔流量是相當重要的，透過haproxy可以簡單快速的達成load balance。 準備 haproxy-1.3.15.7 架構 安裝 ?View Code BASH1 2 3 4 tar -xvf haproxy-1.3.15.7.tar.gz cd haproxy-1.3.15.7 make TARGET=linux26 cp haproxy /usr/local/sbin/ 設定檔 /etc/haproxy.conf ?View Code TEXT1 2 3 4 5 6 7 8 9 10 11 &#8230; <a href="http://blog.shian.tw/haproxy.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/haproxy.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>memcached</title>
		<link>http://blog.shian.tw/memcached.html</link>
		<comments>http://blog.shian.tw/memcached.html#comments</comments>
		<pubDate>Sun, 02 May 2010 16:00:32 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[memcached]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=442</guid>
		<description><![CDATA[memcached 是一套高效能 分散式的快取系統，memcached 是利用記憶體來儲存快取資料，可以利用memcached 減少資料庫負載增加讀取速度，因為將資料儲存於記憶體中了，下次就會直接從 memcached 輸出，不用再透過資料庫再做一次查詢動作，這個對於網站中需要撈取資料庫資料，但又不需要每次都撈一次相當好用。 準備 memcached memcache 安裝 memcached ?View Code BASH1 2 3 ./configure --prefix=/usr/local make make install memcache ?View Code BASHphpize ./configure make make install 將memcache.so複製到 extension_dir 裡，並修改php.ini ?View Code BASH1 2 3 4 Installing &#8230; <a href="http://blog.shian.tw/memcached.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/memcached.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Function registration failed &#8211; duplicate name</title>
		<link>http://blog.shian.tw/duplicate-name.html</link>
		<comments>http://blog.shian.tw/duplicate-name.html#comments</comments>
		<pubDate>Sun, 21 Dec 2008 22:00:03 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=241</guid>
		<description><![CDATA[最近剛好有遇到 Function registration failed &#8211; duplicate name 這個問題，爬了Google很多文章後得知，造成有這Warning訊息的原因似乎是因為重覆裝載了模組的關係。 警告訊息 # /srv/www/cgi-bin/php -v PHP Warning: Function registration failed - duplicate name - session_name in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_module_name in Unknown on &#8230; <a href="http://blog.shian.tw/duplicate-name.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/duplicate-name.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>利用shell抓出mail log 的 said: 550</title>
		<link>http://blog.shian.tw/shell-said-550.html</link>
		<comments>http://blog.shian.tw/shell-said-550.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 12:59:35 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/%e5%88%a9%e7%94%a8shell%e6%8a%93%e5%87%bamail-log-%e7%9a%84-said-550.html</guid>
		<description><![CDATA[正好需要分析一下mail 的log檔，要抓取出550類的狀態mail出來，所以直接利用shell script來做，可以很快的分析log並抓取mail狀態為550出來。 ?View Code BASH1 2 3 4 #!/bin/bash file=&#34;/var/log/mail&#34; tmp=&#34;./edm_tmp.txt&#34; cat $file &#124; grep 'said: 550' &#124; awk '{print $7}' &#124; sed 's/to=,//gp' &#124; uniq &#62; $tmp 參考資料 Shell 設計入門 相關文章Linode Facilities Speedtest (0)Apache install mod_fastcgi &#038; php-fpm &#8230; <a href="http://blog.shian.tw/shell-said-550.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/shell-said-550.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eAccelerator</title>
		<link>http://blog.shian.tw/eaccelerator.html</link>
		<comments>http://blog.shian.tw/eaccelerator.html#comments</comments>
		<pubDate>Mon, 27 Oct 2008 08:25:23 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=185</guid>
		<description><![CDATA[eAccelerator 是可以加速php的執行速度，網路上可以找到很多相關文章，本篇只記錄安裝eAccelerator的過程，安裝環境為 centos5 手動編譯的apache2和php5 準備: 至 http://eaccelerator.net/ 下載新版的 eAccelerator 安裝 step1: 編譯 extensions ?View Code BASH1 2 3 ./configure --with-php-config=/usr/local/php/bin/php-config make make install step2: 複製編譯好後的eaccelerator.so到php extensions目錄下 ?View Code BASH1 cp /usr/local/php/lib/php/extensions/debug-non-zts-20060613/eaccelerator.so /usr/local/php/lib/php/extensions/ step3: 修改php.ini ?View Code BASH1 2 3 4 &#8230; <a href="http://blog.shian.tw/eaccelerator.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/eaccelerator.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>APT for SUSE</title>
		<link>http://blog.shian.tw/apt-for-suse.html</link>
		<comments>http://blog.shian.tw/apt-for-suse.html#comments</comments>
		<pubDate>Fri, 17 Oct 2008 11:08:46 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=180</guid>
		<description><![CDATA[suse本身就有yast2好用的管理系統可以使用，不過想在suse上使用apt的話也是可以，只需要安裝二個套件可以在suse上使用apt了，相當簡單 取得套件 下載 apt套件 安裝apt套件 # rpm apt-*.rpm apt指令 apt-get update : 更新套件清單，在第一次使用apt時最好先更新一次，確保套件是新的 apt-get dist-update : 升級系統 apt-cache search : 搜尋套件，apt-cache search 套件名稱 apt-cache depends : 列出套件相依性，apt-cache depands 套件名稱 apt-get install : 安裝套件，apt-get install 套件名稱 apt-get clean : 清除暫存套件，當使用apt安裝套件時，apt會先下載套件下來安裝，所以可以使用這指令清空apt下載暫存套件 apt-get &#8230; <a href="http://blog.shian.tw/apt-for-suse.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/apt-for-suse.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>利用bandwidthd偵測各ip流量</title>
		<link>http://blog.shian.tw/bandwidthd.html</link>
		<comments>http://blog.shian.tw/bandwidthd.html#comments</comments>
		<pubDate>Mon, 11 Aug 2008 06:17:15 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=56</guid>
		<description><![CDATA[bandwidthd是一套相當簡單但是卻相當好用的ip流量偵測套件，只要設定好要偵測的網段後，bandwidthd會自動去偵測區段裡每個ip的流量，而且也可以很清楚知道每個ip從哪個port進出的流量，並且可以選擇日、週、月、年的區間流量圖來觀看。 準備: 至 bandwidthd 下載套件 安裝: 1. 解壓縮 # tar -zxvf bandwidthd-2.0.1 2.安裝 bandwidthd # cd bandwidthd-2.0.1 # ./configure # make # make install 3.目錄: 預設安裝目錄:    /usr/local/bandwidthd/ 設定檔: /usr/local/bandwidthd/etc/bandwidthd.conf 網頁目錄: /usr/local/bandwidthd/htdocs/ 設定: 1.設定偵測區段ip流量 # vi /usr/local/bandwidthd/etc/bandwidthd.conf 修改 subnet 為你的區網ip mask &#8230; <a href="http://blog.shian.tw/bandwidthd.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/bandwidthd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iftop 即時監看主機連線狀態</title>
		<link>http://blog.shian.tw/iftop.html</link>
		<comments>http://blog.shian.tw/iftop.html#comments</comments>
		<pubDate>Mon, 16 Jun 2008 08:00:00 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=31</guid>
		<description><![CDATA[iftop是一套即時監控主機網路連線狀態,透過iftop可以很快清楚知道誰連到這台主機,之前也是用這套抓出來自中國大陸的機器人,並且安裝即使用也相當的簡單 準備: 到 iftop 官網下載此套件 安裝: 1. 解壓縮 iftop 並進入該目錄 # tar -zxvf iftop.tar.gz # cd iftop 2. 使用tarball安裝 # ./configure # make # make install 使用: # iftop -i eth0 參數說明: -i: 監控網路卡介面 -B: 以bytes為單位 -n: 以IP顯示不用DNS反解 -N: 只顯示port不顯示服務名稱 &#8230; <a href="http://blog.shian.tw/iftop.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/iftop.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[教學] Postgrey</title>
		<link>http://blog.shian.tw/postgrey.html</link>
		<comments>http://blog.shian.tw/postgrey.html#comments</comments>
		<pubDate>Mon, 05 May 2008 03:36:03 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Postgrey]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=52</guid>
		<description><![CDATA[postgrey是一套擋廣告信的軟體,當有信寄到該主機時,會先騙寄信的主機稍後再寄一次,正常的主機都會等候一段時間重送,若是發廣告信的軟體,為了效率通常不會有重送機制 1.安裝相關套件 Net-Server-0.97 IO-Multiplex-1.09 BerkeleyDB-0.34(perl) # perl Makefile.PL # make # make install 2. 安裝Berkeley DB Berkeley DB(db-4.4.20) # cd build_unix/ # ../dist/configure # make # make install 3.安裝Postgrey # tar -zxvf postgrey-1.27.tar.gz # cd postgrey-1.27 將postgery執行檔放置/usr/local/sbin # cp postgrey &#8230; <a href="http://blog.shian.tw/postgrey.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/postgrey.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>pop-before-smtp</title>
		<link>http://blog.shian.tw/pop-before-smtp.html</link>
		<comments>http://blog.shian.tw/pop-before-smtp.html#comments</comments>
		<pubDate>Mon, 05 May 2008 03:35:35 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=51</guid>
		<description><![CDATA[pop-before-smtp 是用pop認證來代替smtp認證帳號,只要寄信之前先收信後就可以寄信,這時候smtp認證就是使用之前的pop認證 準備: 1. perl modules Time::HiRes File::Tail Net::Netmask Date::Parse DB_File 可至 http://search.cpan.org/ 下載安裝 2.pop-before-smtp-1.42.tar.gz 可至 https://sourceforge.net/project/showfiles.php?group_id=5017 下載安裝 安裝: 1. 安裝所需的 perl modules # perl Makefile.PL # make # make install 註: 這是針對perl modules 安裝的方法 2. 設定 pop-before-smtp 解壓縮： # &#8230; <a href="http://blog.shian.tw/pop-before-smtp.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/pop-before-smtp.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vm-pop3d</title>
		<link>http://blog.shian.tw/vm-pop3d.html</link>
		<comments>http://blog.shian.tw/vm-pop3d.html#comments</comments>
		<pubDate>Mon, 05 May 2008 03:34:53 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[vm-pop3d]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=50</guid>
		<description><![CDATA[vm-pop3d 可以收取postfix上虛擬帳號的mail至收信軟體裡 1.安裝 vm-pop3d # tar -zxvf vm-pop3d-1.1.7f-T7.tar.gz # cd vm-pop3d-1.1.7f-T7.tar.gz # ./configure # make # male install 2.將vm-pop3d 加入 chkconfig # mv vm-pop3d.init /etc/rc.d/init.d/vm-pop3d # chkconfig &#8211;add vm-pop3d # chkconfig vm-pop3d on # vi /etc/rc.d/init.d/vm-pop3d 將 start) echo -n &#8230; <a href="http://blog.shian.tw/vm-pop3d.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/vm-pop3d.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix 多重網域+虛擬帳號</title>
		<link>http://blog.shian.tw/postfix-virtual.html</link>
		<comments>http://blog.shian.tw/postfix-virtual.html#comments</comments>
		<pubDate>Mon, 05 May 2008 03:33:12 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=49</guid>
		<description><![CDATA[利用postfix達成多重網域+虛擬帳號的設定 準備: 主要的郵件主機網址 : msa.shian.tw 新增的郵件主機虛擬網域 : mail.shian.tw 註:每個domainname必須要設 MX 設定: 1.修改 postfix main.cf # vi /etc/postfix/main.cf 修改 default_privs = nobody 新增 virtual_alias_maps virtual_alias_maps = hash:/etc/postfix/virtual 2.定義虛擬使用者的對應表 /etc/postfix/virtual # vi /etc/postfix/virtual 新增 mail.shian.tw   anything taco@mail.shian.tw taco.mail.shian.tw 註: #網域 名稱 #taco&#60;-新增的帳號 &#8230; <a href="http://blog.shian.tw/postfix-virtual.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/postfix-virtual.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tarball Apache2 &amp; PHP5</title>
		<link>http://blog.shian.tw/tarball-apache2-php5.html</link>
		<comments>http://blog.shian.tw/tarball-apache2-php5.html#comments</comments>
		<pubDate>Tue, 01 Jan 2008 06:00:22 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=46</guid>
		<description><![CDATA[安裝apach和php有很多方法,像是利用rpm檔來裝,或是使用yum安裝,本篇介紹使用tarball 方式來安裝apache和php, 使用tarball安裝的方式比較麻煩一點,建議初學者可以使用yum的方式安裝 Apache 安裝 安裝： ./configure &#8211;prefix=/usr/local/apache &#8211;enable-so &#8211;enable-ssl &#8211;enable-rewrite make make install 註: &#8211;prefix=/usr/local/apache/ : 安裝apache的位置 &#8211;enable-so : 啟用模組 &#8211;enable-ssl : 啟用ssl &#8211;enable-rewrite : 啟用rewrite PHP 安裝 安裝： ./configure &#8211;prefix=/usr/local/php/ &#8211;with-apxs2=/usr/local/apache/bin/apxs &#8211;with-mysql=/usr/local/mysql/ &#8211;with-gd &#8211;with-jpeg-dir=/usr/lib &#8211;with-zlib-dir=/usr/lib &#8211;with-libxml-dir=/usr/lib &#8211;enable-ftp &#8211;enable-socket &#8230; <a href="http://blog.shian.tw/tarball-apache2-php5.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/tarball-apache2-php5.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 安裝 rtorrent</title>
		<link>http://blog.shian.tw/linux_rtorrent.html</link>
		<comments>http://blog.shian.tw/linux_rtorrent.html#comments</comments>
		<pubDate>Sat, 22 Sep 2007 22:11:10 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rtorrent]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=42</guid>
		<description><![CDATA[在Linux 上跑bt 有很多軟體可以跑, 像是azureus 或是用 wine + bt 軟體都是可以運作,用過許多在Linux上bt軟體,還是推薦 rtorrent , 可以用ssh 文字介面就可以操作了也相當省資源 , 只是安裝比較麻煩一點,本篇介紹如何安裝rotrrent 並運作。 準備:需要準備下列的檔案自己編譯它 1.curl 2.sigc++-2.0 3.libtorrent 4.rtorrent * 或是下載筆者所打包的檔案 點我下載 安裝: a.安裝 curl # tar -zxvf curlxxxxxxx # cd /curlxxx # ./configure &#8211;prefix=/usr # make # &#8230; <a href="http://blog.shian.tw/linux_rtorrent.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/linux_rtorrent.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>suse 架設 zeus + php + mysql</title>
		<link>http://blog.shian.tw/suse-install-zeus-php-mysql.html</link>
		<comments>http://blog.shian.tw/suse-install-zeus-php-mysql.html#comments</comments>
		<pubDate>Fri, 14 Sep 2007 08:00:00 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=41</guid>
		<description><![CDATA[本篇介紹在SUSE裡架設 zeus + php4.4.4 + mysql 1.安裝 mysql 到官網抓取 下面六個檔 MySQL-client-standard-4.1.22-0.sles9.i586.rpm MySQL-devel-standard-4.1.22-0.sles9.i586.rpm MySQL-server-standard-4.1.22-0.sles9.i586.rpm MySQL-shared-compat-4.1.22-0.sles9.i586.rpm MySQL-shared-standard-4.1.22-0.sles9.i586.rpm MySQL-test-standard-4.1.22-0.sles9.i586.rpm 用rpm -ivh 安裝這6個rpm檔 , 注意:第一個安裝最好為 MySQL-server-standard-4.1.22-0.sles9.i586.rpm,不然會出現相依性問題! 2.安裝 zeus (注意 如果有裝apache 必須停掉) a. ./zinstall b. 詢問是否接受該說明文件的內容 輸入accept c. Where should the product be installed? [/usr/local/zeus]: &#8230; <a href="http://blog.shian.tw/suse-install-zeus-php-mysql.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/suse-install-zeus-php-mysql.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PHP如何手動編譯自己所需的extensions檔案</title>
		<link>http://blog.shian.tw/php_extensions.html</link>
		<comments>http://blog.shian.tw/php_extensions.html#comments</comments>
		<pubDate>Wed, 12 Sep 2007 18:53:14 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=39</guid>
		<description><![CDATA[當PHP是自己編譯php於Linux上後,之後如果我們必須用到某個extensions時,則必須自己手動去編譯它,例如像是 mbstring.so , gd.so 之類的 extensions, 本篇在介紹如何手動編譯自己所需的extensions檔案 準備: 1. 當從官網抓下所需的php壓縮檔後並解開,裡面會有個ext的資料夾,裡面有很多目錄代表不同的extensions 2. 修改 /etc/php.ini , 讓php去載入我需要的extensions # vi /etc/php.ini extension_dir = "/usr/lib/php/extensions" &#60;&#8211;說明我存放的extensions位置 [extension section] extension=mbstring.so &#60;&#8211;我要載入的 extensions 檢查: 可以執行 /srv/www/cgi-bin/php -v 來看看 extensions 載入是否有錯 , 如果有下面這錯誤訊息, 表示/usr/lib/php/extension/ 裡沒有該 mbstring.so 的 &#8230; <a href="http://blog.shian.tw/php_extensions.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/php_extensions.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>使用vmware 架設 ipcop</title>
		<link>http://blog.shian.tw/vmware-ipcop.html</link>
		<comments>http://blog.shian.tw/vmware-ipcop.html#comments</comments>
		<pubDate>Sat, 25 Aug 2007 23:47:37 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ipcop]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=26</guid>
		<description><![CDATA[家裡原本是用一台P2 450 的古董電腦架IPCOP當防火牆,最近發現那台古董電腦開始有問題的樣子,忽然想到&#8230;或許可以用 vmware 這套軟體來模擬新的環境,所以就動手試看看了 準備: 1. 實體電腦1台 + 2片網路卡 2. vmware + ipcop 軟體 步驟: 1. 先在實體電腦灌好作業系統, 我是灌winxp 當作業系統 2. 安裝好 vmware 軟體 說明: 在此不講解如何安裝vmware, 因為在網路上已經有相當多的資料了 3. 對 vmware  做設定 a.增加在實體電腦上的2片網路卡在 vmware裡, 如圖所示,我增加了2片網路卡在 VMnet2 和 VMnet3 上 b.在vmware 裡 &#8230; <a href="http://blog.shian.tw/vmware-ipcop.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/vmware-ipcop.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yum 介紹使用</title>
		<link>http://blog.shian.tw/yum.html</link>
		<comments>http://blog.shian.tw/yum.html#comments</comments>
		<pubDate>Fri, 10 Aug 2007 19:49:42 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=35</guid>
		<description><![CDATA[Yum 是一套相當好用以及方便的套件管理,針對Linux上套件的安裝移除更新,可以相當簡單的使用,並可以解決安裝套件時會出現相依性問題 安裝: Yum在安裝好CentOS後即安裝好,所以並不需要另外安裝 可以使用 rpm -qa &#124; grep yum 檢查是否有安裝 使用: 因為Yum預設伺服器是在國外,要更新或安裝心套件都會連到國外的伺服器,所以我們要先更改一些設定,把伺服器設定為國內各大學的機器上 1.先備份 CentOS-Base.repo 這一隻檔案 #cp /etc/yum.repos.d/CentOS-Base.repo  /etc/yum.repos.d/CentOS-Base.repo.bak 2.修改 CentOS-Base.repo #vi /etc/yum.repos.d/CentOS-Base.repo 3.修改地方 下面這4個裡面內容需要修改 [base][update][addons][extras] 4.修改內容 [base] 1.將mirrorlist 那段前面加上 # 註解起來(預設的國外伺服器) #mirrorlist=xxxxxxxxxxxxxxxxxxx 2.將baseurl,gpgkey 修改成下面這樣 baseurl=http://ftp.cse.yzu.edu.tw/pub/CentOS/$releasever/os/$basearch/ gpgkey=http://ftp.cse.yzu.edu.tw/pub/CentOS/RPM-GPG-KEY-centos4 [update] 1.將mirrorlist 那段前面加上 &#8230; <a href="http://blog.shian.tw/yum.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/yum.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 掛載 NTFS格式硬碟</title>
		<link>http://blog.shian.tw/linux-ntfs.html</link>
		<comments>http://blog.shian.tw/linux-ntfs.html#comments</comments>
		<pubDate>Sun, 29 Jul 2007 00:53:44 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=33</guid>
		<description><![CDATA[Linux 掛載 NTFS格式硬碟 準備: 掛載NTFS必須安裝二個套件&#8230; 1. FUSE 2. ntfs-3g 安裝: 1.安裝fuse 下載下來的檔案可能是tar壓縮的檔案,則必須先tar解壓縮 解壓縮後進入該fuse目錄 執行下列指令 ./configure make make install 2.安裝 ntfs-3g 下載下來的檔案可能是tar壓縮的檔案,則必須先tar解壓縮 解壓縮後進入該ntfs-3g目錄 執行下列指令 ./configure make make install 安裝好之後 可以下 make clean  清除暫存檔 使用方法: *必須使用root身份執行 # modprobe fuse &#60;&#8211;執行該命令 掛載fuse 掛載ntfs: &#8230; <a href="http://blog.shian.tw/linux-ntfs.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/linux-ntfs.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh 登入防護</title>
		<link>http://blog.shian.tw/ssh.html</link>
		<comments>http://blog.shian.tw/ssh.html#comments</comments>
		<pubDate>Sat, 28 Jul 2007 02:55:12 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=32</guid>
		<description><![CDATA[說明: 1.限制 root 不可使用ssh : 因為開放root就等於開放大門給有心人來試 root的密碼,如果猜對的話! 你的主機就變成對方的工具了!! 2.限制使用SU指令: 限制登入的使用者使用SU這指令,可以防止使用者用SU 變成root 3.設定某帳號才能使用ssh: 可以做控管,開放了哪些帳號可以用ssh登入主機 方法: 1. 編輯sshd_config檔 vi/etc/ssh/sshd_config 設定限制root不能使用ssh 將PermitRootLogin "YES" 改成　PermitRootLogin "NO" 存檔離開 2. 編輯su vi /etc/pam.d/su ＃auth required /lib/security/$ISA/pam_whelle.so use_uid 將前面的"#"刪除　存檔離開 設定只有wheel群組的成員才能使用su命令 usermod -G 10 帳號 3. 編輯sshd_config vi/etc/ssh/sshd_config &#8230; <a href="http://blog.shian.tw/ssh.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/ssh.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

