Install VTiger CRM on an Ubuntu 14.04 VPS
The modular design makes VTiger CRM customizable to all your individual requirements and supports you in sales, marketing, controlling and service.
In this tutorial we will install VTiger CRM on a Ubuntu 14.04 VPS.
We will be using our SSD 1 Linux VPS Hosting plan for this tutorial.
Login to your server via SSH
# ssh [email protected]_ip
You can check whether you have the proper version of Ubuntu installed on our server with the below command:
# lsb_release -a
Which should give you the underneath output:
Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty
UPDATE THE SYSTEM
Make sure your server is fully up to date.
# apt-get update && apt-get upgrade
After that, you’ll need to create a database for your VTiger installation. Log into MySQL as root:
# mysql -u root -p
Use the below statements:
mysql> create database vtiger; mysql> grant all privileges on vtiger.* to [email protected] identified by 'your_password'; mysql> flush privileges; mysql> exit
First, create a directory for the VTiger installation. We will name it vtiger. Execute the following:
# mkdir -p /var/www/html/vtiger/
Enter the newly created directory:
# cd /var/www/html/vtiger/
Download the latest VTiger version (which at this point is 6.4) and unpack it using the below commands:
# wget http://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%206.4.0/Core%20Product/vtigercrm6.4.0.tar.gz # tar zxvf vtigercrm6.4.0.tar.gz
Move everything from the unpacked vtigercrm directory into the one you are currently stationed:
# mv vtigercrm/* .
Remove the unnesessary directory and file:
# rm -rf vtigercrm/ vtigercrm6.4.0.tar.gz
Assign the proper ownership on the Vtiger installation files and directories:
# chown www-data: -R ../vtiger/
Next, you need to create a virtual host directive for the domain that you’ll want to serve VTiger. Create an empty file, let’s call it vtiger.conf:
# touch /etc/apache2/sites-available/vtiger.conf
Enable the site:
# ln -s /etc/apache2/sites-available/vtiger.conf /etc/apache2/sites-enabled/
Now, open the empty vtiger.conf file with your favorite text editor and paste the following:
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/html/vtiger/ ServerName yourdomain.com ServerAlias www.yourdomain.com <Directory /var/www/html/vtiger/> Options FollowSymLinks AllowOverride All </Directory> ErrorLog /var/log/apache2/yourdomain.com-error_log CustomLog /var/log/apache2/yourdomain.com-access_log common </VirtualHost>
Restart Apache for the changes to take effect:
# /etc/init.d/apache2 restart
Now, let’s tweak some of your PHP settings so you can later complete the VTiger installation. Open the php.ini file:
# nano /etc/php5/cli/php.ini
Make the below changes:
display_errors = Off change to display_errors = On max_execution_time = 30 change to max_execution_time = 600 error_reporting = E_ALL & ~E_DEPRECATED change to error_reporting = E_WARNING & ~E_NOTICE & ~E_DEPRECATED log_errors = On change to log_errors = Off short_open_tag = Off change to short_open_tag = On
Save and close the file.
Restart Apache again:
# /etc/init.d/apache2 restart
You can now open your favorite browser and navigate to yourdomain.com so you can finish the VTiger installation.
Once you get to the Vtiger’s Pre Installation check screen you should see that everything is OK. If there are some recommended PHP settings or modules that need to be installed, apply the needed changes. In the next window you will need to enter the information for the database that you created previously, create an Administrator user, set a password for it and some other similar things. After you click Next, you will be welcomed by the Optional Modules screen. Here you can choose which optional modules should be installed in Vtiger CRM.
Then, click Next to start the installation.
Congratulations, you have successfully installed VTiger on your Ubuntu 14.04 VPS.
Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install VTiger for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.