4 C
Texas
angeloma
Senior Writer and partner

How to install SuiteCRM on Ubuntu 20.04?

Hello, friends. In this post, learn how to install SuiteCRM on Ubuntu 20.04

SuiteCRM is an application that loads the sales, markets, and services administration of a company. It also helps to organize all the processes concerning these activities translating this into process improvements and time-saving.

Therefore, we are talking about an important tool for many companies worldwide.

Install SuiteCRM on Ubuntu 20.04

1.- Install LAMP on Ubuntu 20.04

The first step is to install a complete webserver because SuiteCRM is a web application. It is compatible with Nginx and Apache, in this case, I will choose Apache and MariaDB that is the LAMP stack.

- Advertisement -

How to install LAMP on Ubuntu 20.04?

Also, install the following PHP packages and modules.

php7.4 php7.4-gd php7.4-opcache php7.4-mbstring php7.4-xml php7.4-json php7.4-zip php7.4-curl php7.4-imap php-mysql unzip wget nano

2.- Creating a new Database for SuiteCRM

Now it is necessary to create a new database and user for the program. This is necessary since SuiteCRM handles a lot of data and uses MariaDB to store it.

So, open the MariaDB shell and create the database, user, and permissions:

sudo mysql -u root -p

CREATE DATABASE suitecrmdb;
GRANT ALL PRIVILEGES ON suitecrmdb.* TO 'suiteuser'@'localhost' IDENTIFIED BY 'suitepss';
FLUSH PRIVILEGES;
EXIT;

This is enough.

3.- Configuring PHP to work with SuiteCRM

PHP is a very flexible language and we can configure it together with Apache to increase its power. In addition to this, the process is necessary to enjoy a full experience with SuiteCRM

So, open the configuration file:

sudo nano /etc/php/7.4/apache2/php.ini

And using the key combination CTRL + W edit the following fields and assign these values:

file_uploads = On
default_charset = UTF-8
memory_limit = 128M
post_max_size = 60M
upload_max_filesize = 60M
memory_limit = 256M
max_input_time = 60
max_execution_time = 5000

Then save the changes, close the editor, and restart Apache to apply the changes.

sudo systemctl restart apache2

4.- Download SuiteCRM on Ubuntu 20.04

Now we can download SuiteCRM, for this we will use the wget comma

cd /tmp/
wget https://suitecrm.com/files/162/SuiteCRM-7.11/525/SuiteCRM-7.11.18.zip

Now decompress it using unzip.

unzip SuiteCRM-7.11.18.zip

Then, move it to the Apache root directory and assign the necessary permissions as well as make Apache the owner of the folder.

sudo mv SuiteCRM-7.11.18 /var/www/html/suite/
sudo chown -R www-data:www-data /var/www/html/suite/
sudo chmod 755 -R /var/www/html/suite/

Now it is necessary, to create a new Virtualhost for SuiteCRM.

sudo nano /etc/apache2/sites-available/suite.conf

And add the following content:

<VirtualHost *:80>
    ServerAdmin [email protected]
    ServerName suite.osradar.test
    DocumentRoot /var/www/suite/

    <Directory /var/www/suite>
            DirectoryIndex index.php
            Options FollowSymLinks
            AllowOverride All
            Require all granted
    </Directory>
ErrorLog ${APACHE_LOG_DIR}/suite_error.log
CustomLog ${APACHE_LOG_DIR}/suite_access.log combined
</VirtualHost>

Remember that you have to change ServerName by yours. Save the changes and close the editor.

Enable the new site, the rewrite module, and finally restart Apache.

sudo a2ensite suite.conf
sudo a2enmod rewrite
sudo systemctl restart apache2

Now we can complete the installation

5.- Install SuiteCRM on Ubuntu 20.04

We will now be able to complete the installation using SuiteCRM’s web interface. Go to http://your-server and you will see the license terms.

2.- License terms
2.- License terms

Accept them and continue by clicking the Next button.

The installer will then start a system scan to verify that you have all the requirements met.

3.- Checking the system environment
3.- Checking the system environment

You will then see a screenshot of the SuiteCRM installation. On one side we have the configuration of the database and on the other the creation of the administrator user.

4.- Installing SuiteCRM on Ubuntu 20.04
4.- Installing SuiteCRM on Ubuntu 20.04

Also, you can review each of the installation options to adjust it. When you are ready you can continue.

Then the installation will start and if everything goes well, at the bottom you will see a message similar to this one:

5.- SuiteCRM installed
5.- SuiteCRM installed

And immediately after you click Next, you will be taken to the SuiteCRM login screen

6.- SuiteCRM login screen
6.- SuiteCRM login screen

When you log in you will see the dashboard and the application will be ready for work.

7.- SuiteCRM dashboard on Ubuntu 20.04
7.- SuiteCRM dashboard on Ubuntu 20.04

So, enjoy it.

Conclusion

The CRM software is an important tool for many companies and if there are many SuiteCRM wins in implementation and versatility. Now that you have learned to install it on Ubuntu, it remains to get all the benefits for your company.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article