Welcome to our guide on how to install and configure Vtiger CRM Open Source Edition on Rocky Linux 8. In this tutorial, we will walk you through the process of setting up Vtiger CRM on your server. Let’s get started!
What is Vtiger CRM?
Vtiger CRM is a free and open-source customer relationship management software that helps businesses organize and collaborate to improve customer experiences. It is written in PHP and uses MariaDB to store its data.
Installing LAMP Stack
Before installing Vtiger CRM, you need to install the LAMP (Linux, Apache, MariaDB, PHP) stack on your Rocky Linux 8 server. Follow the steps below to install the necessary dependencies:
- Update your system by running the following commands:
dnf clean all
dnf update
- Install Apache web server:
dnf install httpd
- Install MariaDB:
dnf install mariadb-server
- Install PHP and required PHP modules:
dnf install php php-cli php-mysqlnd php-xml php-bcmath php-zip php-gd php-json
- Start and enable Apache and MariaDB services:
systemctl start httpd
systemctl enable httpd
systemctl start mariadb
systemctl enable mariadb
Configuring the Database
Now let’s configure the database for Vtiger CRM.
- Secure your MariaDB installation:
mysql_secure_installation
- Log in to the MariaDB shell:
mysql -u root -p
- Create a database and user for Vtiger CRM:
CREATE DATABASE vtigerdb;
CREATE USER 'vtiger'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON vtigerdb.* TO 'vtiger'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
Installing Vtiger CRM
Now it’s time to download and install Vtiger CRM.
- Download the latest version of Vtiger CRM:
- Go to the Vtiger CRM website and download the latest stable version.
- Extract the downloaded file:
tar -xvzf vtigercrm.tar.gz
- Move the extracted directory to the Apache web root:
mv vtigercrm /var/www/html/
- Set the appropriate permissions:
chown -R apache:apache /var/www/html/vtigercrm
chmod -R 755 /var/www/html/vtigercrm
- Access Vtiger CRM:
- Open a web browser and navigate to your server’s IP address or domain name followed by “/vtigercrm”.
- Follow the on-screen instructions to complete the installation.
Conclusion
Congratulations! You have successfully installed and configured Vtiger CRM Open Source Edition on Rocky Linux 8. Now you can start using Vtiger CRM to improve your business processes and enhance customer experiences.
If you have any questions or face any issues during the installation, feel free to reach out to us. Happy CRM-ing!