Skip to content

Instantly share code, notes, and snippets.

@LinauxTerminology
Last active March 7, 2021 17:14
Show Gist options
  • Select an option

  • Save LinauxTerminology/145605d6a738065630ced42962797d8e to your computer and use it in GitHub Desktop.

Select an option

Save LinauxTerminology/145605d6a738065630ced42962797d8e to your computer and use it in GitHub Desktop.
I Will Do vTiger CRM Install Linux
If you need vTiger CRM Setup contact with me:
Email: urmirohman218@gmail.com
Skype: https://join.skype.com/VOgbAxZNCAFi
Telegram: https://t.me/LinauxTerminology
WhatsApp: +8801408694088
Imo: +8801408694088
twiteer:https://twitter.com/LinauxTerminoal
facebook:https://www.facebook.com/LinauxTerminology
bip:01314582960
instagram:urmirohman218@gmail.com
A server running Ubuntu 18.04.
A static IP address 192.168.0.103 is setup to your server.
A root password is setup to your server.
Getting Started
Before starting, you will need to update your system with the latest version. You can do this by running the following command:
sudo apt-get update -y
sudo apt-get upgrade -y
Once your server is updated, restart your server to apply the changes.
Install LAMP Server:
VTiger CRM runs on the web server, written in PHP and uses MariaDB to store their data. So, you will need to install Apache, MariaDB, PHP and other PHP modules to your server. You can install all of them by just running the following command:
sudo 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
Once all the packages are installed, open php.ini file and make some changes:
sudo nano /etc/php/7.2/apache2/php.ini
Make the following changes:
file_uploads = On
allow_url_fopen = On
memory_limit = 256M
upload_max_filesize = 30M
post_max_size = 40M
max_execution_time = 60
max_input_vars = 1500
disply_errors: on
error_reporting: E_WERNING & ~E_NOTICE
logg_errors:off
sort_open_tag:off
Save and close the file. Then, start Apache and MariaDB service and enable them to start on boot time with the following command:
sudo systemctl start apache2
sudo systemctl start mariadb
sudo systemctl enable apache2
sudo systemctl enable mariadb
Configure Database
By default, MariaDB is not secured. So, you will need to secure it. You can do this by running the mysql_secure_installation script:
sudo mysql_secure_installation
This script will change your current root password, remove anonymous users, disallow root login remotely as shown below:
Enter current password for root (enter for none):
Set root password? [Y/n]: N
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
Once the MariaDB is secured, log in to MariaDB shell with the following command:
sudo mysql -u root -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment