<?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>Anistar RIA Blog &#187; Linux服務設定</title>
	<atom:link href="http://blog.riaproject.com/tag/linux-setting/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.riaproject.com</link>
	<description>Rich Internet Application 知識誌</description>
	<lastBuildDate>Wed, 21 Dec 2011 05:43:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Unix / Mac / Linux 下直接用scp傳送檔案</title>
		<link>http://blog.riaproject.com/server-setting/1644.html</link>
		<comments>http://blog.riaproject.com/server-setting/1644.html#comments</comments>
		<pubDate>Wed, 15 Dec 2010 02:34:36 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[伺服器架設]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1644</guid>
		<description><![CDATA[在PC下很多人會用winscp來進行傳檔的任務， 但是若是到了Unix / Mac / Linux下， 而你又剛好只有指令介面可以用那該怎麼辦呢？ 答案當然是直接使用scp指令來完成囉！ 用法如下： scp /本機路徑/本機檔案 遠端帳號@遠端主機:/遠端路徑/ scp 遠端帳號@遠端主機:/遠端路徑/遠端檔案 /本地路徑/ 只要遵守這個規則做就可以了，這邊我們舉個例子來示範一下。 例如：將Mac桌面上的sqlite3db.sqlite檔案傳到company.com的暫存目錄下 scp /Users/test/Desktop/sqlite3db.sqlite ACCOUNT@company.com:/home/anistar/temp/ 若是你跟我一樣SSH的port不喜歡用預設的22，只要加上 -P 就可以指定port了。 scp -P 123 /Users/test/Desktop/sqlite3db.sqlite ACCOUNT@company.com:/home/anistar/temp/ 指令規則參考如下： scp [-1246BCEpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 &#160; [選項說明] -l：限制傳輸頻寬(Kbit/s)。 -P：指定port，預設是22 port。 -c：cipher -F：ssh_config -i：identity_file [...]]]></description>
		<wfw:commentRss>http://blog.riaproject.com/server-setting/1644.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu / Linux 網卡固定ip設定</title>
		<link>http://blog.riaproject.com/server-setting/1626.html</link>
		<comments>http://blog.riaproject.com/server-setting/1626.html#comments</comments>
		<pubDate>Tue, 14 Dec 2010 07:07:33 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[伺服器架設]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1626</guid>
		<description><![CDATA[剛好最近在做網路的重新規劃， 乾脆把還沒寫完的Linux設定給順便補齊。 一般裝完Linux後網卡預設是設定為DHCP的狀態， 若是要把這台機器當作server來用， 設成固定ip可以說是第一件要做的事情。 首先先找到網卡的設定檔(用vi或nano打開)： /etc/network/interfaces 找到當初命名的網卡，本來應該是這樣的設定： #auto eth0 #iface eth0 inet dhcp 找到後改成自己想要的設定: auto eth0 iface eth0 inet static #改成static address 192.168.1.1 #你想要設定的ip address netmask 255.255.255.0 #網路遮罩 network 192.168.1.0　　 #可不寫 broadcast 192.168.1.255 #可不寫 設定完後記得儲存， 並重新啟動服務就可以了 /etc/init.d/network restart 好了，這樣就大功告成了。 下次來補充說明DHCP Server的設定。]]></description>
		<wfw:commentRss>http://blog.riaproject.com/server-setting/1626.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP上傳大檔需要注意的問題</title>
		<link>http://blog.riaproject.com/php-mysql/1488.html</link>
		<comments>http://blog.riaproject.com/php-mysql/1488.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 08:51:52 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[PHP/Mysql]]></category>
		<category><![CDATA[Flash Media Server]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Setting]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1488</guid>
		<description><![CDATA[PHP上傳大型檔案就必須要去注意檔案大小處理的問題了， 尤其是HD影音檔動則大到50MB， 今天剛好幫客戶處理影音的上傳與轉檔問題， 想到這應該會是很多初學者會遇到的問題， 所以順手發一篇關於檔案處理的內容提醒上來， 希望有人遇到問題的時候可以找到這個答案。 當PHP在處理上傳時，會參考php.ini中的設定， 老實說其預設值並沒有一個基準值， 例如我linux server上的設定是10MB， 而PC上的預設值是2MB， 反正超過其設定值就是通通都不准通過就是了， 若要調整上傳檔案的大小， 記得要調整php.ini的兩個地方， 一定要兩個設定都設好才會ok， 例如下方的設定： upload_max_filesize = 32M post_max_size = 32M 這樣一來就能限制檔案最大可上傳為32MB， 好了，祝各位好運囉。]]></description>
		<wfw:commentRss>http://blog.riaproject.com/php-mysql/1488.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>在Ubuntu Server上安裝Flash Media Server 3.5的環境</title>
		<link>http://blog.riaproject.com/flash-media-server/1485.html</link>
		<comments>http://blog.riaproject.com/flash-media-server/1485.html#comments</comments>
		<pubDate>Thu, 07 Jan 2010 02:26:18 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[FlashMediaServer]]></category>
		<category><![CDATA[Flash Media Server]]></category>
		<category><![CDATA[Linux服務設定]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1485</guid>
		<description><![CDATA[因為我自己在用的測試機都是用Ubuntu Server， 但是好死不死Flash Media Server給Linux用的版本只有給RedHat， 因此我花了一些時間發現有人分享了如何將Flash Media Sever架在Ubuntu Server上， 這個方法我驗證過可行， 而且還挺簡單的， 因此跟大家分享讓大家少走點冤枉路，其方法如下： I wrote a short tidbit on how to install FMS 2 and 3 on Ubuntu.. I may as well continue the pattern. FMS3.5 I picked up the patch file here: http://www.joeterranova.net/2009/01/30/flash-media-server-35-on-ubuntu/ So to layout the process: # install dependencies sudo apt-get install libnspr4-dev [...]]]></description>
		<wfw:commentRss>http://blog.riaproject.com/flash-media-server/1485.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>快速移植Linux Server的小技巧</title>
		<link>http://blog.riaproject.com/server-setting/1310.html</link>
		<comments>http://blog.riaproject.com/server-setting/1310.html#comments</comments>
		<pubDate>Thu, 30 Jul 2009 04:17:30 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[伺服器架設]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1310</guid>
		<description><![CDATA[每次要將Server從一台移植到另一台，
總是逃不了備份和重灌這個手續，
在Linux中要備份實在是太容易了，
上次在[快速備份Ubuntu系統的方法]中就已經說明過，
該如何進行備份跟還原了。

那麼重灌之前所安裝過的程式或套件，
該如何進行比較快呢？
你可以跟著下面的程序來進行：]]></description>
		<wfw:commentRss>http://blog.riaproject.com/server-setting/1310.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>快速備份Ubuntu系統的方法</title>
		<link>http://blog.riaproject.com/server-setting/1305.html</link>
		<comments>http://blog.riaproject.com/server-setting/1305.html#comments</comments>
		<pubDate>Mon, 27 Jul 2009 04:11:42 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[伺服器架設]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1305</guid>
		<description><![CDATA[Server最怕資料毀損或是不小心玩掛了怎嚜辦，
所以我特別向Google大神請教一下有沒有什麼好辦法可以快速的進行備份，
後來發現了兩個好方法，
由於別人已經寫的很完整了，
我就直接整理在下面，
詳細內容可以參考原作者網站：]]></description>
		<wfw:commentRss>http://blog.riaproject.com/server-setting/1305.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>如何得知目前對外的ip位址</title>
		<link>http://blog.riaproject.com/tips/1248.html</link>
		<comments>http://blog.riaproject.com/tips/1248.html#comments</comments>
		<pubDate>Wed, 22 Jul 2009 02:28:12 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows服務設定]]></category>
		<category><![CDATA[軟體小技巧]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1248</guid>
		<description><![CDATA[這應該算是非常基本用常會遇到與用到的問題，
如果只要取的區網內的ip位置，
你只需要這樣做就好：

   1. Windows： ipconfig
   2. Linux： ifconfig


但是如果你想知道由Rounter出去的ip，
我提供兩個網址給大家參考，
這樣大家只要點及網站就行了，

連不會用電腦的人都會用：]]></description>
		<wfw:commentRss>http://blog.riaproject.com/tips/1248.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>加強 SSH 防護第二招 &#8211; 限制存取ip來源</title>
		<link>http://blog.riaproject.com/server-setting/1245.html</link>
		<comments>http://blog.riaproject.com/server-setting/1245.html#comments</comments>
		<pubDate>Sun, 19 Jul 2009 02:08:00 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[伺服器架設]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1245</guid>
		<description><![CDATA[上次示範了如何更改SSH的port號， 至少先擋掉了了一些會來try 22 port的人， 但是這還是有風險啊！！！ 因為你怎麼知道不會有人拿掃port工具來掃你全部的port， 所以今天來敎大家第二招，簡單的用hosts系列的檔案來限制存取的ip。 如果你跟我擔心的是一樣的，你可以跟我這樣做： 在 /etc/ 下有兩個檔案， 分別是 hosts.allow 和 hosts.deny ， 代表可以存取與拒絕的對象， 假設我們要允許區網可以遠端控制， 而其他來源不可以使用，可以這樣設。 1. 打開 /etc/hosts.allow 檔案輸入以下內容： sshd:192.168.1. :allow 這樣代表192.168.1.*所有的ip都是可以被接受的， 若是要多組ip可以用","隔開，例如： sshd:192.168.1.1, 192.168.1.2 :allow 2. 打開 /etc/hosts.deny 檔案輸入以下內容： sshd:all :deny 設定好後重新啟動服務( /etc/init.d/ssh restart )這樣就可以了，恭喜&#8230;大功告成。 p.s.： 這是一個比較簡單的作法，如果還要在更加嚴密，最好是外加防火牆或是使用金鑰來加強。 hosts的設定不只針對ssh服務而已，也可以自行加入想要鎖定的服務內容。 此作法在Ubuntu9上有經過測試。]]></description>
		<wfw:commentRss>http://blog.riaproject.com/server-setting/1245.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>為了安全改掉 Ubuntu 9 上的 SSH port 吧</title>
		<link>http://blog.riaproject.com/server-setting/1241.html</link>
		<comments>http://blog.riaproject.com/server-setting/1241.html#comments</comments>
		<pubDate>Fri, 17 Jul 2009 12:56:18 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[伺服器架設]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1241</guid>
		<description><![CDATA[遠端控制真是個雙面刃 ，有了遠端控制當然好處是方便，
但是難免又會疑神疑鬼是否又有人沒事來強姦你的Server，
用密碼計算器來算你的Server，所以啦，
當Linux裝好的第一件事情當然是先啟動SSH服務，
而第二件事情就是改掉SSH的設定值  *苦笑*]]></description>
		<wfw:commentRss>http://blog.riaproject.com/server-setting/1241.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>利用apt指令讓Ubuntu定期自動更新</title>
		<link>http://blog.riaproject.com/server-setting/1212.html</link>
		<comments>http://blog.riaproject.com/server-setting/1212.html#comments</comments>
		<pubDate>Fri, 10 Jul 2009 02:04:03 +0000</pubDate>
		<dc:creator>anistar</dc:creator>
				<category><![CDATA[伺服器架設]]></category>
		<category><![CDATA[Linux服務設定]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.riaproject.com/?p=1212</guid>
		<description><![CDATA[要能每天自動更新Ubuntu但是又不想自己來嗎？ 剛好在上課的學生中有一個是使用Linux的高手， 他跟我說用apt-get update就能完成了， 聽完當然是龍心大悅(明明是心裡暗自偷笑可以偷懶了)， 既然可以偷懶，就大家一起偷懶吧，你可以用以下的方法來完成定期每日更新： 1. 先在cron.daily下建立一個新的文件，既然是要更新的就叫他為upgrade吧： sudo nano /etc/cron.daily/upgrade 2. 將4行指令加入upgrade文件中： #!/bin/sh apt-get update apt-get -y dist-upgrade apt-get clean 3. 不修改權限是不會動的啦，所以要先改成775 (權限開755就夠了)： sudo chmod 755 /etc/cron.daily/upgrade 4. 如果害怕寫錯的話，先偷偷執行一下，沒有錯誤訊息就是ok啦： sudo /etc/cron.daily/upgrade 5. 最後記得重新啟動crond就大功告成啦(重新開機也行啦 XD)： $ sudo /etc/init.d/cron restart 這樣Ubuntu就會每天定時 upgrade了，真是懶到最高點！ 有更新有保佑的啦～ Ubuntu 8,9版皆測試可以使用&#8230; 另外若是要了解apt指令的使用方法，這個網站寫的還蠻簡單易懂的，我也是看這學來的： http://ftp.cse.yzu.edu.tw/pub/Mirror/Linux/apt.nc.hcc.edu.tw/web/apt/apt.html 後記: 官方說用aptitdue比apt-get好，所以可以用aptitdue取代。]]></description>
		<wfw:commentRss>http://blog.riaproject.com/server-setting/1212.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

