CentOS に red5 をインストールする †準備 †1) ant のインストール †$ sudo yum -y install ant 2) Java をインストールする †http://java.sun.com/javase/ja/6/download.html からファイルをダウンロードする $ cd /usr/local/src $ wget -O jdk-6u16-linux-i586-rpm.bin http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u16-linux-i586-rpm.bin?BundledLineItemUUID=Jp9IBe.lbaEAAAEjve8lKFXP&OrderID=1AlIBe.lXa8AAAEjsO8lKFXP&ProductID=Dx1IBe.prBgAAAEirRcTvuC_&FileName=/jdk-6u16-linux-i586-rpm.bin 権限をつける †$ chmod 744 jdk-6u16-linux-i586-rpm.bin 実行する †$ sudo ./jdk-6u16-linux-i586-rpm.bin …略 For inquiries please contact: Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. Do you agree to the above license terms? [yes or no] yes 3) Java のパスを通す †$ cd $HOME $ vim .bash_profile JAVA_HOME=/usr/java/jdk1.6.0_16 PATH=$PATH:$HOME/bin:$JAVA_HOME/bin export JAVA_HOME PATH $ source ~/.bash_profile 4) 確認する †$ java -version java version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK Client VM (build 1.6.0-b09, mixed mode) red5 のインストール †URL : http://osflash.org/red5 1) インストールする †http://osflash.org/red5/070final からファイルをダウンロードする。 $ cd 任意のフォルダ $ mkdir red5 $ cd red5 $ wget http://www.red5.org/downloads/0_8/red5-0.8.0.tar.gz $ $ tar zxvf red5-0.8.0.tar.gz 権限をつける †$ chmod +x red5.sh $ chmod +x red5-shutdown.sh $ chmod +x red5-debug.sh 設定を確認する †よくわかってないけど、設定ファイル(conf/red5.properties)を見ると、以下のように設定されている。
ポートが空いていない場合はあける †あけたポートは、以下の 2つ
動かしてみる †実行する †$ ./red5.sh 確認する †デモ †http://localhost:5080/installer/ からインストールできる。 Comment †
Counter: 12983,
today: 1,
yesterday: 1
|