Page tree

Versions Compared

Key

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

...

Code Block
yum install rpmdevtools

 As any non-root user, install ffmpeg srpm

Install ffmpeg srpm

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

Code Block
su - red5
rpmdev

Run the ffmpeg install.

Code Block
#rpmdev-setuptree
rpm#rpm -ivh https://github.com/avalonmediasystem/avalon-installer/raw/master/files/ffmpeg/ffmpeg-1.2-59a.el6.src.rpm
Retrieving https://github.com/avalonmediasystem/avalon-installer/raw/master/files/ffmpeg/ffmpeg-1.2-59a.el6.src.rpm
   1:ffmpeg                 warning: user makerpm does not exist - using root
warning: group makerpm does not exist - using root
########################################### [100%]
warning: user makerpm does not exist - using root
warning: group makerpm does not exist - using root
Build ffmpeg binary as non-root and install as root
[as not root] rpmbuild #rpmbuild -bb rpmbuild/SPECS/ffmpeg12.spec
[as

Log back in as root and finish the install.

Code Block
su - root]
rpm -ivh /home/red5/rpmbuild/RPMS/x86_64/ffmpeg-*.rpm

 

Create user for matterhorn

useradd matterhorn

Install httpd

Code Block
yum install httpd

Install Matterhorn

Create

...

[root@localhost avalon]# useradd avalon

mkdir /var/www/avalon

[root@localhost avalon]# chown -R avalon:avalon /var/www/avalon

[root@localhost avalon]# su - avalon

Matterhorn

wget a user for Matterhorn and then install.

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

 

Install Add config.properties in to /usr/local/matterhorn/etc: 

Code Block
wget https://raw.github.com/avalonmediasystem/config-files/master/matterhorn/config.properties

...


vim config.properties

...

edit config.properties:

...

 
Change the server url port from 18080 to 8080 on line 19:
org.opencastproject.server.url=http://localhost:8080

Then move the config to the appropriate spot.

Code Block
mv config.properties /usr/local/matterhorn/etc/

 

Matterhorn for streaming files

...

org.opencastproject.hls.directory=/var/avalon/hls_streams

 

Install sqlite-devel
Code Block
yum install sqlite-devel
Create avalon user and then log in as avalon
Code Block
useradd avalon
mkdir /var/www/avalon
chown -R avalon:avalon /var/www/avalon
su - avalon

 

As Avalon user, Install RVM and ruby 1.9.3-p429

...