How do I install Vtiger CRM on CentOS 8?

Step 1 First, let's make sure your system is up to date.
sudo dnf clean all
sudo dnf update
Step 2 Install the LAMP Stack.
If you have not installed the LAMP stack on your server, you can follow the instructions here.
Step 3 Install Vtiger CRM on CentOS 8.
Now, we use the following wget command to download the latest version of Vtiger to your CentOS system:

tar xvf vtigercrm7.2.0.tar.gz
sudo mv vtigercrm /var/www/html/

Don't forget that we will need to change some folder permissions:
sudo chown -R apache:apache /var/www/html/vtigercrm
Step 4 Configure MariaDB for Vtiger CRM.
By default, MariaDB is not hardened. You can use mysql_ secure_ The installation script protects MariaDB. You should read each step carefully and operate carefully under each step. This will set the root password, delete anonymous users, prohibit remote root login, delete the test database and access to the secure MariaDB.
Configure it like this:

- Set root password? [Y/n] y
- 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

Next, we will need to log in to the MariaDB console and create a database for Vtiger CRM. Run the following command:
mysql -u root -p
This will prompt you for a password, so Enter your MariaDB root password and press Enter. After logging into the database server, you need to create a database for Vtiger CRM installation:

MariaDB > CREATE USER 'vtiger_user'@'localhost' IDENTIFIED BY 'your-strong-passwd';
MariaDB > GRANT ALL PRIVILEGES ON `vtiger`.* TO 'vtiger_user'@'localhost';
MariaDB > \q

Step 5 Configure the Apache Web server.
First, create a virtual host file for vTiger:
sudo nano /etc/httpd/conf.d/vtigercrm.conf
Add the following command:

<VirtualHost *:80>
DocumentRoot /var/www/html/vtigercrm/

<Directory /var/www/html/vtigercrm/>
Options +FollowSymlinks
AllowOverride All
Require all granted

ErrorLog /var/log/httpd/vtigercrm_error.log
CustomLog /var/log/httpd/vtigercrm_access.log combined

Finally, restart the Apache service for the changes to take effect:
sudo systemctl restart httpd
Step 6 Configure firewall.
Open HTTP port in firewall:
sudo firewall-cmd --add-service=http --permanent
sudo firewall-cmd --reload
Then, disable SELinux on CentOS system:
sudo setenforce 0
sudo sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
Step 7 Visit Vtiger CRM.
By default, Vtiger CRM will be available on HTTP port 80. Open your favorite browser and browse to or http://server-ip-address Complete the steps required to complete the installation.
congratulations! You have successfully installed Vtiger CRM. A5 interconnection

Posted by tyrol_gangster on Thu, 12 May 2022 14:31:03 +0300