2010
01.07

在Ubuntu Server上安裝Flash Media Server 3.5的環境

因為我自己在用的測試機都是用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

原廠patch的網址在這

好啦,祝大家開心,看來我在今年5月前是沒有好日子過了。


相關文章:
  • PHP上傳大檔需要注意的問題
  • 快速移植Linux Server的小技巧
  • 快速備份Ubuntu系統的方法
  • 如何得知目前對外的ip位址
  • 加強 SSH 防護第二招 – 限制存取ip來源
  • 本文引用:
    文章內容由宋志峰[ANISTAR]撰寫,引用分享請以鏈結形式註明出處與原始作者。

    1 comment so far

    Add Your Comment
    1. [...] 本文引用:http://blog.riaproject.com/flash-media-server/1485.html#more-1485 [...]