RMS Auto-Installer for CentOS and Ubuntu/Debian

This auto-installer will allow you to install the Boonex RMS (Media Server) in less than 5 minutes on your web server. It fully automates the process including installing Java. It also includes several unique optional features not found or available elsewhere.

If you find the Boonex instructions confusing, then why not save yourself one big headache not to mention it will save you a lot of time.

I put a lot of time into creating this. The programming, development, and testing took months to complete so I can't just give it away. However, it will be very reasonably priced, and much cheaper than what it would cost you to pay someone to install it.

Check out the Demo Video:

How to use the RMS Auto-Installer

$20 CentOs version
$20 Ubuntu/Debian Version
$30 both CentOS and Ubuntu/Debian Versions

How to get it:
Currently available on the Boonex Market here:
RMS Auto Installer (Centos)
RMS Auto Installer (Ubuntu/Debian)
RMS Auto Installer (Centos & Ubuntu/Debian)

CentOS Version:
CentOS 5x, 6x, or 7x

Ubuntu/Debian Version:
Ubuntu 12.04.X LTS, 14.04.X LTS, or 16.04.X LTS
Debian 7x, or 8x

Requirements Both Versions:
YUM - (CentOS)
APT/apt-get (Ubuntu/Debian)

Awk, grep, sed, wget. The installer will check to see if they are installed and available. If not, you will be prompted to either exit, and you can install any of the missing ones yourself. Or, the auto-installer can install them for you. It's possible that you already have them as they are very common.

Root access to the server. (Running the Auto-Installer as a super user is not supported)

* Installs RMS to your server IP address, and supports IPv4 Addresses only.
* Not for shared hosting accounts.

What it does:
Checks to see if awk, grep, sed, and wget are installed (which are required), and optionally will install any that happen to be missing for you.

Checks to see if Java is installed. If not it will automatically select yes to install it. You have the option of selecting OpenJDK, or Oracle JAVA later. If Java is already installed, then it will automatically select no not to install it.

You have the option of selecting from the following:

Install RMS (yes/no)
I assume that you want to install RMS and will select yes, but you can optionally choose no to install Java only.

Install RMS as a service (yes/no)
* CentOS 5x, CentOS 6x, Ubuntu 12.04.X, Ubuntu 14.04.X, and Debian 7 have the option to install as a service or via rc.local start up.

If you select yes a startup script will be created. If or when you reboot your system RMS will automatically start at boot time.
And, you will be able to start, stop, restart, or check the status from the command line with:
service rms start
service rms stop
service rms restart
service rms status

If you select no RMS will be started the way Boonex does it (rc.local) by means of (path to rms)./run_daemon.sh. The start up path will also be added to rc.local, which will start RMS if or when you reboot. To stop it you would need to find the PID and then issue a kill -9 PID. To start it back up you would need to go to (path to rms) and then enter ./run_daemon.sh from the ssh command line, or reboot your server.

* CentOS 7x, Ubuntu 16.04.X and Debian 8x installs by means of rc.local RMS start up.

Automatic IP detection (yes for auto / no for manual)
If you select no, then you will be asked to manually enter the IP address.

Use default RMS Ports (yes/no) (yes - Recommended)
Selecting yes will install RMS on the default 1935, 1936, 5080 ports.
Selecting no will allow you to manually choose the ports you want. (RMS Port/RMS Proxy Port/RMS HTTP Port)
* Be sure the ports you choose are open in your firewall or iptables.

Domain(s) (Dolphin websites) that will be allowed to use your RMS.
You must enter at least 1 domain in domain.com format. (no http:// or www's).
You may enter a maximum of 5.

Path/Location where you want RMS located on your server.
Maximum of 3 directories/folders deep.
Example: /opt/media_server/rms

If directories/folders do not exist they are automatically created.
Can be anywhere such as:

Run a RMS test (yes/no)
Runs a 20 second test so you can see the output in the ssh command line window.

RMS Cron (yes/no)
If you select yes a root entry will be added to /etc/crontab that will check every 5 minutes to see if RMS is running. If it's not running it starts it.

Install Java (yes/no)
This will be selected for you automatically. If you already have Java there is no need to install it so no would be selected. If you don't have Java it will automatically select yes.

JAVA Type (OpenJDK / Oracle) (OpenJDK - Recommended)
If the Auto-installer determines that you don't have Java on your system you can select either OpenJDK or Oracle.
Selecting OpenJDK will be fully automatic.

Due to Oracle's conditions/terms I am not allowed to distribute their Java packages. (See below for more details.)

* For Oracle JAVA (Optional):
You would need to go to Oracle and download the correct package for your system. Once you have it downloaded, simply upload it to the same directory/folder where the RMS auto-installer file is located. You don't need to uncompress it or do anything else with it. The auto-installer will do everything for you, and delete it when it's done.

For CentOs download: (Only if you want to use Oracle)
32 bit jre-7uXX-linux-i586.rpm
64 bit jre-7uXX-linux-x64.rpm
32 bit jre-8uXX-linux-i586.rpm
64 bit jre-8uXX-linux-x64.rpm
* Oracle JREs only and .rpm format for CentOS are supported with the Oracle JAVA option.

For Ubuntu/Debian download: (Only if you want to use Oracle)
32 bit jre-7uXX-linux-i586.tar.gz
64 bit jre-7uXX-linux-x64.tar.gz
32 bit jre-8uXX-linux-i586.tar.gz
64 bit jre-8uXX-linux-x64.tar.gz
* Oracle JREs only and tar.gz format for Ubuntu/Debian are supported with the Oracle JAVA option.

Oracle JRE 7XX found here: (Thoroughly tested with Dolphin.)

Oracle JRE 8XX found here: (Basic testing with Dolphin.)

** If you select OpenJDK it will be fully automatic. Oracle is just an option for those that want to use them instead.

Review Selections:
After you make your selections, you will be asked to review your choices before proceeding, with an option to continue or exit.

** Be sure to review these thoroughly before proceeding. If you entered something wrong, then exit and run the installer again.

Once you continue it will attempt to retrieve the RMS package (70+ MBs), which may take several seconds depending on your server's connection speed so be patient. If it can't retrieve it from one source it will try another.

If it successfully retrieves the RMS package it will begin installing everything based on the choices you made. If for some reason it can't (extremely rare as it is programmed with multiple alternative fail over sources) it won't install anything, and it will tell you to try again later.

Once it starts installing it will only take a minute or two to finish.

If you are familiar with the RMS installation process you can use this auto-installer to completely install RMS in 3-5 minutes if you choose OpenJDK. If not, or if you choose Oracle instead maybe 10-15 minutes.

FREE tools/software used in the video that you can use:
- PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) to execute/run the installer.
- WinSCP (http://winscp.net/eng/download.php) to upload the RMS Auto-Installer securely as root user.

Be sure to watch the demonstration video above to see how fast and easy it is to use.