Install Vtiger CRM on CentOS 7




In this tutorial we will show you how to install the latest version of Vtiger CRM on a CentOS 7 VPS. You need to have LAMP stack installed on your server.

Check php version
php -v

Now update oprating system packages
yum update

The update should take no more than few minutes to complete, so once your system software is up to date you can proceed with the other steps of this tutorial.

Now go to opt partition
cd /opt


Once you download the archive, you can proceed and unpack the files:

tar -xzvf vtigercrm6.3.0.tar.gz

Change the ownership of the files and move them to your /var/www/html directory:

chown apache: -R vtigercrm

mv vtigercrm /var/www/html/

Now create the database for your application. To do that you need to log in to your MySQL server:

mysql -u root -p

And execute the following commands one by one:

CREATE USER ‘vtiger_user’@’localhost’ IDENTIFIED BY ‘PaSsWoRd’;
GRANT ALL PRIVILEGES ON `vtiger`.* TO ‘vtiger_user’@’localhost’;

systemctl restart httpd

Now, access your Vtiger CRM application using your favorite web browser.