Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleConfiguring AMS
# Do all the following as root
su -

# 1. Download the Avalon configuration for AMS
wget -O avalon-vod.zip https://github.com/avalonmediasystem/avalon-vod/archive/master.zip
unzip avalon-vod.zip
cd avalon-vod-master

# 2 Copy avalon.conf into place
cp apache/avalon_rewrite.conf /opt/adobe/ams/Apache2.2/conf

# 3. Add Avalon configuration to AMS's Apache configuration
echo "Include conf/avalon_rewrite.conf" >> /opt/adobe/ams/Apache2.2/conf/httpd.conf

# 4. Copy avalon_auth into place and make executable
cp apache/avalon_auth /opt/adobe/ams
chmod 744 /opt/adobe/ams/avalon_auth

# 5. Add Avalon substitution variables to the AMS configuration. 
#    AVALON.STREAM_PATH must be the same as configured for Matterhorn below. 
#    Both servers must be able to reach these directories through their respective file systems.
echo "AVALON.STREAM_PATH = /opt/adobe/ams/webroot/avalon" >> /opt/adobe/ams/conf/ams.ini
echo "AVALON.AUTH_URL = http://{avalon host}/authorize" >> /opt/adobe/ams/conf/ams.ini

...