Siapkan file berikut ini :
add-apt-repository ppa:sun-java-community-team/sun-java6
apt-get update
apt-get upgrade
apt-get install locate
updatedb
Installed required packages one by one:
apt-get install subversion
apt-get install java-package
apt-get install sun-java6-jdk
apt-get install ant
Untuk mengetahui versi java ketik perintah berikut ini
java -version
Downloaded Red5 versi yang terakhir:
Sebelumnya buat volder dengan nama svn/red5, dan masuk kedirektori tersebut lalu donwnload red5.
mkdir -p ~/svn/red5
cd ~/svn/red5
svn co http://red5.googlecode.com/svn/java/server/trunk red5
Lalu Build Red5 dengan Ant:
export JAVA_HOME=/usr/lib/jvm/java-6-sun/
export ANT_HOME=/usr/share/ant/
cd ~/svn/red5/red5
/usr/share/ant/bin/ant
Tunggu sampai proses selesai ....
Installed Red5:
mkdir /usr/share/red5
cp -R dist/* /usr/share/red5/
cd /usr/share/red5
chmod 755 red5.sh
chmod 755 red5-shutdown.sh
Mulai menjalankan Red5:
./red5.sh > start.log &
Verified opened ports:
netstat -ant
To install a new rtmp application you need to:
cara lain untuk menginstal red5 order red5 installation .
add-apt-repository ppa:sun-java-community-team/sun-java6
apt-get update
apt-get upgrade
apt-get install locate
updatedb
Installed required packages one by one:
apt-get install subversion
apt-get install java-package
apt-get install sun-java6-jdk
apt-get install ant
Untuk mengetahui versi java ketik perintah berikut ini
java -version
Downloaded Red5 versi yang terakhir:
Sebelumnya buat volder dengan nama svn/red5, dan masuk kedirektori tersebut lalu donwnload red5.
mkdir -p ~/svn/red5
cd ~/svn/red5
svn co http://red5.googlecode.com/svn/java/server/trunk red5
Lalu Build Red5 dengan Ant:
export JAVA_HOME=/usr/lib/jvm/java-6-sun/
export ANT_HOME=/usr/share/ant/
cd ~/svn/red5/red5
/usr/share/ant/bin/ant
Tunggu sampai proses selesai ....
Installed Red5:
mkdir /usr/share/red5
cp -R dist/* /usr/share/red5/
cd /usr/share/red5
chmod 755 red5.sh
chmod 755 red5-shutdown.sh
Mulai menjalankan Red5:
./red5.sh > start.log &
Verified opened ports:
netstat -ant
To install a new rtmp application you need to:
- Copy application to /usr/share/red5/webapps (i.e. /usr/share/red5/webapps/videowhisper as explained on VideoWhisper RTMP Applications)
- Shutdown red5
cd /usr/share/red5
./red5-shutdown.sh - Restart red5
./red5.sh > restart.log & - lalu buka halaman http://localhost:5080/
jika jadi muncul halaman seperti ini :
cara lain untuk menginstal red5 order red5 installation .
EmoticonEmoticon