This documentation has not been updated for Release 4.0.0 yet. Please see the one host (all-in-one) Manual Installation Instructions.
Intended as guidance for production environments with different hosts for most tasks, these instructions provide a recipe for building only the Red5 piece of an Avalon system from scratch on CentOS or Red Hat Enterprise Linux. Recipes for the other components for Avalon may be found here. Fedora (standalone), MySQL (standalone), Web (standalone), Solr (standalone), and Matterhorn (standalone).
Instructions for building every component on one host (all-in-on) please see here: Manual Installation Instructions.
Ready the Installation Environment
This package has libyaml-devel which is required by ruby and not provided by Redhat.
Make sure a valid hostname is resolvable
The default hostname is “avalon.dev”, so name the machine this and enter it into /etc/hosts
The Avalon Media System requires several ports to be open to client browsers.
Here are the port settings that will need to be configured:
The preferred method is to create a shell script that will do the work for you. Here is an example script that you should look through and customize as needed: avalon-iptables-config.sh
If you're connected over ssh, it might kick you off.
Save your script to /etc/sysconfig/avalon-iptables-config.sh, make it executable and run it.
If you run into connection issues you can disable the iptables, by running "service iptables stop". This will completely drop your firewall. When finished troubleshooting run "service iptables start".
Add the NUL repository
Create the NUL repository config file:
Append the following code:
Install and place the NUL GPG key in the proper location:
Install development libraries and packages for building Ruby
Red5 Media Server
Red5 is an open source alternative to Adobe Media Server. If using the Adobe Media Server you can skip to the next step.
Create a red5 user.
Download and install Red5.
Download the init script and add it to the init.d directory.
Give Red5 permissions to the red5 directory and the init script.
Create and configure streaming directories.
Red5 Avalon Security Webapp
If Red5 is installed and running you should be able to access http://avalon.dev:5080/
Restarting the Server
Before you restart your Avalon server, you'll want to make sure all of the services necessary to run Avalon will start automatically after the restart. Run these commands once and you should be set: