OroCRM is a popular open-source customer relationship management (CRM) platform that is used to manage customer interactions and data. In this article, we will guide you through the process of installing OroCRM on a fresh installation of Ubuntu 20.04.
Before we begin, make sure that you have a fresh installation of Ubuntu 20.04 and that LAMP (Linux, Apache, MySQL, PHP) is installed on your system. You will also need to be logged in as a user with sudo
privileges.
Install the required PHP extensions
The first step is to install the required PHP extensions for OroCRM. To do this, run the following commands in the terminal:
sudo apt update
sudo apt install php-intl php-gd php-curl php-soap php-zip php-mbstring
This will install the necessary PHP extensions for OroCRM.
Download OroCRM
Next, we need to download the latest version of OroCRM from the official website. To do this, run the following commands in the terminal:
wget <https://www.orocrm.com/downloads/v2.6.23/oro.zip>
unzip oro.zip -d orocrm
This will download the OroCRM zip file and extract it to a new directory called "orocrm"
.
Create a new MySQL database
After downloading OroCRM, we need to create a new MySQL database for the application. To do this, log in to the MySQL shell using the following command:
mysql -u root -p
When prompted, enter the MySQL root password.
In the MySQL shell, run the following commands to create a new database called "orocrm"
:
CREATE DATABASE orocrm;
GRANT ALL PRIVILEGES ON orocrm.* TO 'orocrmuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;
Make sure to replace "orocrmuser"
and "password"
with the actual username and password that you want to use for the OroCRM database user.
Copy OroCRM files to the web root directory
After creating the database, we need to copy the OroCRM files to the web root directory. To do this, run the following commands in the terminal:
Copy code
sudo cp -r orocrm/ /var/www/html/orocrm
sudo chown -R www-data