Posts tagged media

Install Red5 on Debian

0

At least Debian 5 (Lenny) required.

Checkout release:
cat /proc/version
uname -a
cat /etc/issue
cat /etc/debian_version

 

If system is not in English, enable that:
dpkg-reconfigure locales
export LANG=en_US.UTF-8

Update /etc/enviroment

You may need to reboot.

 

Update:
apt-get update

Install Subversion:
apt-get -y install subversion

Install tools to build your own Debian packages:
apt-get -y install dpkg-dev debhelper dh-make devscripts fakeroot

Install Java (accept sun license if applies):
apt-get -y install java-package
apt-get -y install sun-java6-jre
apt-get -y install sun-java6-jdk
java -version

Install Apache Ant:
wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.gz
tar zxvf apache-ant-1.8.2-bin.tar.gz
mv apache-ant-1.8.2 /usr/local/ant
export ANT_HOME=/usr/local/ant
/usr/local/ant/bin/ant -version

Download the latest development version of Red5:
svn co http://red5.googlecode.com/svn/java/server/trunk red5-trunk

Run ant to build red5:
cd red5-trunk
/usr/local/ant/bin/ant

Deploy red5:
mkdir /usr/local/red5
cp -R dist/* /usr/local/red5/
cd /usr/local/red5
chmod 755 red5.sh

Deploy your custom apps in/usr/local/red5/webapps .
In example VideoWhisper Red5 RTMP application needed to run VideoWhisper solutions.

Start Red5 in background:
cd /usr/local/red5
./red5.sh >> red5.log &

Verify the correct ports are being bound to:
netstat -ant

 

You need to restart red5 each time you add webapps to /usr/local/red5/webapps or change configuration.

Close Red5:
cd /usr/local/red5
./red5-shutdown.sh

Or kill Red5 processes:
ps aux | grep red5
kill $process_id

Then start it again:
cd /usr/local/red5
./red5.sh >> red5.log &

Related Posts:

Install Red5 on SUSE Linux

First know your system to know what to install.

Use uname -a to see if you need to download 32 or 64 bits versions.

Get SUSE release: cat /etc/SuSE-release

INSTALL JDK

Install latest JDK from http://java.sun.com/javase/downloads/index.jsp .

Use chmod a+x to make downloaded file executable and execute it.

Make sure latest version is used:

ln -s /usr/java/latest /usr/local/jdk
ln -s
/usr/java/latest/jre /usr/local/jre
rm /usr/bin/java

ln -s
/usr/java/latest/bin/java /usr/bin/java
export JAVA_HOME=/usr/java/latest/


INSTALL SVN

Get SVN from: http://software.opensuse.org/search?baseproject=ALL&p=1&q=subversion

Install RPMs with:  rpm -iv package.rpm

Install any dependencies as required. Search from http://software.opensuse.org/search .

INSTALL ANT

wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.gz
tar zxvf apache-ant-1.8.0-bin.tar.gz
mv apache-ant-1.8.0 /usr/local/ant

Configure
export ANT_HOME=/usr/local/ant
ln -s /usr/local/ant/bin/ant /usr/local/bin/ant

Replace old ant
rm /usr/bin/ant
ln -s /usr/local/ant/bin/ant /usr/bin/ant

Check ant version:
ant –version


INSTALL Red5

Get latest Red5 :
svn co http://red5.googlecode.com/svn/java/server/trunk red5

Build Red5 :
cd red5
ant prepare
ant dist

Move Red5:
cd ..
mv red5 /opt/red5

OPERATE RED5

Start Red5 (when need or on server reboot):
cd /opt/red5/dist
./red5.sh > start.log &

Install/update applications in the /opt/red5/dist/webapps folder .  For changes to take effect, Red5 must be restarted:

1. Check if red5 is running:
ps aux | grep red5

2. Go to its folder and shut red5 down:
cd /opt/red5/dist
./red5-shutdown.sh

3. See if it’s still running or not:
ps aux | grep red5

4. Restart it, and also make it output the logs into a file of your choice:
./red5.sh > start.log &

5. Make sure it’s back online:
ps aux | grep red5

Related Posts:

Install latest Red5 on Linux Ubuntu

This post shows how to install latest Red5 from svn trunk on Linux Ubuntu.

For other linux flavors (i.e. Centos) see this comprehensive tutorial Install Red5 and JDK on Centos.

(more…)

Related Posts:

Online Video Consultation Solution by VideoWhisper

VideoWhisper Video Consultation is a premium high definition video communication software designed for online video consultations, trainings, webinars, coaching and online collaboration.

It was designed for few to many 2 way moderated video communication. Moderators control what participant is displayed on main screen (speaker) and can also add an additional participant (inquirer) to ask questions or assist. Participants can change their public status (i.e. request to speak), upload and download room files, text and video chat.

Online Video Consultation Software

Related Posts:

VideoWhisper 2 Way Video Chat Script

One on One 2 Way Video Chat Script
VideoWhisper 2 Way Video Chat is a premium high definition video communication software designed for instant 1 on 1 online video conferencing. It’s a solution for conducting easy to setup face to face meetings without leaving your office or home. It’s the easiest and most cost-effective way to meet somebody and discuss one on one. Here are 12 ways to use this:

  1. have meetings on short notice with individuals in faraway places
  2. conduct sales presentations without traveling
  3. manage employees remotely when you are not in the office
  4. bring any partner or specialist employee virtually to any meeting you physically attend to
  5. demonstrate products and software without traveling
  6. train customers, partners and employees on remote locations
  7. have employees work from home even if they are on another continent
  8. communicate from many business airlines that provide internet while mobiles are not functional
  9. talk face to face to new employees or business partners from far away locations before doing any travelling
  10. communicate face to face from anywhere you find an internet connection for your laptop
  11. remote professional consultations and advice
  12. avoid dangerous or just boring locations and persons

Read more about the 2 Way Video Chat software…

Related Posts:

Go to Top