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 Fedora 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. MySQL (standalone), Web (standalone), Solr (standalone), Red5 (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 Avalon repository config file:
Append the following code:
Install and place the Avalon GPG key in the proper location:
Install development libraries and packages for building Ruby
Fedora Commons Repository
Download and run the fcrepo installer
Use the following values in place of defaults
Fedora home directory
Fedora administrator password
Fedora server host
Fedora application server context
Authentication requirement for API-A
SSL required for API-A
SSL required for API-M
Tomcat home directory
Tomcat HTTP port
Tomcat shutdown port
Tomcat Secure HTTP port
MySQL JDBC driver
Accept remaining defaults then add permissions for Tomcat and restart Tomcat
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: