Vtiger CRM is an open-source Customer Relationship Management application written in PHP. It offers features such as sales automation, marketing automation, analysis and reporting, customer support and many others. It is very easy to install this software on a Linux VPS, so if you like to have your own CRM application on your server you can proceed with the following steps.
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. It is pretty easy to install LAMP stack on your Linux VPS if you do not have it already installed. Also, make sure that your server runs PHP version 5.5 or above since the latest version of Vtiger CRM (at the moment of writing is 6.2.0) requires PHP 5.5 or above. To check the PHP version on your server, you can log in to your server via SSH and run the following command:
Next, you need to upgrade your system software to the latest version available. You can do this by executing the following command:
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.
Navigate to the /opt directory on your server and download the latest version of Vtiger CRM:
cd /opt wget http://downloads.sourceforge.net/project/vtigercrm/vtiger%20CRM%206.2.0/Core%20Product/vtigercrm6.2.0.tar.gz
Once you download the archive, you can proceed and unpack the files:
tar -xzvf vtigercrm6.2.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/
Vtiger CRM requires MySQL database to store its data and now it is the right time for you to 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 DATABASE vtiger; CREATE USER 'vtiger_user'@'localhost' IDENTIFIED BY 'PaSsWoRd'; GRANT ALL PRIVILEGES ON `vtiger`.* TO 'vtiger_user'@'localhost'; FLUSH PRIVILEGES;
For security reasons you should use stronger password for your database user.
Now, access your Vtiger CRM application using your favorite web browser.
Replace IP-ADDRESS with the IP address of your CentOS VPS.
Continue with the online installation. You will have to enter the database information, create an Administrator user and set a password as well as some other similar things. Moreover, you may have to change some settings in your php.ini file. The installation setup will provide you with more information about the settings you need to change. Once you make the changes in your php.ini file, it is necessary to restart your Apache web server.
systemctl restart httpd