Sat. Jan 22nd, 2022

If your enterprise wants a Buyer Useful resource Administration platform, Jack Wallen has an open-source answer that simply may match the invoice. Right here, he’ll stroll you thru putting in SuiteCRM.


Picture: Jirsak, Getty Photographs/iStockphoto

As your enterprise grows, you will in all probability end up needing to handle buyer relations. With such a platform out there to your enterprise, your employees can higher handle their purchasers, clients, alternatives, leads and rather more.

SEE: Guidelines: Easy methods to handle your backups (TechRepublic Premium)

What you will want

You could be pondering, “Why not simply go along with a paid service for this?” In case your price range is tight, it is best to take into account deploying such a service by yourself. Not solely will it prevent cash, but it surely’ll additionally preserve all your essential information in-house. On this day of fixed safety breaches, having that information inside the confines of your information heart is usually a much-needed safety blanket (as long as your community is safe).

I will stroll you thru the method of putting in the open-source SuiteCRM platform, one which focuses on gross sales, advertising and providers administration.

The one issues you’ll want to make this work are a working occasion of Ubuntu Server and a consumer with sudo privileges. With these issues on the prepared, let’s get to work.

Easy methods to set up NGINX and MariaDB

We’ll use NGINX and MariaDB as our internet and database servers. To put in these items, log in to your Ubuntu server and subject the command:

sudo apt set up nginx mariadb-server -y

As soon as these two items set up, begin and allow the providers with:

sudo systemctl begin nginx
sudo systemctl begin mariadb
sudo systemctl allow nginx
sudo systemctl allow mariadb

Give the MariaDB root consumer a password with the command:

sudo mysql_secure_installation

Be sure to make use of a safe/distinctive password after which reply y to the remaining questions. Lastly, set up the mandatory dependencies with:

sudo apt set up php-imagick php7.4-fpm php7.4-mysql php7.4-common php7.4-gd php7.4-imap php7.4-json php7.4-curl php7.4-zip php7.4-xml php7.4-mbstring php7.4-bz2 php7.4-intl php7.4-gmp -y

Easy methods to create the database

Subsequent, we’ll create the database. Log in to the MariaDB console with:

sudo mysql -u root

Create the database with:


Create the suitecrm database consumer with:

GRANT ALL ON suitecrm.* TO 'suitecrm'@'localhost' IDENTIFIED BY 'PASSWORD';

The place PASSWORD is a powerful/distinctive password.

Flush the privileges and exit from the console with:


Easy methods to obtain and unpack SuiteCRM

The subsequent step is to obtain and unpack the most recent model of SuiteCRM. Obtain the file with:


Unpack the file with:

sudo unzip -d /var/www/

Rename the newly created listing with:

sudo mv /var/www/SuiteCRM-8.0.0/ /var/www/suitecrm

Give the brand new listing the right possession and permissions with:

sudo chown -R www-data:www-data /var/www/suitecrm/
sudo chmod -R 755 /var/www/suitecrm/

Easy methods to configure PHP and NGINX

The very first thing we should do is change the PHP add filesize max from 2MB to 20MB. Open the mandatory file for modifying with:

sudo nano /and many others/php/7.4/fpm/php.ini

In that file, change the road:

upload_max_filesize = 2M


upload_max_filesize = 20M

Restart PHP-FM and NGINX with the instructions:

sudo systemctl restart php7.4-fpm
sudo sytemctl restart nginx

Create an NGINX configuration file with:

sudo nano /and many others/nginx/conf.d/suitecrm.conf

In that file, paste the next (altering the server_name filed to the IP handle of your internet hosting server):

server {
    hear 80;
    hear [::]:80;
    root /var/www/suitecrm;
    error_log /var/log/nginx/suitecrm.error;
    access_log /var/log/nginx/suitecrm.entry;
    client_max_body_size 20M;
    index index.php index.html index.htm index.nginx-debian.html;
    location / {

        # attempt to serve file instantly, fallback to app.php
        try_files $uri /index.php$is_args$args;

    location ~ .php$ {
        embrace snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.4-fpm.sock;

        #Notice: In the event you set up SuiteCRM on iRedMail server, it is best to use the TCP socket as a substitute.

    location ~* ^/index.php {
        # try_files $uri =404;
        fastcgi_split_path_info ^(.+.php)(/.+)$;

        # NOTE: You need to have "cgi.fix_pathinfo = 0;" in php.ini
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;

        #Notice: In the event you set up SuiteCRM on iRedMail server, it is best to use the TCP socket as a substitute.
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        embrace fastcgi_params;
        fastcgi_buffer_size 128k;
        fastcgi_buffers 256 16k;
        fastcgi_busy_buffers_size 256k;
        fastcgi_temp_file_write_size 256k;

    # Do not log favicon
    location = /favicon.ico {
        log_not_found off;
        access_log off;

    # Do not log robots
    location = /robots.txt  {
        access_log off;
        log_not_found off;

    # Deny all makes an attempt to entry hidden recordsdata/folders equivalent to .htaccess, .htpasswd, .DS_Store (Mac), and many others...
    location ~ /. {
        deny all;
        access_log off;
        log_not_found off;

Reload NGINX with:

sudo systemctl reload nginx

Easy methods to entry the SuiteCRM Net installer

Open an internet browser and level it to http://SERVER/set up.php (The place SERVER is the IP handle or area of your internet hosting server). You may be greeted by a license settlement window. Settle for the license, and click on Subsequent. Click on Subsequent within the ensuing window (all the pieces ought to try with the set up), and you will be greeted by the database configuration window (Determine A).

Determine A


Be sure to fill out the entire vital info, together with the Admin consumer bits.

One factor to notice within the database configuration part: You may want to vary the IP handle of the internet hosting database server to localhost. The remainder of the knowledge will come from the setup we created within the MariaDB console. 

If you’ve completed filling within the info, click on Subsequent. As soon as the set up completes, you will be greeted by the login display, the place you’ll be able to log in together with your newly created admin consumer. 

And that is it, you now have a working occasion of SuiteCRM to make use of. Take the time to customise the platform for your enterprise, and also you’re able to go.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendation for enterprise execs from Jack Wallen.

Additionally see

Source link

By admin

Leave a Reply

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