將之前安裝 Flash Media server 2 的資料整理一下,做個記錄免得忘記

我分別安裝在 Windows XP 及 Linux ( CentOS 4.0 及 5.0 ) 進行測試的,至於在 Windows XP 上的安裝就為容易,這裡就不再詳述,針對 Linux 下的安裝做說明:

在 CentOS 4 Linux 系統上安裝Flash Media Server 2:

1.以 root 身份登陸(安裝Flash Media Server所必需的)。

2.安裝檔案,FlashMediaServer2.tar.gz
  此安裝檔案在你的Flash Media Server 2 CD上,或者你可以下載得到。

3.複製安裝檔案到你想暫放的資料夾下(我是 /usr/local/src )

4.解壓縮安裝檔案

$ cd /usr/local/src
$ tar zxvf FlashMediaServer2.tar.gz


5.切換到安裝目錄下:

$ cd flashmediaserver2


6.使用下面的命令啟動安裝檔案:

 ./installFMS -platformWarnOnly

加上 -platformWarnOnly 參數,才能夠在 CentOS 4.0 上安裝
說明:-platformWarnOnly,忽略安裝平台,因為有些系統會安裝不了,所以這個一定要加上。

如果系統提示沒有 libstdc++.so.5 的元件庫,請安裝 compat-libstdc++-33 元件庫,可使用 yum 安裝

$ yum -y install compat-libstdc++-33


7.執行安裝程序後會有些類似於下同意條款之類的東西:
    Enter a user for Flash Media Server processes to run as. The default is the "nobody" user. (The user you select is also the owner of the  Flash Media Server files.) Your choices are written to the fms.ini file; you can edit the fms.ini file to modify this and other security properties later, if needed.
直接 ctrl+c 就可以

9.然後需要填寫一些配置,一般默認就可以,我填的是這樣的

Installation directory         = /opt/macromedia/fms            //安裝目錄

FMS Server Port                = 1935                                      //服務端口
FMS Admin Server Port          = 1111                                 //管理端口

Administrative username        = admin                              //管理員

Administrative password        = (suppressed)                   //管理員密碼

FMS owner                      = root

FMS service user               = root

FMS service user group         = root

FMS run as daemon              = Yes
Start FMS                      = Yes


  安裝完成以後,如果你設置Flash Media Server為自動啟動模式,Flash Media Server 會自動開啟。

10.手動啟動或關閉Flash Media Server 及 Flash Media Server Admin

啟動:

./fmsmgr server fms start

./fmsmgr adminserver start


停止:

./fmsmgr server fms stop

./fmsmgr adminserver stop


11.以管理員身份管理Flash Media Server服務,將 fms2_console.swf 拷貝到 Windows XP 下,然後打開 fms2_console.swf 檔案,輸入伺服器位置及帳號密碼,即可進行FMS2 Console。

以下為 fms2_console 其中的兩個畫面:
Picture 1:
點擊在新視窗中瀏覽此圖片
Picture 2:
點擊在新視窗中瀏覽此圖片
arrow
arrow
    全站熱搜

    kevin0523 發表在 痞客邦 留言(0) 人氣()