How to Install Vtiger CRM on Ubuntu 18.04 System

Source: Internet
Author: User
Keywords ubuntu crm vtiger crm linux crm database
Tags ubuntu crm ubuntu 18.04 vtiger crm linux crm database tools sql

This article describes how to install Vtiger CRM on Ubuntu 18.04 system. Please configure the Apache web server, PHP, and MariaDB database first. After operating the dependencies, you can download Vtiger and install and configure it.

1.Install PHP and MariaDB

Install PHP and its extensions by running the following command on a terminal:

sudo apt install -y php php-cli php-mysql php-common php-zip php-mbstring php-xmlrpc php-curl php-soap php-gd php-xml php-intl php-ldap

You also need to install the libapache2-mod-php extension:

sudo apt install -y libapache2-mod-php

Then configure php.ini:

sudo vim /etc/php/7.2/apache2/php.ini

Set as:

date.timezone = Asia / Shanghai

memory_limit = 256M
upload_max_filesize = 64M

display_errors = On

log_errors = Off

After installing PHP and configuring, please install MariaDB database, please refer to the steps for installing MariaDB 10.4 on Ubuntu 18.04 system, or you can use MySQL database, please refer to the entire process of installing MySQL 8.0.11 on Ubuntu 18.04 / 16.04 command line.

After installing the database, you can log in as root and create a database for vTiger CRM:

$ mysql -u root -p

CREATE USER 'vtiger' @ 'localhost' IDENTIFIED BY 'StrongPassword';

CREATE DATABASE vtiger;

GRANT ALL PRIVILEGES ON vtiger. * TO 'vtiger' @ 'localhost';

FLUSH PRIVILEGES;

QUIT

Then check if you can log in to the Database shell as the vtiger user, the command is mysql -u vtiger -p, as shown below:

img

2.Download Vtiger CRM on Ubuntu 18.04 and install

Vtiger CRM download address.

The next step is to download Vtiger to Ubuntu 18.04 using the wget command:
wget https://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%207.1.0/Core%20Product/vtigercrm7.1.0.tar.gz

Extract the archive to get the files:
tar xvf vtigercrm7.1.0.tar.gz

Move the vtigercrm folder and its contents to / srv / vtigercrm:
sudo mv vtigercrm / srv / vtigercrm

Then set the appropriate permissions:

chown -R www-data: www-data / srv / vtigercrm

3.Install and configure Apache2

Install Apache2 using the following command:
sudo apt -y install apache2

sudo a2enmod rewrite
Then create a virtual host file for Vtiger

sudo vim /etc/apache2/sites-enabled/vtigercrm.conf

Add the following code:

<VirtualHost *: 80>
ServerAdmin webmaster@example.com
ServerName crm.example.com

ServerAlias www.crm.example.com

DocumentRoot / srv / vtigercrm /
<Directory / srv / 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>
Verification file:

$ sudo apachectl -t

Syntax OK

Restart the apache2 service:
sudo systemctl restart apache2

Then open http://crm.example.com in your browser (please change to the target domain name) to complete the installation.

The first page displayed will be the installation wizard, click Agree to accept the license agreement.

Confirm all installation basic conditions check Click the Next button.

The configuration is as follows:

1]. Provide database and system information.

Database type: MySQL

Host name: localhost

User name: vtiger

Password: StrongPassword

Database name: vtiger

2]. Provide system information

Provide admin user password

Provide Last Name

Provide email address for admin user

Set date format and time zone

Confirm the settings and click Next
Set your industry type and finish installing Vtiger
Complete installation on Ubuntu 18.04 system and log in to Control Center to start managing Vtiger CRM.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.