Red5: Instalasi dari SVN Server
Sumber: http://sujianto.wordpress.com/2012/06/24/install-red5-streaming-server-di-ubuntu-12-04/
Install library paket yang dibutuhkan red5
sudo apt-get update sudo apt-get update && apt-get install sun-java6-jdk sudo apt-get install openjdk-7-jdk ant subversion sudo update-alternatives --config java
Pastikan server mempunyai sambungan ke Internet yang baik, karena kita akan melakukan banyak download source code.
Download source code red5 melalui subversion
cd /usr/local/src svn co http://red5.googlecode.com/svn/java/server/tags/1_0rc2/ red5
Pindahkan paket red5 & lakukan instalasi
sudo su - mv red5 /usr/share/ cd /usr/share/red5/ ant prepare ant dist
Akan keluar pada layar
Buildfile: /usr/share/red5/build.xml prepare: [mkdir] Created dir: /usr/share/red5/bin [mkdir] Created dir: /usr/share/red5/dist [mkdir] Created dir: /usr/share/red5/log [mkdir] Created dir: /usr/share/red5/dist/log [mkdir] Created dir: /usr/share/red5/bin/testcases/classes [mkdir] Created dir: /usr/share/red5/bin/testcases/testreports BUILD SUCCESSFUL Total time: 1 second root@stream:/usr/share/red5# ant dist Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-i386/lib/tools.jar Buildfile: /usr/share/red5/build.xml
...dst ..
dist: [copy] Copying 1 file to /usr/share/red5/dist
BUILD SUCCESSFUL Total time: 6 seconds
—info jika sukses instalasi—
Pindahkan File Konfigurasi
#cp -r dist/conf .
Instalasi Red5 selesai, selanjutnya jalankan red5 dengan perintah
#./red5.sh
Sebelumnya kita rubah dulu Permission File
#sudo chmod a+x red5.sh
Jika instalasi sukses akan ada info ini
[INFO] [Launcher:/installer] org.red5.server.service.Installer – Installer service created
Kita tes melalui browser kesayangan anda
Akses Red5 IP anda ://<IP ADDRESS>:5080//
Nah bagaimana kita menggunakan Red5 Media Server ini, kita akan lanjutkan untuk live streaming
kita akan lanjutkan ke post berikutnya ya.. di tunggu aja…
Test Server
Instalasi Aplikasi Red5 yang ada di
http://localhost:5080/installer/
Demo Aplikasi Red5 Melalui
http://localhost:5080/demos/
Referensi
- http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/
- http://sandeepghael.com/2009/07/getting-red-5-up-and-running-on-ubuntu-9-04/
- http://tumbledesign.com/how-to-install-red5-0-9-on-ubuntu-10-04-lts/
- http://trac.red5.org/wiki/Install
- http://sujianto.wordpress.com/2012/06/24/install-red5-streaming-server-di-ubuntu-12-04/