Page tree

Versions Compared

Key

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

...

Code Block
yum install SDL-devel a52dec-devel bzip2-devel faad2-devel freetype-devel frei0r-plugins-devel \
	gsm-devel imlib2-devel lame-devel libdc1394-devel libraw1394-devel librtmp-devel libtheora-devel \
	libva-devel libfaac-devel libvdpau-devel libstdc++-devel libvorbis-devel libvpx-devel \
	mediainfo opencore-amr-devel opencv-devel openjpeg-devel openssl-devel schroedinger-devel \
	speex-devel texi2html vo-aacenc-devel x264-devel xvidcore-devel yasm zlib-devel

 

Install rpmdev-setuptree
Code Block
yum install rpmdevtools

 

Install ffmpeg srpm

Log in as the user red5, because the following commands need to run under a user other than root.

...

Code Block
yum install httpd

Add avalon user and create avalon directory

Code Block
useradd avalon
mkdir /var/www/avalon
chown -R avalon:avalon /var/www/avalon

...

Code Block
useradd matterhorn
 
wget https://github.com/avalonmediasystem/avalon-felix/archive/1.4.x.tar.gz
tar xvf 1.4.x
mv avalon-felix-1.4.x /usr/local/matterhorn

wget https://raw.github.com/avalonmediasystem/config-files/master/matterhorn/matterhorn_init.sh
mv matterhorn_init.sh /etc/init.d/matterhorn

chmod +x /etc/init.d/matterhorn
chown -R matterhorn:matterhorn /usr/local/matterhorn

...

Create and configure streaming directories.

...

Code Block
usermod -G avalon matterhorn

 

Install sqlite-devel
Code Block
yum install sqlite-devel

...

Create an apache configuration file (as root).

Code Block
su - root
vi /etc/httpd/conf.d/passenger.conf

...

Code Block
ENV['RAILS_ENV'] ||= 'development'

Visit your

...

new Avalon site!

You should be able to visit the webpage with just the hostname. ex: http://localhost (if you want to test from your local machine)

...

Code Block
groupadd -r dropbox
useradd -r avalondrop
mkdir -p /var/avalon/dropbox
chown avalondrop:dropbox /var/avalon/dropbox
chmod 2775 /var/avalon/dropbox

...

Add this to /etc/ssh/sshd_config:

...