Created
April 1, 2012 01:09
-
-
Save collinschaafsma/2270250 to your computer and use it in GitHub Desktop.
Red5 Ubunut 10.04 LTS Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo vim /etc/apt/sources.list | |
#add the following | |
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse | |
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse | |
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse | |
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse | |
deb http://archive.canonical.com/ lucid partner | |
sudo apt-get update | |
sudo apt-get install java-package | |
sudo apt-get install openjdk-6-jdk | |
sudo apt-get install ant | |
mkdir red5 | |
cd red5/ | |
wget http://trac.red5.org/downloads/0_8/red5-0.8.0.tar.gz | |
tar xzf red5-0.8.0.tar.gz | |
rm red5-0.8.0.tar.gz | |
wget https://gist.github.com/raw/2270221/c0370baa725c020fb02b13b5a02fa4bf56b8f6aa/gistfile1.txt | |
sudo cp gistfile1.txt /etc/init.d/red5 | |
sudo chmod +x /etc/init.d/red5 | |
sudo mkdir /mnt/opt | |
sudo mv red5 /mnt/opt/ | |
sudo update-rc.d red5 defaults | |
sudo adduser --system red5 | |
cd /mnt/opt | |
sudo chown -R red5 red5/ | |
sudo /etc/init.d/red5 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment