Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: installing on ubuntu 16.04.1

installing on ubuntu 16.04.1 2 years 2 months ago #39231

  • deheugden
  • deheugden's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
guys,

am trying to install suitecrm on a ubuntu, without a gui. Anyone who can point me to a tutorial? Seems i also need to install apache and php, looked for a decent up to mdate, tutorial, but cant find one.

many thanks for the help
The administrator has disabled public write access.

installing on ubuntu 16.04.1 1 year 8 months ago #45828

  • RedJoy
  • RedJoy's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hey,

Did you found a good tutorial after all?
The administrator has disabled public write access.

installing on ubuntu 16.04.1 1 year 8 months ago #45950

  • deheugden
  • deheugden's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
nope, havent found one :(
The administrator has disabled public write access.

installing on ubuntu 16.04.1 1 year 8 months ago #45972

  • Camo
  • Camo's Avatar
  • Offline
  • Administrator
  • I'll Try Catch Up
  • Posts: 487
  • Thank you received: 65
  • Karma: 16
The current installation guide will still work. You will need LAMP.
suitecrm.com/wiki/index.php/Installation
The administrator has disabled public write access.
The following user(s) said Thank You: deheugden

installing on ubuntu 16.04.1 1 year 8 months ago #45976

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 8555
  • Thank you received: 1307
  • Karma: 311
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 = 16MB (or bigger)
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

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
The following user(s) said Thank You: Camo, deheugden, RedJoy, WSiedler, stroudmw

installing on ubuntu 16.04.1 1 year 8 months ago #45980

  • RedJoy
  • RedJoy's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
I'm gonna test them(the notes) right away (on virtualbox) before installing them on the work server.
The administrator has disabled public write access.

installing on ubuntu 16.04.1 8 months 4 weeks ago #61794

  • WSiedler
  • WSiedler's Avatar
  • Offline
  • Junior Member
  • Posts: 30
  • Thank you received: 3
  • Karma: 0
pgr's notes worked very well for me on Ubuntu 16.04.

Regarding line
sudo chmod -R 775 cache custom modules themes data upload config_override.php
I would like to add that directory "cache" and file "config_override.php" were present only *after* the SuiteCRM installer had run. On the first try as per the notes I got a warning regarding these items. Hence, I repeated this step after installation.

After permission change and before the browser-based installation routine, I had to create the SuiteCRM database manually. I.e. by these steps:
mysql -u root -p
CREATE DATABASE suitecrm_db;
CREATE USER 'suitecrm' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON suitecrm_db.* TO 'suitecrm'@'localhost';
FLUSH PRIVILEGES;

Afterwards the web-based SuiteCRM installer ran as expected.
The administrator has disabled public write access.

installing on ubuntu 16.04.1 8 months 4 weeks ago #61796

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 8555
  • Thank you received: 1307
  • Karma: 311
i wonder why you had to create that database user, but I didn't need to... are you using MySQL also? Or MariaDB?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

installing on ubuntu 16.04.1 8 months 4 weeks ago #61801

  • WSiedler
  • WSiedler's Avatar
  • Offline
  • Junior Member
  • Posts: 30
  • Thank you received: 3
  • Karma: 0
I use MariaDB. Whatever credentials / database options I used in the installer, it wouldn't work.
After separate database preparation, the installer let me continue.
The administrator has disabled public write access.

installing on ubuntu 16.04.1 8 months 4 weeks ago #61806

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 8555
  • Thank you received: 1307
  • Karma: 311
This is something that should be fixed, I believe. There must be some little difference in MariaDB causing this....

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
Time to create page: 0.107 seconds
Powered by Kunena Forum