From cdd470fab4681b3b710e2020ff95282306ae3daa Mon Sep 17 00:00:00 2001 From: Paolo Vecchi Date: Tue, 4 Sep 2018 14:57:12 +0200 Subject: [PATCH] Update INSTALL.ubuntu1704.md Just adding basic commands --- INSTALL/INSTALL.ubuntu1704.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/INSTALL/INSTALL.ubuntu1704.md b/INSTALL/INSTALL.ubuntu1704.md index 2127c90..048ae53 100644 --- a/INSTALL/INSTALL.ubuntu1704.md +++ b/INSTALL/INSTALL.ubuntu1704.md @@ -10,7 +10,8 @@ can use the provided script: $ ./scripts/update-all.sh $ sudo systemctl restart apache2 - +# Install the dependencies: (some might already be installed) +sudo apt-get install curl git openssl sudo zip PHP & MySQL ----------- @@ -18,6 +19,9 @@ PHP & MySQL Install PHP (version 7.0 recommended) with extensions : *xml*, *mbstring*, *mysql*, *zip*, *unzip*, *mcrypt*, *intl*, *gettext* and *imagick*. +# Install PHP and dependencies +sudo apt-get install libapache2-mod-php php php-cli php-zip php-json php-mysql php-mbstring php-imagick php-xml php-mcrypt php-intl + In __php.ini__, set: * *upload_max_filesize* to 200M; @@ -29,10 +33,16 @@ Install Apache and enable mods: *rewrite*, *ssl* (with a2enmod) Install MariaDB. +sudo service mysql stop && sudo apt-get install mariadb-client mariadb-server +# Secure the MariaDB installation (especially by setting a strong root password) if it hasn't been asked during the setup process. +sudo mysql_secure_installation Installation of MONARC ---------------------- +# Go to your www directory eg: /var/www/html + + Clone the repository and invoke `composer` using the shipped `composer.phar`: git clone https://github.com/monarc-project/MonarcAppFO.git ./monarc