How to Install the Red5 Server on a VPS Server? Print

  • 1

There are some easy guidelines on how to install the Red5 server which is a media streaming server on the VPS server. The Red5 is open and an extensible platform and it may be set up free of cost on a virtual private server or a dedicated server. This is then used for network gaming or video conferencing purposes. To install this server, you will need to set up putty software using the URL http://www.putty.org/ for connecting with the server. You must use the username and password in order to login with root.

The Red5 server is Java-based and it is therefore necessary to set up Java on your server. You can check to see if it is already installed you may use command java-version. When it says ‘command not found’ it implies that Java has not been set up on the server.

To update or set up Java you will need to download the most recent Java archive from the Oracle official website. When you have completed downloading it, you can extract the archive using this command:

# cd /opt/# wget –no-cookies –no-check-certificate –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie” 
 
“http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-i586.tar.gz” # tar xzf jdk-7u79-linux-i586.tar.gz for the 32Bit
 
# cd /opt/# wget –no-cookies –no-check-certificate –header
“Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie” 
“http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz” # tar xzf jdk-7u79-linux-x64.tar.gz for the 64Bit


It is important to archive the file according to the system configuration. When you have extracted the Java archive, you have to simply install the new Java version by using alternative. The commands are as follows:

# cd /opt/jdk1.7.0_79/# alternatives –install /usr/bin/java java /opt/jdk1.7.0_79/bin/java 2# alternatives –config java


You must thereafter check the Java version that you have installed and use the command # java -version java version “1.7.0_79″Java(TM) SE Runtime Environment (build 1.7.0_79-b15)Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode) to see which version is being used by the system.

Most of the applications that are Java-based will use environment variables and you can use commands to install these properly.

These are the steps one needs to follow in order to install Java for Linux; while you can use these for installing multiple Java versions, you are able to use only a single version at any time. 

Once these steps are done, you will need to first download and then extract the Red5. You must use the link# cd /opt/# wget https://github.com/Red5/red5-server/releases/download/v1.0.8-M13/red5-server-1.0.8-M13.tar.gz# tar xzf red5-server-1.0.8-M13.tar.gz# mv red5-server/ red5 to get the most recent Red5 server version. You must then start the Red5 using the shell script red5.sh that you can get in the directory. The command is as follows: # cd /opt/red5# ./red5.sh &. You have to then use the Red5 interface; to do this you must first goto cd /opt/red5/webapps/installer/WEB-INF/

vi red5-web.properties. You will then be required to edit this file. You will also have to change the local host to the IP address you own. After this, you must press on the Esc button and run the command: wq command to save.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution