Close this search box.

How to Install SuiteCRM on CentOS 7

Table of Contents

In this tutorial, I will show you How to Install SuiteCRM on CentOS

SuiteCRM is a software fork of the popular customer relationship management (CRM) system from SugarCRM.It is a free and open source alternative application based on the last open-source SugarCRM release and contains many additional enhancements and new modules. First, you need to create an account in VPSie.You can create a free account by following this link. After, fund your account and click Add VPS button.Now create VPS server with CentOS 7 installed on it. Be secure that you select this OS when you created the server.


The SuiteCRM doesn’t need so much space. Can work with all VPSie plans so you can choose which you want.Now follow all steps to successfully install. First, before installing any package you need to update packages by following this command
yum -y update

Installing Apache

After, SuiteCRM requires web server so we’re going to install Apache.

To install follow these commands:

yum -y install httpd
And run this command to start Apache
systemctl start httpd systemctl enable httpd

Installing Webtatic

To install Webtatic repository we need to install EPEL repository because EPEL repository is required before we install Webtatic repository. To install EPEL repository run this command :
yum -y install epel-release yum -y update yum clean all
After, we are eligible to install Webtatic repository.So we can do it by following this command:
rpm -Uvh yum -y update

Installing PHP

To install PHP 7.0 we need to install all PHP modules. So you can install all with this command:
yum -y install php70w php70w-mysql php70w-xml php70w-json php70w-gd php70w-mbstring php70w-zip php70w-imap php70w-pcre php70w-zlib php70w-curl
After, when PHP 7.0 is installed we need to configure php.ini.We can open and edit /etc/php.ini with nano. If you don’t have nano installed in you server run this command yum install nano Edit php.ini by following this command:
nano /etc/php.ini
Find the lines and edit like this ; Maximum amount of memory a script may consume (128MB) ; memory_limit = 128M ; Maximum allowed size for uploaded files. ; upload_max_filesize = 2M upload_max_filesize = 20M After, save those changes, restart Apache to be affected.

Installing MariaDB

To install MariaDB follow this VPSie article

Installing SuiteCRM

After installing MariaDB, download SuiteCRM by running this command:
cd /opt wget
You can check newer versions in Now extract the files using the following command.
After unzipping, move all files to the web directory.
mv SuiteCRM-7.7.9/* /var/www/html cd /var/www/html
And provide the owner ship of the files
chown -R apache:apache /var/www/html
chcon -R -t httpd_sys_content_rw_t /var/www/html setsebool httpd_can_network_connect_db=on setsebool httpd_can_network_connect=on setsebool httpd_can_sendmail=on setsebool httpd_unified=on


Go to http://yourIPaddress or to see web interface. After finish wizard steps and you have successfully installed SuiteCRM on CentOS 7.

If you would like to install Letsencrypt to obtain free SSL certificate:

yum install epel-release mod_ssl
yum install python-certbot-apache
certbot --apache -d
certbot --apache -d
certbot renew
To automate this renewal process you may setup a cronjob. Firstly, open the crontab:
crontab -e
This job can be safely scheduled to run every Monday at midnight:
0 0 * * 1 /usr/bin/certbot renew >> /var/log/sslfree.log
The output of the script will be piped to
file. Enjoy! If you have questions you can always ping us on chat or open a support ticket for help.
Make a Comment
Share on
VPSie Cloud service

Fast and Secure Cloud VPS Service

For a month

The First 1 orders gets free discount today! Try Sign up on VPSie to get a chance to get the discount.