Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IA2
RAP
Commits
04d5d8ea
Commit
04d5d8ea
authored
6 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Updated installation information
parent
d75cdfb9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
README.md
+24
-3
24 additions, 3 deletions
README.md
with
28 additions
and
3 deletions
.gitignore
0 → 100644
+
4
−
0
View file @
04d5d8ea
composer.lock
config.php
logs/
vendor/
This diff is collapsed.
Click to expand it.
README.md
+
24
−
3
View file @
04d5d8ea
...
@@ -7,6 +7,11 @@ Requirements:
...
@@ -7,6 +7,11 @@ Requirements:
*
Apache httpd server (tested on Apache/2.4.6)
*
Apache httpd server (tested on Apache/2.4.6)
*
PHP (5.4+), composer for dependecies
*
PHP (5.4+), composer for dependecies
*
MySQL/MariaDB (tested on MariaDB 5.5.52)
*
MySQL/MariaDB (tested on MariaDB 5.5.52)
*
PHP MySQL module
On Ubuntu:
sudo apt install apache2 mariadb-server libapache2-mod-php mariadb-server
### PHP
### PHP
...
@@ -18,7 +23,7 @@ For installing PHP dependencies run:
...
@@ -18,7 +23,7 @@ For installing PHP dependencies run:
Install also the bcmath PHP package (used in X.509 parser).
Install also the bcmath PHP package (used in X.509 parser).
### MySQL
### MySQL
/ MariaDB
Create a dedicated database and user:
Create a dedicated database and user:
...
@@ -28,8 +33,8 @@ Create a dedicated database and user:
...
@@ -28,8 +33,8 @@ Create a dedicated database and user:
Enable the event scheduler:
Enable the event scheduler:
*
open MySQL configuration file (e.g. /etc/my.cnf)
*
open MySQL configuration file (e.g. /etc/my.cnf
, or /etc/mysql/mariadb.conf.d/
*
-server.cnf for MariaDB
)
*
set
`event_scheduler=1`
*
under the section [mysqld]
set
`event_scheduler=1`
*
restart MySQL
*
restart MySQL
Then run the setup script:
Then run the setup script:
...
@@ -38,6 +43,15 @@ Then run the setup script:
...
@@ -38,6 +43,15 @@ Then run the setup script:
### Apache (httpd)
### Apache (httpd)
*
Enable .htaccess in rap folder:
In Apache configuration (e.g. /etc/apache2/apache2.conf) add:
<Directory /var/www/html/rap-ia2/>
AllowOverride All
</Directory>
*
Enable Apache mod rewrite:
`sudo a2enmod rewrite`
*
Configure a valid HTTPS certificate on the server
*
Configure a valid HTTPS certificate on the server
*
Configure X.509 client certificate authentication:
*
Configure X.509 client certificate authentication:
...
@@ -94,6 +108,13 @@ Before using social API it is necessary to register an application on each socia
...
@@ -94,6 +108,13 @@ Before using social API it is necessary to register an application on each socia
Copy the
`config-example.php`
into
`config.php`
and edit it for matching your needs.
Copy the
`config-example.php`
into
`config.php`
and edit it for matching your needs.
### Logs directory
Create the logs directory and assign ownership to the Apache user (usually www-data or apache)
mkdir logs
sudo chown www-data logs
## Additional information and developer guide
## Additional information and developer guide
See the wiki: https://www.ict.inaf.it/gitlab/zorba/rap-ia2/wikis/home
See the wiki: https://www.ict.inaf.it/gitlab/zorba/rap-ia2/wikis/home
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment