installing on ubuntu 16.04.1

I haven’t written a tutorial but here are some of my Ubuntu Server 16.04 install notes that will save you some time and give you some pointers:

Software selection on installation: LAMP, Samba, SSH

Get all modules quickly:
apt install zip unzip php-mbstring php7.0-mbstring php-gettext php-xml-parser php7.0-zip php7.0-imap php7.0-gd php7.0-curl sendmail phpmyadmin php-xdebug

Things to edit in php.ini:
nano /etc/php/7.0/apache2/php.ini
upload_max_size = 64MB
memory_limit=512M
fix error_reporting, add & ~E_STRICT
date.timezone = “Europe/Lisbon”

-also set timezone in the other php.ini of the CLI

/etc/init.d/apache2 restart

-copy files from SuiteCRM package into /var/www/html

    cd /var/www/html
    sudo chown -R www-data:www-data .
    sudo chmod -R 755 .
    sudo chmod -R 775 cache custom modules themes data upload config_override.php 

Now install the app via whatever address you have:
http://10.0.0.20/suitecrm/install.php

crontab -e -u www-data
add the folllowing line:
* * * * * cd /var/www/html; php -f cron.php > /dev/null 2>&1

5 Likes