How to install red5 on Debian
Posted on July 03th, 2008 by Nathan P. Johansen
This how to was provided by Nathan P. Johansen.
The following are steps used to get Red5 running on a Debian machine. This is the development version of Red5.
Before beginning this make sure you are running these commands as root.
apt-get install subversion
apt-get install dpkg-dev
apt-get install debhelper
apt-get install dh-make
apt-get install devscripts
apt-get install fakeroot
apt-get install java-package
wget http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.0-bin.tar.gz
gzip -d xf apache-ant-1.7.0-bin.tar.gz
tar -xf apache-ant-1.7.0-bin.tar
cd apache-ant-1.7.0
mv apache-ant-1.7.0 /usr/local/ant
export ANT_HOME=/usr/local/ant
svn co http://svn1.cvsdude.com/osflash/red5/java/server/trunk red5-trunk
That will create a folder in your current directory called red5-trunk.
/usr/local/ant/bin/ant
That will build the project on your machine.
mkdir /usr/local/red5
cp -R red5-trunk/dist/* /usr/local/red5/
cd /usr/local/red5 chmod 755 red5.sh
sh red5.sh &
or
./red5.sh &
This will start the Red5 service manually.
netstat -ant
You may need to edit the red5.properties file in the /usr/local/red5/conf directory if you can’t connect to your server from an external location. Try to connect to the server before you modify the properties file because you may be able to connect to it with no problems.