In this guide, we will check how to install vTiger CRM system (Open Source)Â on Debian 11 server. We will be using LAMP Stack for the installation.
For installing the vTiger CRM system (Open source) you need to fulfill the following specs
The very first step in installing vTiger CRM system is to install the LAMP Stack on Debian server
First, make sure that your Debian repository is updated by executing the following command
sudo apt update
Once done, now install some packages and LAMP Stack using the following command
sudo apt install apache2 mariadb-server php libapache2-mod-php php-common php-sqlite3 php-json php-curl php-intl php-mbstring php-xmlrpc php-mysql php-gd php-xml php-cli php-zip php-soap php-imap php-bcmath wget unzip -y
After the installation of LAMP Stack and some other packages, execute the following command to check the Apache2 and MariaDB status
sudo systemctl status apache2
sudo systemctl status mariadb
Make sure, that it shows the status of Apache2 and MariaDB as “Active”
The second step encompasses configuring and setting up he MariaDB server
Use nano editor to make changes in the MariaDB configurations
sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
Make the following changes in the mysqld section
sql_mode = “”
Save the changes in the file and restart the MariaDB by executing the following command, so that the new changes can take effect
sudo systemctl restart mariadb
Afterwards we have to secure the Maria DB server, for that use the following commands, it will help in making it secure
sudo mysql_secure_installation
Set MariaDB configuration as below
Enter current password for root (enter for none): Just press the Enter
Set root password? [Y/n]:Â Y
New password:
Re-enter new password:Â
Remove anonymous users? [Y/n]:Â Y
Disallow root login remotely? [Y/n]:Â Y
Remove test database and access to it? [Y/n]:Â Y
Reload privilege tables now? [Y/n]:Â Y
In third step, PHP configurations will be done
Use the nano editor to make changes in /etc/php/7.4/apache2/php.ini file
Make the following changes in the default configurations
memory_limit = 512M<br /> upload_max_file_size = 100M<br /> log_errors = Off<br /> max_execution_time = 100<br /> date.timezone =
Save the changes by pressing CTRL+X and then Y
Now restart the the Apache2 using following command
sudo systemctl restart apache2
In this step we will be creating Vtiger CRM database, vTiger user and vTiger password
sudo mysql -u root -p
CREATE DATABASE vtigerdb;</ul> </li> <li style="list-style-type: none;"> <ul>CREATE USER vtiger@localhost IDENTIFIED BY 'vtigerpassword';</ul> </li> <li style="list-style-type: none;"> <ul>GRANT ALL ON vtigerdb.* TO vtiger@localhost WITH GRANT OPTION;</ul> </li> </ul> </li> </ul> <p>FLUSH PRIVILEGES;
Next step is to download and install the vTiger CRM (open source) on the server. Here, we will be downloading the vTiger CRM 7.4.0, as it is the latest version of the Vtiger
cd /var/www/<br /> wget https://onboardcloud.dl.sourceforge.net/project/vtigercrm/vtiger%20CRM%207.4.0/Core%20Product/vtigercrm7.4.0.tar.gz
tar -xzvf vtigercrm7.4.0.tar.gz
sudo chown -R www-data:www-data vtigercrm
Now, we will configure the apache for virtual host
First make sure to execute the following command before configuring the virtual host, in order to to enable required modules for the vTiger CRM
sudo a2enmod ssl rewrite headers
Create a new configuration file by the name of vtigercrm.conf, for Vtiger crm using the following command
sudo nano /etc/apache2/sites-available/vtigercrm.conf
Configure the following conditions in the config file. Make sure to change SSL certificate paths and domain name
<VirtualHost *:443>
ServerAdmin admin@example.io
DocumentRoot /var/www/vtigercrm
ServerName example.io
Protocols h2 http/1.1
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/example.io/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.io/privkey.pem
<Directory /var/www/vtigercrm/>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/apache2/vtigercrm_error.log
CustomLog /var/log/apache2/vtigercrm_access.log combined
</VirtualHost>
After that, run the below provided command to enable the virtual hosts
sudo a2ensite vtigercrm.conf<br />
sudo apachectl configtest
Restart the Apace2 service
sudo systemctl restart apache2
In this step, we will be finalizing the vTiger CRM installation
1 Comment
HI,
we have freepbx setup on 1 vm and vtiger 7.4 on another
both are on local lan
need someone to get the following for us
1. integration between the 2
2. call recordings, call popup and all call center features to work
3. preferably we would want to us IP phone (hardware) for calling and not  any softphone
let me know the possibility and you service cost for the same
just to let you know freepbx and vtiger are working independently with no issues and there use to be an extension from vtiger called as ‘phone connector’ – which is no loner in use and some Russian guy had made some patch and that is what is being used
its called the Jaime’s patch