<?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>小惡魔 - 電腦技術 - 生活日記 - 美食介紹 - AppleBOY &#187; Centos</title>
	<atom:link href="http://blog.wu-boy.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wu-boy.com</link>
	<description>介紹一堆美食日記，生活日記，電腦筆記</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:04:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[VPS] 虛擬主機 Linode 720 使用心得 (一)</title>
		<link>http://blog.wu-boy.com/2009/05/21/1360/</link>
		<comments>http://blog.wu-boy.com/2009/05/21/1360/#comments</comments>
		<pubDate>Thu, 21 May 2009 05:56:43 +0000</pubDate>
		<dc:creator>appleboy</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[www]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://blog.wu-boy.com/?p=1360</guid>
		<description><![CDATA[最近正在玩 Linode 720 VPS 這個方案，整體服務感覺非常的不錯，正在測試速度跟效能，可以選擇四個地方的機房，可以參考此 連結，剛開通給我的是 Fremont, CA 機房，其實在哪個機房都是要自己去測試看看，ping 主機，或者是開 ftp 下載，http上傳下載，都要交換測試速度阿，在 Fremont, CA 那邊目前可以放 6 個 Linode 720s 服務，測試 web 的速度感覺還蠻不錯的，Linode 抓取學宿網路速度可以到達 400K/s 以上，抓取美國職棒官網 MLB TV 可以到 4MB/s 以上，學網抓 Linode 可以到 1MB/s，有圖證明：
<span class="readmore"><a href="http://blog.wu-boy.com/2009/05/21/1360/" title="[VPS] 虛擬主機 Linode 720 使用心得 (一)" target="_blank">...詳全文（共556字）</a></span>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.linode.com/images/linode_logo_gray.png" alt="Linode VPS" /><br />
最近正在玩 <a href="http://www.linode.com/">Linode 720 VPS</a> 這個方案，整體服務感覺非常的不錯，正在測試速度跟效能，可以選擇四個地方的機房，可以參考此 <a href="http://www.linode.com/avail.cfm">連結</a>，剛開通給我的是 Fremont, CA 機房，其實在哪個機房都是要自己去測試看看，ping 主機，或者是開 ftp 下載，http上傳下載，都要交換測試速度阿，在 Fremont, CA 那邊目前可以放 6 個 Linode 720s 服務，測試 web 的速度感覺還蠻不錯的，Linode 抓取學宿網路速度可以到達 400K/s 以上，抓取美國職棒官網 MLB TV 可以到 4MB/s 以上，學網抓 Linode 可以到 1MB/s，有圖證明：<br />
<a href="http://www.flickr.com/photos/appleboy/3550079119/" title="linode_wget_in (by appleboy46)"><img src="http://farm4.static.flickr.com/3325/3550079119_31ebd2247f.jpg" title="linode_wget_in (by appleboy46)" alt="linode_wget_in (by appleboy46)" width="500" height="140" /></a><br />
Linode 抓取美國檔案<br />
<a href="http://www.flickr.com/photos/appleboy/3550829452/" title="linode_01 (by appleboy46)"><img src="http://farm4.static.flickr.com/3335/3550829452_5c4a9ae1d0.jpg" title="linode_01 (by appleboy46)" alt="linode_01 (by appleboy46)" width="500" height="123" /></a><br />
Linode 抓取學網檔案<br />
<a href="http://www.flickr.com/photos/appleboy/3550023357/" title="linode_02 (by appleboy46)"><img src="http://farm4.static.flickr.com/3613/3550023357_681a4826d9.jpg" title="linode_02 (by appleboy46)" alt="linode_02 (by appleboy46)" width="500" height="55" /></a><br />
學網抓 Linode 檔案<br />
<span id="more-1360"></span><br />
買 Linode 的缺點大概就是沒有提供 FreeBSD 的作業系統阿，它提供作業系統如下<br />
<a href="http://www.flickr.com/photos/appleboy/3550163753/" title="linode_OS (by appleboy46)"><img src="http://farm4.static.flickr.com/3407/3550163753_6e27917b0a.jpg" title="linode_OS (by appleboy46)" alt="linode_OS (by appleboy46)" width="500" height="252" /></a><br />
我先選擇 CentOS 5.2 64bit 來裝 LAMP 了，搭配 php 5.2.9 升級，可以選擇硬碟空間大小，以及SWAP 大小：<br />
<a href="http://www.flickr.com/photos/appleboy/3550970186/" title="linode_Disk (by appleboy46)"><img src="http://farm4.static.flickr.com/3404/3550970186_1135b1caf0.jpg" title="linode_Disk (by appleboy46)" alt="linode_Disk (by appleboy46)" width="500" height="159" /></a><br />
設定 root password，設定好之後，就可以建立一個 VPS 出來了，再去首頁，就會看到建立好得 Profile<br />
<a href="http://www.flickr.com/photos/appleboy/3550831754/" title="linode_04 (by appleboy46)"><img src="http://farm4.static.flickr.com/3647/3550831754_2d72d7063f.jpg" title="linode_04 (by appleboy46)" alt="linode_04 (by appleboy46)" width="500" height="274" /></a><br />
基本的系統資訊，流量統計，CPU 使用率，也會提供 Mrtg，線上關機，重新開機，就像自己平常在用 VMware 或者是 Virtualbox 一樣，底下來一張各種使用統計：<br />
<a href="http://www.flickr.com/photos/appleboy/3550831886/" title="linode_CPU_IO_NET_WORK (by appleboy46)"><img src="http://farm4.static.flickr.com/3601/3550831886_94ed67ef14_o.png" title="linode_CPU_IO_NET_WORK (by appleboy46)" alt="linode_CPU_IO_NET_WORK (by appleboy46)" width="500" /></a><br />
先介紹到這裡，以後有什麼需要補充的，會在繼續寫。</p>
<h3>Related View</h3><ul class="related_post"><li><a href="http://blog.wu-boy.com/2009/12/01/1875/" title="國外 VPS 虛擬主機效能比較">國外 VPS 虛擬主機效能比較 (2)</a></li><li><a href="http://blog.wu-boy.com/2006/11/27/46/" title="[Linux] CentOS 4.4 安裝過程 NAS 2U Server">[Linux] CentOS 4.4 安裝過程 NAS 2U Server (2)</a></li><li><a href="http://blog.wu-boy.com/2006/11/23/40/" title="[CentOS 4.4] 架設 rsync 伺服器">[CentOS 4.4] 架設 rsync 伺服器 (0)</a></li><li><a href="http://blog.wu-boy.com/2010/03/16/2050/" title="[Vim] 想套用 *.php syntax 顏色於 *.ros">[Vim] 想套用 *.php syntax 顏色於 *.ros (0)</a></li><li><a href="http://blog.wu-boy.com/2010/03/11/2041/" title="[FreeBSD] DenyHosts 設定在 hosts.allow 注意事項">[FreeBSD] DenyHosts 設定在 hosts.allow 注意事項 (0)</a></li><li><a href="http://blog.wu-boy.com/2010/01/28/1978/" title="How to change run levels and init.d scripts in Ubuntu &#038; Debian">How to change run levels and init.d scripts in Ubuntu &#038; Debian (0)</a></li><li><a href="http://blog.wu-boy.com/2009/12/29/1918/" title="[Git] how to remove file and commit from history(如何移除 commit 歷史紀錄)">[Git] how to remove file and commit from history(如何移除 commit 歷史紀錄) (0)</a></li><li><a href="http://blog.wu-boy.com/2009/12/12/1901/" title="[UNIX] Vim 命令圖解說明">[UNIX] Vim 命令圖解說明 (0)</a></li><li><a href="http://blog.wu-boy.com/2009/11/15/1821/" title="[Linux] VirtuBox ssh 遠端控制，Windows 資料夾分享 [On Ubuntu]">[Linux] VirtuBox ssh 遠端控制，Windows 資料夾分享 [On Ubuntu] (0)</a></li><li><a href="http://blog.wu-boy.com/2009/09/08/1646/" title="[RHEL]Installing PHP 5.1.x 5.2.x or 5.3.x on RedHat ES5, CentOS 5">[RHEL]Installing PHP 5.1.x 5.2.x or 5.3.x on RedHat ES5, CentOS 5 (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.wu-boy.com/2009/05/21/1360/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>[Linux] CentOS 4.4 安裝過程 NAS 2U Server</title>
		<link>http://blog.wu-boy.com/2006/11/27/46/</link>
		<comments>http://blog.wu-boy.com/2006/11/27/46/#comments</comments>
		<pubDate>Sun, 26 Nov 2006 17:17:01 +0000</pubDate>
		<dc:creator>appleboy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[th.gov.tw]]></category>
		<category><![CDATA[Centos]]></category>

		<guid isPermaLink="false">http://blog.wu-boy.com/2006/11/27/46</guid>
		<description><![CDATA[新主機 2u nas server

2顆amd Opteron 2.2ghz
機架高度2u
2*1GB RAM ECC DDR400
SCSI硬碟 ULTRA320磁碟陣列卡支援RAID0，1，5，1000RPM 72GB4顆
<span class="readmore"><a href="http://blog.wu-boy.com/2006/11/27/46/" title="[Linux] CentOS 4.4 安裝過程 NAS 2U Server" target="_blank">...詳全文（共463字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>新主機 2u nas server</p>
<ul>
<li>2顆amd Opteron 2.2ghz</li>
<li>機架高度2u</li>
<li>2*1GB RAM ECC DDR400</li>
<li>SCSI硬碟 ULTRA320磁碟陣列卡支援RAID0，1，5，1000RPM 72GB4顆</li>
<li>網路卡10/100/ 1000 Mbps介面卡2個</li>
<li>主機板型號<span class="mb-model-name" style="color: #1a1a1a">GA-7A8DRH <a title="http://www.gigabyte.com.tw/Products/Networking/Products_Spec.aspx?ProductID=1063" href="http://www.gigabyte.com.tw/Products/Networking/Products_Spec.aspx?ProductID=1063">連結</a></span></li>
</ul>
<p><a title="Photo Sharing" href="http://www.flickr.com/photos/appleboy/307475431/"><img width="500" height="375" alt="主機照片" src="http://static.flickr.com/122/307475431_442e5f0226.jpg" /></a></p>
<p>上面那台，下面那台也是NAS WIN2003 SERVER</p>
<li>安裝步驟：</li>
<blockquote><p>利用光碟開機，鍵入linux dd</p></blockquote>
<p><a href="http://www.flickr.com/photos/appleboy/307475117/" title="Photo Sharing"><img src="http://static.flickr.com/113/307475117_21612aa6fd.jpg" width="500" height="375" alt="DSCF0059" /></a></p>
<p><span id="more-46"></span></p>
<blockquote><p>要先安裝scsi的driver，所以要選floppy</p></blockquote>
<p><a href="http://www.flickr.com/photos/appleboy/307475312/" title="Photo Sharing"><img src="http://static.flickr.com/106/307475312_831ed5aa3b.jpg" width="500" height="375" alt="DSCF0063" /></a></p>
<blockquote><p>選擇完成之後，按下確定重複2次</p></blockquote>
<p><a href="http://www.flickr.com/photos/appleboy/307475274/" title="Photo Sharing"><img src="http://static.flickr.com/106/307475274_7f387ad221.jpg" width="500" height="375" alt="DSCF0062" /></a></p>
<blockquote><p>然後會看到下面選驅動程式的畫面</p></blockquote>
<p><a href="http://www.flickr.com/photos/appleboy/307475346/" title="Photo Sharing"><img src="http://static.flickr.com/103/307475346_839c162e81.jpg" width="500" height="375" alt="DSCF0064" /></a></p>
<blockquote><p>然後選擇我們scsi的介面 i2o driver</p></blockquote>
<p><a href="http://www.flickr.com/photos/appleboy/307475368/" title="Photo Sharing"><img src="http://static.flickr.com/116/307475368_0d8ac975e7.jpg" width="500" height="375" alt="DSCF0065" /></a></p>
<blockquote><p>然後就會正確抓到我們的硬碟 i2o/hda</p></blockquote>
<p><a href="http://www.flickr.com/photos/appleboy/307475402/" title="Photo Sharing"><img src="http://static.flickr.com/113/307475402_939be7e21a.jpg" width="500" height="375" alt="DSCF0066" /></a></p>
<p>再來就是教學，如何把driver 燒入到floppy裡面 ，先下載windows版的linux dd</p>
<p><a href="http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm">http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm</a></p>
<p>然後下載scsi driver </p>
<p><a href="http://163.29.208.22/i2o/dpt_i20-drv_2.5.0-rh9-i686.img">http://163.29.208.22/i2o/dpt_i20-drv_2.5.0-rh9-i686.img</a></p>
<p>分割硬碟如下，切割LVM</p>
<p><a href="http://www.flickr.com/photos/appleboy/307475518/" title="Photo Sharing"><img src="http://static.flickr.com/118/307475518_0fe63906a1.jpg" width="500" height="375" alt="分割硬碟 LVM" /></a></p>
<h3>Related View</h3><ul class="related_post"><li><a href="http://blog.wu-boy.com/2009/05/21/1360/" title="[VPS] 虛擬主機 Linode 720 使用心得 (一)">[VPS] 虛擬主機 Linode 720 使用心得 (一) (9)</a></li><li><a href="http://blog.wu-boy.com/2006/11/23/40/" title="[CentOS 4.4] 架設 rsync 伺服器">[CentOS 4.4] 架設 rsync 伺服器 (0)</a></li><li><a href="http://blog.wu-boy.com/2010/03/16/2050/" title="[Vim] 想套用 *.php syntax 顏色於 *.ros">[Vim] 想套用 *.php syntax 顏色於 *.ros (0)</a></li><li><a href="http://blog.wu-boy.com/2010/03/11/2041/" title="[FreeBSD] DenyHosts 設定在 hosts.allow 注意事項">[FreeBSD] DenyHosts 設定在 hosts.allow 注意事項 (0)</a></li><li><a href="http://blog.wu-boy.com/2010/01/28/1978/" title="How to change run levels and init.d scripts in Ubuntu &#038; Debian">How to change run levels and init.d scripts in Ubuntu &#038; Debian (0)</a></li><li><a href="http://blog.wu-boy.com/2009/12/29/1918/" title="[Git] how to remove file and commit from history(如何移除 commit 歷史紀錄)">[Git] how to remove file and commit from history(如何移除 commit 歷史紀錄) (0)</a></li><li><a href="http://blog.wu-boy.com/2009/12/12/1901/" title="[UNIX] Vim 命令圖解說明">[UNIX] Vim 命令圖解說明 (0)</a></li><li><a href="http://blog.wu-boy.com/2009/11/15/1821/" title="[Linux] VirtuBox ssh 遠端控制，Windows 資料夾分享 [On Ubuntu]">[Linux] VirtuBox ssh 遠端控制，Windows 資料夾分享 [On Ubuntu] (0)</a></li><li><a href="http://blog.wu-boy.com/2009/09/08/1646/" title="[RHEL]Installing PHP 5.1.x 5.2.x or 5.3.x on RedHat ES5, CentOS 5">[RHEL]Installing PHP 5.1.x 5.2.x or 5.3.x on RedHat ES5, CentOS 5 (0)</a></li><li><a href="http://blog.wu-boy.com/2009/07/28/1441/" title="[網站] 好站連結 (四)">[網站] 好站連結 (四) (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.wu-boy.com/2006/11/27/46/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[CentOS 4.4] 架設 rsync 伺服器</title>
		<link>http://blog.wu-boy.com/2006/11/23/40/</link>
		<comments>http://blog.wu-boy.com/2006/11/23/40/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 12:23:11 +0000</pubDate>
		<dc:creator>appleboy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://blog.wu-boy.com/2006/11/23/40</guid>
		<description><![CDATA[安裝方式：

先檢查是否有安裝rsync



<span class="readmore"><a href="http://blog.wu-boy.com/2006/11/23/40/" title="[CentOS 4.4] 架設 rsync 伺服器" target="_blank">...詳全文（共885字）</a></span>]]></description>
			<content:encoded><![CDATA[<ul>
<li>安裝方式：</li>
<ul>
<li>先檢查是否有安裝rsync</li>
</ul>
<ul>
<ul>
<li>yum list installed | grep rsync</li>
<li>rsync.x86_64                             2.6.3-1                installed</li>
</ul>
</ul>
</ul>
<ul>
<li><span class="postbody"> vi /etc/xinetd.d/rsync<br />
</span></li>
</ul>
<blockquote><p><span class="postbody">service rsync</span><br />
<span class="postbody">{</span><br />
<span class="postbody">        disable = yes</span><br />
<span class="postbody">        socket_type     = stream</span><br />
<span class="postbody">        wait            = no</span><br />
<span class="postbody">        user            = root</span><br />
<span class="postbody">        server          = /usr/bin/rsync</span><br />
<span class="postbody">        server_args     = &#8211;daemon</span><br />
<span class="postbody">        log_on_failure  += USERID</span><br />
<span class="postbody">}</span></p></blockquote>
<blockquote><p><span class="postbody">disable = yes</span> 改成 <span class="postbody">disable = no</span></p></blockquote>
<blockquote><p>然後重新啟動xinetd</p></blockquote>
<blockquote><p>/etc/init.d/xinetd restart<span class="postbody" /></p></blockquote>
<ul>
<li><span class="postbody">vi /etc/rsyncd.conf</span></li>
<ul>
<li><span class="postbody">[backup]<br />
path = /backup02<br />
auth users = admin<br />
uid = root<br />
gid = root<br />
secrets file = /etc/rsyncd.secrets<br />
read only = no</span></li>
</ul>
</ul>
<p><span class="postbody"> [主機代號:自訂]<br />
path = 備份資料放置的路徑<br />
auth users = 定義援權的帳號<br />
uid = 應是執行時的uid<br />
gid = 應是執行時的gid<br />
secrets file = 認證密碼檔的位置<br />
read only = 是否唯讀</span></p>
<ul>
<li><span class="postbody"> vi /etc/rsyncd.secrets</span></li>
<li><span class="postbody">填上 admin:1234 ＃自己建立密碼 </span></li>
<li><span class="postbody"> chown root:root /etc/rsyncd.secrets<br />
chmod 600 /etc/rsyncd.secrets<br />
</span></li>
</ul>
<p><span class="postbody">設定client端：</span></p>
<ul>
<li><span class="postbody"> 自行建立rsyncd.secrets<br />
vi /etc/rsyncd.secrets</span></li>
<blockquote><p>/usr/bin/rsync -a &#8211;progress &#8211;log-format=/var/log/rsync.log &#8211;delete &#8211;password-file=/etc/rsyncd.secrets /var/www/html admin@192.168.100.244::backup</p></blockquote>
<ul>
<li>說明 ：最後面backup名稱，就是你設定conf檔的名稱<span class="postbody"> [主機代號:自訂]<br />
</span></li>
<li>&#8211;progress：顯示傳送進度</li>
<li>&#8211;delete：如果傳送端沒有此檔案的話，就刪除該檔案</li>
<li>&#8211;password-file：放置密碼檔案的地方</li>
</ul>
</ul>
<h3>Related View</h3><ul class="related_post"><li><a href="http://blog.wu-boy.com/2009/05/21/1360/" title="[VPS] 虛擬主機 Linode 720 使用心得 (一)">[VPS] 虛擬主機 Linode 720 使用心得 (一) (9)</a></li><li><a href="http://blog.wu-boy.com/2006/12/14/53/" title="[Linux] cwRsync [rsync for windows] SSH 加密異地備份">[Linux] cwRsync [rsync for windows] SSH 加密異地備份 (3)</a></li><li><a href="http://blog.wu-boy.com/2006/11/27/46/" title="[Linux] CentOS 4.4 安裝過程 NAS 2U Server">[Linux] CentOS 4.4 安裝過程 NAS 2U Server (2)</a></li><li><a href="http://blog.wu-boy.com/2010/03/16/2050/" title="[Vim] 想套用 *.php syntax 顏色於 *.ros">[Vim] 想套用 *.php syntax 顏色於 *.ros (0)</a></li><li><a href="http://blog.wu-boy.com/2010/03/11/2041/" title="[FreeBSD] DenyHosts 設定在 hosts.allow 注意事項">[FreeBSD] DenyHosts 設定在 hosts.allow 注意事項 (0)</a></li><li><a href="http://blog.wu-boy.com/2010/01/28/1978/" title="How to change run levels and init.d scripts in Ubuntu &#038; Debian">How to change run levels and init.d scripts in Ubuntu &#038; Debian (0)</a></li><li><a href="http://blog.wu-boy.com/2009/12/29/1918/" title="[Git] how to remove file and commit from history(如何移除 commit 歷史紀錄)">[Git] how to remove file and commit from history(如何移除 commit 歷史紀錄) (0)</a></li><li><a href="http://blog.wu-boy.com/2009/12/12/1901/" title="[UNIX] Vim 命令圖解說明">[UNIX] Vim 命令圖解說明 (0)</a></li><li><a href="http://blog.wu-boy.com/2009/11/15/1821/" title="[Linux] VirtuBox ssh 遠端控制，Windows 資料夾分享 [On Ubuntu]">[Linux] VirtuBox ssh 遠端控制，Windows 資料夾分享 [On Ubuntu] (0)</a></li><li><a href="http://blog.wu-boy.com/2009/09/08/1646/" title="[RHEL]Installing PHP 5.1.x 5.2.x or 5.3.x on RedHat ES5, CentOS 5">[RHEL]Installing PHP 5.1.x 5.2.x or 5.3.x on RedHat ES5, CentOS 5 (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.wu-boy.com/2006/11/23/40/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
