Skip to content
Krzysztof Królikowski edited this page May 25, 2017 · 10 revisions

Spine Libraries

spine-agent is linked to two additional libraries: libmysqlclient and libgtop. Make sure that they are installed on every spine enabled system. Libraries installation topic is covered in details in Readme on the project github page.

Ubuntu

Apache setup

Installation and running

Please ensure that you have apache2 package installed and running. If not, please issue below command:

sudo apt-get install apache2 libapache2-mpm-itk

Installation scripts should run apache service automatically. If not you can issue these commands to start service and check if it is operational.

sudo systemctl start apache2
sudo systemctl status apache2

Additional configuration

Default apache configuration does not have authz_groupfile module enabled. You have to do it manually and restart apache. This module is required if you want to have password authentication enabled on your vhosts.

sudo a2enmod authz_groupfile
sudo systemctl restart apache2

MySQL setup

Installation and running

To install MySQL server just type:

sudo apt-get install mysql-server

Installation scripts will ask you to type password several times. It will be a password for root mysql accunt. Leave it blank. When installation process will end please be sure, that mysql service is up and running.

Centos

Apache setup

Installation and running

Please ensure that you have httpd package installed and running. If not, please issue below commands:

sudo yum install httpd
sudo systemctl start httpd

Before installing httpd-itk module you have to install epel-release package first.

sudo yum install epel-release
sudo yum install httpd-itk

Additional configuration

If you plan to use Indexes Option directive on Centos you have to edit (or remove?) file: "/etc/httpd/conf.d/welcome.conf" which contains below fragment

<LocationMatch "^/+$">
    Options -Indexes
    ErrorDocument 403 /.noindex.html
</LocationMatch>

This configuration actually disables Indexing in every file included from conf.d subdirectory. Keep in mind, that every apache upgrade restores this file to it's previous form.

MySQL setup

Installation and running

To install MySQL service on Centos 7 you have to install mariadb-server package.

sudo yum -y install mariadb-server

When installation process will end you have to manually start a service and ensure its automatic startup.

sudo systemctl start mariadb
sudo systemctl enable mariadb