Page tree

Versions Compared

Key

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

...

Info

The instructions below require being logged in run as root unless specifically noted otherwise.

...

Avalon and components need about 20GB of disk space to install.

Make sure a valid hostname is resolvable

...

Open ports requirement

The Avalon Media System requires several ports to be open to client browsers.

...

title
Code Block
vim /etc/selinux/config #change the value of `SELINUX` from `enforcing` to `permissive`
Info

You may have to disable SELinux completely if there's Passenger installation problem

Info
vim /etc/selinux/config #change the value of `SELINUX` to `disabled`

...

Append the following to /etc/sysconfigtomcat/tomcat.conf

Code Block
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/filejdbc-simplemysql/repository.json -Dfcrepo.home=/var/avalon/fedora/"

Restart Tomcat

Code Block
systemctl restart tomcat
mysql.username=fedora -Dfcrepo.mysql.password=<fedora_password> -Dfcrepo.mysql.host=localhost -Dfcrepo.mysql.port=3306 -Dfcrepo.home=/var/avalon/fedora/"

Restart Tomcat

Code Block
systemctl restart tomcat

Download and run the fcrepo installer

...

Code Block
yum install mariadb-server
systemctl start mariadb

Create databases and users

Enter the mysql monitor

Code Block
#mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
...etc...
mysql>

Check your work and exit

Code Block
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| rails              |
| test               |
+--------------------+
5 rows in set (0.00 sec)
mysql> select user, host from mysql.user;
+--------+--------------+
| user   | host         |
+--------+--------------+
| root   | 127.0.0.1    |
|        | 129.79.32.87 |
| root   | 129.79.32.87 |
|        | localhost    |
| rails  | localhost    |
| root   | localhost    |
+--------+--------------+
7 rows in set (0.00 sec)
 
mysql> exit;
Bye

...

Media Streaming Server

Warning

Nginx replaces Red5 as the default streaming server since Avalon 6.3. With the upgrade to MediaElementjs 4, we now rely completely on HLS.

...