Page tree

Versions Compared

Key

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

...

Install RVM to manage Ruby (http://rvm.io/) If it doesn't download right away it might ask you to download signatures.

Code Block
languagebash
curl -L https://get.rvm.io | bash -s stable --ruby

...

Create an account on github and set up SSH keys. For more help see the d etailed detailed instructions

Code Block
languagebash
cd ~/.ssh
ssh-keygen -t rsa -C "your_email@youremail.com"
cat id_rsa.pub #Add the output to your github account's list of keys

Install Matterhorn dependencies

...

Info

This may take a LONG time to run so have something else to keep you busy!

FFMPEG

Code Block
yum install ffmpeg

If installing ffmpeg with yum doesn't work, or you have dependency problems, you can try installing it from source.

Code Block
yum install libfaac-devel
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
  --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis \
  --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
make

That configure statement might need to change. It worked for me, but it seems puppet has more options enabled.

If you're still having trouble, check felix/log/opencast.log and see if there are any exceptions. Also, go to felix/etc/config.properties and make sure matterhorn is pointing to the correct ffmpeg. 

Mediainfo

Then go Go to MediaInfo's website to install MediaInfo. #Someone should fill more out here.

Setup Avalon

 

Note

The next step may be slightly different depending on your operating system if you are not using RHEL6.  When running bundle install you may need to set: QMAKE=/usr/bin/qmake-qt4

...

Config avalon based upon the Configuration Files page.  Note that Matterhorn config files can be put in the felix_conf directory and copied over with the felix:config rake task.

To configure Devise and Blacklight Secret Key, in your avalon directory run the following command:

Code Block
languagebash
rake secret

Copy the output, then create and open the file config/secrets.yml. Like the other yml files, you can have separate sections for development, test and production. Here is a template:

Code Block
development:
    secret_key_base: <Paste the hash>

Start all services

Code Block
languagebash
rake jetty:config
rake felix:config
rake avalon:services:start

To make the startup of avalon easier after a git pull, you can add these functions to your .bashrc script.

Test Avalon

From your avalon installation execute

...