Installing SuiteCRM

To install SuiteCRM, you have many options,but two of those are to go with a bitnami account, or simply to self-host. I am choosing the hard way, because what is a SaaS implementation without a little bit of pain? Furthermore, I get to completely manage the important aspects of the CRM implementation, and can choose different directions without depending too much on third party vendors.

First, get a linux distro. I am using Ubuntu, because that’s what is easier.

Install a new user with privileges; let’s choose a tree:

adduser poplar

And now, you wil be prompted for a difficult password:

Set password prompts:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Let’s give this user SUDO powers:

usermod -aG sudo username

Now that you are not that dangerous, let’s update and upgrade with apt. All the cool kids are using apt:

sudo apt update && sudo apt upgrade

Then, install all ancillary software to get this thing working:

sudo apt install apache2 libapache2-mod-php mariadb-server, php7.0, php7.0-curl, php7.0-gd, php7.0-imap, php7.0-intl, php7.0-json, php7.0-mbstring, php7.0-mcrypt, php7.0-mysql, php7.0-xml, php7.0-zip, php-imagick

Great, now set up your SuiteCRM, by changing the configuration for PHP in your ubuntu machine. Is ubuntu generic now? Can I say it in lowercase?

vim /etc/php/7.0/cli/php.ini 

OK, these are the values that you want, just so you don’t get crazy errors that have nothing to do with your work. These come later.

post_max_size = 64M
upload_max_filesize = 64M
max_input_time = 120
memory_limit = 256M

Let’s restart Apache:

sudo service apache2 restart

Fine, now you are ready to install the interesting stuff: the database.
First, let’s make it secure.

sudo mysql_secure_installation

And we make sure these are the answers:

Set root password? [Y/n] y
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y

The last time I put a root password, the database was a bit finicky. Things might have to change there, though; and that is a shame, because there is not really a lot of info on this CRM to go to; the fora, and couple other websites, and voila, c’est tout!

Ok, now let’s wait another 8 months for my second update. Even George RR Martin writes faster than me.

Tagged with: ,

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.