[Return]
Flash Communication Server MX
インストール(TurboLinux)
Flash Communication Server MX 1.5 からサポートされた、Linux へのインストール方法の紹介です。
この内容は、TurboLinux Server 7 および TurboLinux 10 Desktop に対して行なっています。
これはメーカーでは保証していない内容ですので、これを参考にされる場合は自己責任でお願いします。
Flash Communication Server MX 1.5 Linux 版は、コンパイル済みのソフトのみ収録されています。
ソースファイルの配付は行われていません。
# tar xvfz FlashCom¥ 1_5¥ Installer.tar.gz
tar.gz ファイルを展開すると、以下のファイルが現れます。
# cd FCS_1_5_r119_linux/ # ls adminserver* fcs* flashcom_help/ samples/ uninstallFCS* applications/ fcsconfig* installFCS* scriptlib/ conf/ fcserver* license.txt* server* fcadmin* fcsmgr* modules/ tcSrvMsg
インストーラーは、「installFCS」です。
# ./installFCS
./installFCS: [: -eq: unary operator expected
ERROR: Your distribution, unknown, is not supported by this
Macromedia Flash Communication Server MX installer.
インストーラーを TurboLinux 上で実行すると、「このディストリビューションはサポートしていない」というメッセージが表示されます。
RedHat 以外ではインストール出来ないのでしょうか?
いいえ、他のディストリビューションにもインストール出来る仕組みが標準で用意されています。
# ./installFCS --help Usage: installFCS [OPTION]... -platformWarnOnly warn if running installer on invalid platform -usage display this help and exit
オプションの中の「-platformWarnOnly」を付けて実行すると、ワーニングは表示されますが、インストーラーは実行されるようになります。
# ./installFCS -platformWarnOnly
WARNING: Your distribution, unknown, is not supported by this
Macromedia Flash Communication Server MX installer.
Copyright(C) 2003 Macromedia, Inc. All rights reserved.
Macromedia Flash Communication Server MX 1.5 for
Macromedia Flash Communication Server MX 1.5 will be installed on this machine.
You will be asked a series of questions during the install
process and will be presented with the defaults for these questions.
Support is available at http://www.macromedia.com/support/flashcom
To install Macromedia Flash Communication Server MX now, press ENTER.
To cancel the installation at any time, press Control-C.
MACROMEDIA SOFTWARE END USER LICENSE AGREEMENT
ここから長い長いライセンス同意書が表示されます。
そのまま掲載すると眠くなると思いますので(笑)、ここでは略します。
Macromedia Software End User License Agreement (06/04/02) Do you agree with the license agreement? (y/n): y ./installFCS: break: only meaningful in a `for', `while', or `until' loop
ライセンス同意書に同意出来るか方は、y を選んで下さい。
n を選んだ方は、ここで終了です。
Enter the license number for the Macromedia Flash Communication Server MX 1.5 or press ENTER to proceed without one. Use the Administration Console to enter one later. License:
まず最初にライセンス番号を入力します。ライセンス番号は、FlashCom 1.5 の物のみ受け付けます。1.0 のライセンス番号を持っている方は、アップグレード手続きを行ない、1.5 用のライセンス番号を入手する必要があります。
Macromedia Flash Communication Server MX 1.5 requires approximately 25MB of disk space.
いよいよインストール開始です。
インストールするディスクには、25MB 以上の空き容量が必要だそうです。
The installer will install Macromedia Flash Communication Server MX 1.5 in the following directory Default [/opt/macromedia/fcs]: /usr/local/flashcom
インストール先はデフォルトでは「/opt/macromedia/fcs」になっていますが、TurboLinux にはこの場所はありませんので、自分の好きな所にインストールして下さい。ディレクトリが存在しない場合は、自動的に作られます。
Do you want to install the sample applications and documentation? (y/n) Default [y]: You have chosen to install the Macromedia Flash Communication Server MX sample applications. If you have a web server and want the sample applications available, the sample applications must be placed where the web server can serve them. Please enter the web server publishing directory you want the sample applications installed to Default [/usr/local/flashcom]:
HTML 版ドキュメントやサンプルアプリケーションをインストール先を指定します。
同じサーバーに Web サーバーがある場合はそちらの方に置いても良いです。
The Macromedia Flash Communication Server MX communicates on the IANA-assigned port of 1935, which is the port most Flash applications expect. Please enter the Macromedia Flash Communication Server MX port Default [1935]: Please enter the port to use for the Admin service. You can only specify one admin port. Default [1111]:
サーバーが使用するポート番号の指定です。
特殊なことをしない限りは、上の設定のままで良いです
The administrative username and password you provide here is required to use the Macromedia Flash Communication Server MX Administration Console for administration, monitoring, and debugging. Please enter the administrative username: admin Please enter the administrative password: Confirm password:
ここでは Flash Communication Server の管理ツールへのアクセスアカウントを設定します。
管理用ポートをインターネットに公開する場合は、この設定は慎重に行なって下さい。
上では、仮に「admin」という管理者で設定している例です。
When the Macromedia Flash Communication Server MX service is run, the service can be run as a user other than "root". The server would change to this user when the server is started and has acquired its ports. Please enter the user that the Macromedia Flash Communication Server MX service will run as Default user [nobody]: Please enter a valid user group for the "nobody" user: nobody
Linux 版では UNIX の流儀に従って、サーバーを動かすユーザーの権限を設定出来ます。
ここにはセキュリティーの関係上、root 以外のユーザーを割り当てます。
デフォルトでは httpd サーバーなどのように、nobody になっています。
この内容は、アプリケーションから作成される、sor ファイルや flv ファイル等のパーミッションに影響します。
Do you want the Macromedia Flash Communication Server MX service to run as a daemon? (y/n) Default [y]: Do you want to start the Macromedia Flash Communication Server MX after the installation is done? (y/n) Default [y]:
インストールが終わった時に、サーバーを起動するかどうかの質問です。
ここはデフォルトのままで問題無いと思います。
ここまででインストールの設定は終了です。
----------- Install Action Summary ----------- Installation directory = /usr/local/flashcom Sample applications directory = /usr/local/flashcom FC Server Port = 1935 FC Admin Server Port = 1111 Administrative username = admin Administrative password = (suppressed) FCS owner = nobody FCS service user = nobody FCS service user group = nobody FCS run as daemon = Yes Start FCS = Yes Proceed with the installation? (y/n/q): y
これまでの設定内容の確認です。
間違っていなければ、y を選んで下さい。
y を選ぶと、いよいよインストールの開始です。
Installing Macromedia Flash Communication Server MX files... Installing Macromedia Flash Communication Server MX sample applications... Configuring Macromedia Flash Communication Server MX... Adding "fcs" service. Setting default admin to "fcs". Setting autostart for "fcs". Server:fcs command:start Starting Macromedia Flash Communication Server: Admin server:fcadmin command:start Starting Macromedia Flash Communication Admin Server: The Macromedia Flash Communication Server MX installation is complete.
インストールが終了しました。
インストール終了後にサーバーを起動する設定にした場合は、ここからサーバーが動き出します。
# Server starting... Listener started ( admin ) : 1111 Server started (). Macromedia Flash Communication Server Copyright (c) 1993-2003 Macromedia, Inc. All rights reserved. Server starting... Listener started ( _defaultRoot_ ) : 1935 Server started (/usr/local/flashcom/conf/Server.xml). #
サーバーが無事起動したら、これで Flash Communucation Server が利用可能になります。
TurboLinux でも、起動スクリプトのファイル「fcs」が /etc/rc.d/init.d に適切にインストールされます。
このため、サーバー起動時に Flash Communication Server のサービスが自動的に起動するようになります。
起動スクリプトでは、以下の制御が可能です。
| サーバーの起動 | # /etc/rc.d/init.d/fcs start |
| サーバーの終了 | # /etc/rc.d/init.d/fcs stop |
| サーバーの再起動 | # /etc/rc.d/init.d/fcs restart |
なお、デフォルトの起動スクリプトでは turboservice コマンドには対応していません。
この内容は Personal 版のものですが、Developer 版や Professional 版でも同様です。
この情報は、Ryu!の独自調査などに基づいたものです。
間違い等がありましたら、ご連絡ください。
[Return]
Love Love Heart
Ryu!
Second Life
Adobe Flash
Flash Player
Flash Lite
Flex
AIR
Flash Remoting
Flash Communication Server
Computer
Macintosh
TurboLinux
CUBE CL-10000
X68000

