sudo apt-get install apache2 php5 libapache2-mod-php5 mariadb-server php5-mysql php5-cli php5-gd
Windows is using 80 already
vim /etc/apache2/ports.conf
- change 80 to 8080
sudo service apache2 start
sudo service mysql start
sudo a2enmod rewrite
vim /etc/apache2/apache2.conf
- "AllowOverride All"
sudo service apache2 restart
mysql -uroot -proot -e 'create database contenta;
- https://getcomposer.org/download/ Make it global
sudo mv composer.phar /usr/local/bin/composer