Last active
January 19, 2021 09:50
-
-
Save LinuxFintech/9bf3c10e8c1e9c1169eae914c16cd95d to your computer and use it in GitHub Desktop.
How To Install vTiger CRM Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you need vTiger CRM Setup contact me: | |
Email: [email protected] | |
Telegram:LinuxFintech | |
Skype: https://join.skype.com/Xgxp7aNBOItS | |
Imo: +8801735917013 | |
WhatsApp: +8801735917013 | |
#!/bin/sh | |
sudo -i | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install apache2 mariadb-server libapache2-mod-php7.2 php7.2 php7.2-cli php7.2-mysql php7.2-common php7.2-zip php7.2-mbstring php7.2-xmlrpc php7.2-curl php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-ldap php7.2-imap unzip wget -y | |
nano /etc/php/7.2/apache2/php.ini | |
systemctl start apache2 | |
systemctl start mariadb | |
systemctl enable apache2 | |
systemctl restart mariadb | |
sudo mysql -u root -p | |
CREATE DATABASE vtiger DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
GRANT ALL ON vtiger.* TO 'tiger'@'localhost' IDENTIFIED BY 'tig@r2020'; | |
use vtiger; | |
FLUSH PRIVILEGES; | |
EXIT; | |
rm -rf /var/www/html/ | |
mkdir /var/www/html/ | |
wget https://excellmedia.dl.sourceforge.net/project/vtigercrm/vtiger%20CRM%207.1.0/Core%20Product/vtigercrm7.1.0.tar.gz | |
tar -xvzf vtigercrm7.1.0.tar.gz | |
cp -r vtigercrm /var/www/html/ | |
chown -R www-data:www-data /var/www/html/vtigercrm | |
chmod -R 755 /var/www/html/vtigercrm | |
# create an apache virtual host file for vTiger CRM. You can create it with the following command: | |
nano /etc/apache2/sites-available/vtigercrm.conf | |
# Add the following lines: | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName localhost | |
DocumentRoot /var/www/html/vtigercrm/ | |
ErrorLog /var/log/apache2/vtigercrm_error.log | |
CustomLog /var/log/apache2/vtigercrm_access.log combined | |
</VirtualHost> | |
# for save press ctrl+x then press "y" then hit enter | |
a2ensite vtigercrm | |
a2dissite 000-default | |
a2enmod rewrite | |
systemctl restart apache2 | |
systemctl status apache2 | |
#Install #vTiger #CRM Linux |
Author
LinuxFintech
commented
Jan 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment