Difference between revisions of "Red5: Instalasi dari Source Code"

From OnnoWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Download==
 
==Download==
  
Kalau iseng ingin instalasi dari source code
+
Kalau iseng ingin instalasi dari [[source code]]
  
 
  http://trac.red5.org/downloads/1_0/red5-1.0.0-RC1.tar.gz
 
  http://trac.red5.org/downloads/1_0/red5-1.0.0-RC1.tar.gz
 
+
http://trac.red5.org/downloads/0_9/red5-0.9.1.tar.gz
  
 
==Instalasi==
 
==Instalasi==
Line 65: Line 65:
 
Jika berjalan dengan baik harus kita dapat menginstalasi aplikasi yang sudah di siapkan.
 
Jika berjalan dengan baik harus kita dapat menginstalasi aplikasi yang sudah di siapkan.
  
==Siapkan Red5==
+
==Siapkan Red5 1.0.0==
  
 
Lakukan
 
Lakukan
Line 74: Line 74:
 
  cd /usr/local/src/red5-1.0.0
 
  cd /usr/local/src/red5-1.0.0
 
  /usr/share/ant/bin/ant
 
  /usr/share/ant/bin/ant
 +
 +
 +
Selalu kena masalah
 +
 +
[taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.xml. It could not be found.
 +
 +
belum tahu apa solusi-nya
 +
 +
==Siapkan Red5 0.9.1==
 +
 +
Lakukan
 +
 +
cp red5-0.9.1.tar.gz /usr/local/src/
 +
cd /usr/local/src
 +
tar zxvf red5-0.9.1.tar.gz
 +
cd /usr/local/src/red5-0.9.1
 +
/usr/share/ant/bin/ant
 +
 +
Selalu kena masalah
 +
 +
[taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.xml. It could not be found.
 +
 +
belum tahu apa solusi-nya
  
 
==Menjalankan Red5==
 
==Menjalankan Red5==

Latest revision as of 07:18, 26 August 2011

Download

Kalau iseng ingin instalasi dari source code

http://trac.red5.org/downloads/1_0/red5-1.0.0-RC1.tar.gz
http://trac.red5.org/downloads/0_9/red5-0.9.1.tar.gz

Instalasi

Instalasi menggunakan perintah

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

Test Java

Ketik perintah

which java

harusnya keluar

/usr/bin/java

Ketik perintah

java -version

akan keluar

java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1)
OpenJDK Server VM (build 20.0-b11, mixed mode)

Switch default

sudo update-alternatives --config java

akan keluar

There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-6-sun/jre/bin/java       63        manual mode

Press enter to keep the current choice[*], or type selection number:

Pilih java-6-sun dalam hal ini pilih nomor 2

Siapkan Lingkungan

Siapkan lingkungan, lihat versi

ls /usr/lib/jvm/
export JAVA_HOME=/usr/lib/jvm/java-6-sun/
export ANT_HOME=/usr/share/ant/

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.

Siapkan Red5 1.0.0

Lakukan

cp red5-1.0.0-RC1.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf red5-1.0.0-RC1.tar.gz 
cd /usr/local/src/red5-1.0.0
/usr/share/ant/bin/ant


Selalu kena masalah

[taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.xml. It could not be found.

belum tahu apa solusi-nya

Siapkan Red5 0.9.1

Lakukan

cp red5-0.9.1.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf red5-0.9.1.tar.gz 
cd /usr/local/src/red5-0.9.1
/usr/share/ant/bin/ant

Selalu kena masalah

[taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.xml. It could not be found.

belum tahu apa solusi-nya

Menjalankan Red5

Menjalankan Red5

/usr/local/src/red5-1.0.0/red5.sh &

Test server menggunakan port 5080 (default red5)

http://localhost:5080


Test Server

Instalasi Aplikasi Red5 yang ada di

http://localhost:5080/installer/

Demo Aplikasi Red5 Melalui

http://localhost:5080/demos/

Referensi


Pranala Menarik