{"id":9121,"date":"2021-03-17T08:39:17","date_gmt":"2021-03-17T05:39:17","guid":{"rendered":"https:\/\/kifarunix.com\/?p=9121"},"modified":"2024-03-19T18:54:57","modified_gmt":"2024-03-19T15:54:57","slug":"install-and-setup-vtiger-crm-on-debian-10","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-and-setup-vtiger-crm-on-debian-10\/","title":{"rendered":"Install and Setup Vtiger CRM on Debian 10"},"content":{"rendered":"\n
In this tutorial, we are going to learn how to install and setup Vtiger CRM on Debian 10. CRM is an abbreviation for Custom Relationship Management. Vtiger CRM<\/a> enables sales, support, and marketing teams to organize and collaborate to measurably improve customer experiences and business outcomes. In this tutorial, we are going to install the opensource version of Vtiger on Debian 10.<\/p>\n\n\n\n Ensure that you have at least 2 CPU cores, at least 4GB RAM and enough disk space. (Vtiger recommends 250G for attachments)<\/p>\n\n\n\n Vtiger is a PHP based web application. As such, ensure that you install and setup LAMP stack before you can proceed. We have covered the installation and setup of LAMP stack on Debian 10 in our previous guide. You can follow the link below to setup LAMP stack.<\/p>\n\n\n\n Install LAMP Stack with MariaDB 10 on Debian 10 Buster<\/a><\/p>\n\n\n\n Install other required PHP modules;<\/p>\n\n\n\n Open the Save and exit the file.<\/p>\n\n\n\n Next, once the LAMP stack is in place, login to MySQL as administrative user.<\/p>\n\n\n\n Note that we are using MariaDB 10.x in this tutorial.<\/p>\n\n\n\n Create Vtiger database and database user. Be sure to replace the usernames.<\/p>\n\n\n\n Grant all privileges to Vtiger database use on the Vtiger database.<\/p>\n\n\n\n Reload the privileges table and exit the database;<\/p>\n\n\n\n Next, implement the following global configuration for MariaDB;<\/p>\n\n\n\n Restart MariaDB;<\/p>\n\n\n\n Navigate to Vtiger downloads page<\/a> and the get latest tarball for the opensource version of Vtiger.<\/p>\n\n\n\n Once the download is complete, extract the tarball to your preferred web root directory. Note the Vtiger is a ready to deploy application.<\/p>\n\n\n\n In this demo, we will use Since we are using Apache as our web server for the Vtiger CRM, you need to create the web configuration file to define how to access Vtiger from web as follows;<\/p>\n\n\n\n Adjust your configuration accordingly making changes as per your setup.<\/p>\n\n\n\n If you want, you can configure Vtiger CRM with SSL\/TLS cerfiticates.<\/strong><\/p>\n\n\n\n Set the ownership of the Vtiger CRM web root directory to Apache user;<\/p>\n\n\n\n Save and exit the configuration file above.<\/p>\n\n\n\n Disable default Apache site;<\/p>\n\n\n\n Enable Vtiger CRM Apache site;<\/p>\n\n\n\n Enable Apache Rewrite Module;<\/p>\n\n\n\n Check Apache configuration syntax;<\/p>\n\n\n\n If you get Open Apache on UFW to allow external access;<\/p>\n\n\n\n You can then access it via the address, http:\/\/server-IP-or-hostname<\/strong>.<\/p>\n\n\n\n On the welcome page, click On the next page, accept the EULA and proceed.<\/p>\n\n\n\n On the Installation prerequisites, ensure that all pre-reqs are met. Otherwise fix them before you proceed.<\/p>\n\n\n\n On system configuration page, configure database connection details as defined above and setup your Vtiger CRM administrative account.<\/p>\n\n\n\n Click Next to review the system configuration settings.<\/p>\n\n\n\n On the Next<\/strong> page, select your Industry and click Next to proceed with installation.<\/p>\n\n\n\n Wait for the installation to complete. This might take some time<\/strong>.<\/p>\n\n\n\n Once the installation is done, Select the modules for the Vtiger features you would like to have.<\/p>\n\n\n\n Click Next and login to you Vtiger. Use the administrative credentials you set above.<\/p>\n\n\n\n You can now add more widgets to your dashboard.<\/p>\n\n\n\n Vtiger Documentation<\/a><\/p>\n\n\n\n Installation – Vtiger<\/a><\/p>\n\n\n\n Install and Setup Vtiger CRM on Ubuntu 20.04<\/a><\/p>\n\n\n\n Install and Setup Chrome Remote Desktop on Debian 10<\/a><\/p>\n\n\n\nInstall and Configure Vtiger CRM on Debian 10<\/h2>\n\n\n\n
Prerequisites<\/h3>\n\n\n\n
System Requirements<\/h4>\n\n\n\n
Install and Setup LAMP Stack<\/h4>\n\n\n\n
apt install php php-imap php-curl php-xml php-mysql php-mbstring<\/code><\/pre>\n\n\n\n
Configure PHP for Vtiger<\/h4>\n\n\n\n
\/etc\/php\/7.4\/apache2\/php.ini<\/strong><\/code> configuration file and make the following adjustments;<\/p>\n\n\n\n
vim \/etc\/php\/7.4\/apache2\/php.ini<\/code><\/pre>\n\n\n\n
memory_limit = 256M<\/code><\/pre>\n\n\n\n
max_execution_time = 60<\/code><\/pre>\n\n\n\n
log_errors = Off<\/code><\/pre>\n\n\n\n
display_errors = Off<\/code><\/pre>\n\n\n\n
short_open_tag = Off<\/code><\/pre>\n\n\n\n
Create Database and Database User for Vtiger<\/h4>\n\n\n\n
mysql -u root -p<\/code><\/pre>\n\n\n\n
create database vtiger default character set utf8 default collate utf8_general_ci;<\/code><\/pre>\n\n\n\n
grant all on vtiger.* to vtigeradm@localhost identified by 'myStr0nGp@ss';<\/code><\/pre>\n\n\n\n
flush privileges;<\/code><\/pre>\n\n\n\n
exit;<\/code><\/pre>\n\n\n\n
echo -e '[mysqld]\\nsql_mode = \"\"' >> \/etc\/mysql\/my.cnf<\/code><\/pre>\n\n\n\n
systemctl restart mariadb<\/code><\/pre>\n\n\n\n
Installing Vtiger CRM on Debian 10<\/h3>\n\n\n\n
Download Vtiger Application Tarball<\/h4>\n\n\n\n
wget https:\/\/sourceforge.net\/projects\/vtigercrm\/files\/vtiger%20CRM%207.3.0\/Core%20Product\/vtigercrm7.3.0.tar.gz<\/code><\/pre>\n\n\n\n
Extract and Install Vtiger CRM on Debian 10<\/h4>\n\n\n\n
\/var\/www\/vtigercrm<\/strong><\/code> as our default Vtiger CRM web root directory.<\/p>\n\n\n\n
mkdir \/var\/www\/vtigercrm<\/code><\/pre>\n\n\n\n
tar xzf vtigercrm7.3.0.tar.gz --strip-components=1 -C \/var\/www\/vtigercrm\/<\/code><\/pre>\n\n\n\n
Create Apache Web Configuration for Vtiger CRM<\/h4>\n\n\n\n
cat > \/etc\/apache2\/sites-available\/vtigercrm.conf << EOL\n<VirtualHost *:80>\n ServerName vtigercrm.kifarunix-demo.com\n DocumentRoot \/var\/www\/vtigercrm\/\n\n <Directory \/var\/www\/vtigercrm\/>\n Options FollowSymlinks\n AllowOverride All\n Require all granted\n <\/Directory>\n\n ErrorLog \/var\/log\/apache2\/vtigercrm_error.log\n CustomLog \/var\/log\/apache2\/vtigercrm_access.log combined\n<\/VirtualHost>\nEOL<\/code><\/pre>\n\n\n\n
chown -R www-data:www-data \/var\/www\/vtigercrm\/<\/code><\/pre>\n\n\n\n
a2dissite 000-default.conf<\/code><\/pre>\n\n\n\n
a2ensite vtigercrm.conf<\/code><\/pre>\n\n\n\n
a2enmod rewrite<\/code><\/pre>\n\n\n\n
apachectl -t<\/code><\/pre>\n\n\n\n
Syntax OK<\/code><\/strong>, proceed to restart Apache.<\/p>\n\n\n\n
systemctl restart apache2<\/code><\/pre>\n\n\n\n
Finalize Vtiger CRM Setup from Browser<\/h4>\n\n\n\n
ufw allow 80\/tcp<\/code><\/pre>\n\n\n\n
Install<\/code><\/strong> button to go through the setup wizard.<\/p>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
Further Reading<\/h3>\n\n\n\n
Reference<\/h3>\n\n\n\n
Other Tutorials<\/h3>\n\n\n\n