gzip -d xf apache-ant-1.7.0-bin.tar.gz
tar -xf apache-ant-1.7.0-bin.tar
mv apache-ant-1.7.0 /usr/local/ant
Once Java and Ant are all set up you simply download the latest development version of Red5 to your box.
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.
Navigate to the red5-trunk directory and run
That will build the project on your machine.
At this point you will need to create a red5 directory in the /usr/local/red5 directory.
Then you will want to copy the contents of the dist(distribution) folder to /usr/local/red5 like so
cp -R red5-trunk/dist/* /usr/local/red5/
We need need to fix the permissions on the red5.sh file:
chmod 755 red5.sh
To run the server you have a few options using the red5.sh file. Run the server by either running
sh red5.sh &
This will start the Red5 service manually.
Verify the correct ports are being bound to:
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.