01.07
因為我自己在用的測試機都是用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
*NOTE
If you’re going to let the Flash Media Server installer install Apache at the same time you’ll need to run a few other commands.
Make sure you have the libexpat library installed:
sudo apt-get install libexpat1
Then create a link to it so that when FMS starts up Apache it will find the library:
ln -s /usr/lib/libexpat.so.1 /usr/lib/libexpat.so.0
Now download Flash Media Server 3, unzip the file and copy FlashMediaServer3.tar.gz over to your Ubuntu box. Don’t untar the .tar.gz file on windows and copy the files over to linux – this way file permissions will be wrong and the patch won’t work. Then
tar xfz FlashMediaServer3.tar.gz
cd FMS_3_5_0_r405
wget http://www.joeterranova.net/code/fms-3.5-ubuntu.patch
patch -p1 < fms-3.5-ubuntu.patch
sudo ./installFMS
You can later uninstall the server:
cd /opt/adobe/fms
sudo ./uninstallFMS
好啦,祝大家開心,看來我在今年5月前是沒有好日子過了。
相關文章:
文章內容由宋志峰[ANISTAR]撰寫,引用分享請以鏈結形式註明出處與原始作者。


老師不好意思又來打擾您了。
可以請教老師該如何使instance一直存在嗎?FMS只有兩個instance比較重要,
因為最近這幾天FMS一直有怪現象出來,也許是程式的問題,但是還在解決中…
目前有時後會錄不到音檔,所以為了保險起見希望能夠暫時保持服務一直存在。
怪現象:
我在切換view application 與 Manager Servers的時候就跳出以下訊息。
Login attempt to the server below failed.
Please verify login information and try again.
不曉得跟無法錄音有無相關..
先感謝老師了..^^
你可以從設定中修改application和instance的gc time,再搭配ssas定期去連instance就可以永久連線了
老師好,先感謝老師您的回應。
我的環境是server 2003, FMS3.0, 程式是使用Flash AS2.0
關於第三點我比較想多了解一些,因為我是承接別人的案子,
那些是原本就有在Run的案子,但是最近有的時候錄的到,有時候錄不到(我什麼也沒做)…
所以我就很納悶到底是伺服器的問題還是FMS的問題..還是可能會是頻寬的問題之類的..
那個instance我觀察了一下,似乎是有使用者使用服務時會跳出來,停止服務一段時間後,
它又消失了..我能夠設定它一直存在嗎?
感謝老師的回覆,謝謝您。
我不建議你設定一直存在(雖然你可以這麼做), 但是存在就是佔住資源,你應該在沒人用時將資源釋放出來給其他的instance使用才對.
老師請問一下..
我要怎樣才能知道我的Flash Media Server3.0有在正常運作?
我是使用Flash錄音.flv 檔 至 FMS裡頭,但是有的時候錄的到,
有的時候又沒辦法錄不到..因為我是先寫一個測試的錄音程式,
若是有錄成功才會進入下一個階段,分別是寫入不同的Application Server 之中。
這樣有可能會是伺服器的問題嗎? 還是程式的問題機會比較大呢?
我在Administrator console 的 Manager Servers 的 Application分頁中,
裡面有我設定的服務器。
那在Administrator console 的 View Application 中需要將我的 服務器 New Instance出來嗎?
先感謝老師。
你是安裝在Ubuntu上嗎?
1.安裝完他會提供測試用的網頁,裡面有測試檔與原始碼,你可以先從那邊確認你的server有正確啟用.
2.因為沒看到你的程式碼與環境,實在是難以隔空抓藥,請多見諒.
3.如果沒有建立新的instance他會用預設的,在初期學習階段是沒關係的.
[...] 本文引用:http://blog.riaproject.com/flash-media-server/1485.html#more-1485 [...]