Difference between revisions of "Red5: Instalasi dari Repository"

From OnnoWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
Instalasi Aplikasi untuk testing
 
Instalasi Aplikasi untuk testing
  
  wget http://trac.red5.org/downloads/0_9/red5-0.9.1.tar.gz
+
  cd /usr/local/src
tar xvzf red5-*.tar.gz
+
svn co http://red5.googlecode.com/svn/java/server/trunk red5
  cd red5-*
+
  cd /usr/local/src/red5/
 
  cp -R webapps/root/demos /var/lib/red5/webapps/root/demos
 
  cp -R webapps/root/demos /var/lib/red5/webapps/root/demos
 
  cp -R webapps/installer /var/lib/red5/webapps/installer
 
  cp -R webapps/installer /var/lib/red5/webapps/installer
 
  find /var/lib/red5/webapps/ -type d -exec chown _red5 {} \;
 
  find /var/lib/red5/webapps/ -type d -exec chown _red5 {} \;
cd ..
 
rm -rf red5-*
 
 
 
Atau versi 1.0 RC1
 
 
wget http://trac.red5.org/downloads/1_0/red5-1.0.0-RC1.tar.gz
 
tar xvzf red5-*.tar.gz
 
cd red5-*
 
cp -R webapps/root/demos /var/lib/red5/webapps/root/demos
 
cp -R webapps/installer /var/lib/red5/webapps/installer
 
find /var/lib/red5/webapps/ -type d -exec chown _red5 {} \;
 
cd ..
 
rm -rf red5-*
 
  
 
==Test Aplikasi==
 
==Test Aplikasi==

Revision as of 08:01, 26 August 2011

Instalasi

Instalasi menggunakan perintah

sudo apt-get install subversion java-package sun-java6-jdk ant htop wget screen telnet
sudo apt-get install red5-server red5-doc
sudo updatedb

Test server menggunakan port 5080 (default red5)

http://localhost:5080

Install Test Aplikasi

Instalasi Aplikasi untuk testing

cd /usr/local/src
svn co http://red5.googlecode.com/svn/java/server/trunk red5
cd /usr/local/src/red5/
cp -R webapps/root/demos /var/lib/red5/webapps/root/demos
cp -R webapps/installer /var/lib/red5/webapps/installer
find /var/lib/red5/webapps/ -type d -exec chown _red5 {} \;

Test Aplikasi

Sebaiknya install java plugin utk browser Instalasi Java di Firefox

sudo apt-get install sun-java6-plugin sun-java6-jre sun-java6-bin sun-java6-fonts

Juga flash plugin installer

sudo apt-get install flashplugin-installer flashplugin-nonfree flashplugin-nonfree-extrasound

Jika berjalan dengan baik harus kita dapat menginstalasi aplikasi yang sudah di siapkan. Untuk menjalankan demo bisa klik pada


http://localhost:5080/demos

Atau instalasi aplikasi

http://localhost:5080/installer

Referensi


Pranala Menarik