Update README.md

parent eb9a1bb7
...@@ -10,9 +10,10 @@ ...@@ -10,9 +10,10 @@
Copyright (C) 2017 R2C-SYSTEM - [MyDataBall](http://www.mydataball.com) Copyright (C) 2017 R2C-SYSTEM - [MyDataBall](http://www.mydataball.com)
Based on an idea of Stéphane CHAUVIN <stephane.chauvin@mydataball.com> and created at his request for MyDataBall - R2C-SYSTEM by Based on an idea of Stéphane CHAUVIN <stephane.chauvin@mydataball.com> and created at his request for MyDataBall - R2C-SYSTEM by
* Milad ARDEHALI <milad.ardehali@gmail.com>
* Ambroise ROUGIER <ambroise.rougier@mydataball.com> * Milad ARDEHALI <milad.ardehali@gmail.com>
* Bertrand FRUCHET <bertrand.fruchet@mydataball.com> * Ambroise ROUGIER <ambroise.rougier@mydataball.com>
* Bertrand FRUCHET <bertrand.fruchet@mydataball.com>
### Pre-requisites ### Pre-requisites
...@@ -33,28 +34,28 @@ For licenses compatibility informations: http://www.gnu.org/licenses/licenses.en ...@@ -33,28 +34,28 @@ For licenses compatibility informations: http://www.gnu.org/licenses/licenses.en
### Installation ### Installation
* Install Java Runtime Environment (tested with OpenJDK 8u151-b12-1) * Install Java Runtime Environment (tested with OpenJDK 8u151-b12-1)
```shell ```
# apt install default-jre-headless # apt install default-jre-headless
``` ```
* Install Apache Web Server (tested with Apache 2.4.25) * Install Apache Web Server (tested with Apache 2.4.25)
```shell ```
# apt install apache2 # apt install apache2
``` ```
* Install PHP and its dependencies (tested with PHP 7.0) * Install PHP and its dependencies (tested with PHP 7.0)
```shell ```
# apt install php libapache2-mod-php php-curl php-xml # apt install php libapache2-mod-php php-curl php-xml
``` ```
* Install MariaDB and its dependencies (tested with MariaDB 10.1.26) * Install MariaDB and its dependencies (tested with MariaDB 10.1.26)
```shell ```
# apt install mariadb-server mariadb-client php-mysql phpmyadmin # apt install mariadb-server mariadb-client php-mysql phpmyadmin
``` ```
* Unzip the remasco archive at the public root directory of the web server * Unzip the remasco archive at the public root directory of the web server
```shell ```
# cd /var/www/ # cd /var/www/
# unzip remasco.zip # unzip remasco.zip
``` ```
* Create Remasco Database and create DBO User by replacing dbouser and dbopassword below * Create Remasco Database and create DBO User by replacing dbouser and dbopassword below
```shell ```
# mysql -u root -p # mysql -u root -p
CREATE DATABASE remasco; CREATE DATABASE remasco;
CREATE USER 'dbouser'@'localhost' IDENTIFIED BY 'dbopassword'; CREATE USER 'dbouser'@'localhost' IDENTIFIED BY 'dbopassword';
...@@ -63,7 +64,7 @@ FLUSH PRIVILEGES; ...@@ -63,7 +64,7 @@ FLUSH PRIVILEGES;
quit quit
``` ```
* Update Remasco Database with script sql/remasco.sql * Update Remasco Database with script sql/remasco.sql
```shell ```
# mysql -p -u[dbouser] remasco < sql/remasco.sql # mysql -p -u[dbouser] remasco < sql/remasco.sql
``` ```
...@@ -125,7 +126,7 @@ DELETE FROM `user` WHERE `userName`="[UserName_to_delete]"; ...@@ -125,7 +126,7 @@ DELETE FROM `user` WHERE `userName`="[UserName_to_delete]";
### Usage ### Usage
* If you configure REMASCO Search to use local clustering server and if the Carrot2 DCS Server is not launched at startup, launch Carrot2 DCS Server with * If you configure REMASCO Search to use local clustering server and if the Carrot2 DCS Server is not launched at startup, launch Carrot2 DCS Server with
```shell ```
# cd /var/www/remasco/carrot2-dcs-3.15.1 # cd /var/www/remasco/carrot2-dcs-3.15.1
# ./dcs.sh # ./dcs.sh
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment