Akeneo setup LAMP
5 March, 2021 by
Akeneo setup LAMP
| No comments yet

sudo apt-get update && apt-get upgrade -y
sudo apt-get install apache2 mysql-server libapache2-mod-auth-mysql php5-mysql php5-mcrypt php5-gd php5-intl php5-apcu php5-dev php5-curl

sudo apt-get install libapache2-mod-php5 php5-cli

sudo php5enmod mcrypt
sudo a2enmod rewrite

sudo mysql_install_db

/usr/bin/mysqladmin -u root password ‘new-password’
/usr/bin/mysqladmin -u root -h china-cloud password ‘new-password’

sudo /usr/bin/mysql_secure_installation
sudo nano /etc/apache2/mods-enabled/dir.conf

<IfModule mod_dir.c>

DirectoryIndex index.php index.html index.cgi index.pl index.php index.xhtml index.htm

sudo nano /var/www/info.php

Besides these modules, the following configuration is the minimal configuration required:

Setup Apache php.ini file /etc/php5/apache2/php.ini
memory_limit = 512M
date.timezone = Etc/UTC
Setup CLI php.ini file /etc/php5/cli/php.ini
memory_limit = 768M
date.timezone = Etc/UTC
bootstrap 644 / 777

Sign in to leave a comment