13.8 C
Texas
angeloma
Senior Writer and partner

How to install InoERP on Ubuntu 20.04 / Debian 10?

Companies today require new applications that adapt to technological changes. Not only for the principle of effectiveness but for the optimization of resources that come from a healthy and planned administration. For this, there is ERP software. Today I will show you how to install inoERP on Ubuntu 20.4 / Debian 10.

InoERP is a web application created with PHP that supports several web servers such as Apache or Nginx. It belongs to the type of ERP (Enterprise resource planning) ie it is a purely business application that helps with the planning of activities and resources of a company.

As a general rule, you have that any organization must have efficient planning to achieve its objectives. This is also the objective of inoERP. InoERP covers many fields within the organization, from human resources to e-commerce related tasks.

With too this is easy to deduce that we are in the presence of a very valuable and powerful application for our organization.

- Advertisement -

So, let’s get to work.

Install inoERP on  Ubuntu 20.04 / Debian 10

1) Install LAMP on Ubuntu 20.04

Since this is a web application, it is necessary that our team has a fully functional LAMP server. That’s the first step.

So, read

How to install LAMP on Ubuntu 20.04?

Also, install these Modules:

php7.4 libapache2-mod-php7.4 php7.4-common php7.4-mysql php7.4-gmp php7.4-curl php7.4-intl php7.4-mbstring php7.4-xmlrpc php7.4-gd php7.4-bcmath php7.4-xml php7.4-cli php7.4-zip

And you can continue.

1.1) Install LAMP on Debian 10

If you are using Debian 10 then read:

How to install LAMP on Debian 10?

However, it is also necessary to install these PHP modules, so that the program runs correctly.

php7.3 libapache2-mod-php7.3 php7.3-common php7.3-mysql php7.3-gmp php7.3-curl php7.3-intl php7.3-mbstring php7.3-xmlrpc php7.3-gd php7.3-bcmath php7.3-xml php7.3-cli php7.3-zip

Make sure you install them.

2) Create a new database for inoERP

inoERP processes a lot of data. To do this efficiently, the application requires a relational database management system such as MySQL or MariaDB. But in turn, you have to create a database that will use inoERP. And as a security measure, create a dedicated user. Let’s go for it.

Open the MariaDB terminal and start running these commands to create the database and the new user. In turn, give permissions to this new user to use the newly created database.

:~$ sudo mysql -u root -p
> CREATE DATABASE inoerp;
> CREATE USER 'inoerpuser'@'localhost' IDENTIFIED BY 'inoerppss';
> GRANT ALL ON inoerp.* TO 'inoerpuser'@'localhost' IDENTIFIED BY 'inoerppss' WITH GRANT OPTION;
> FLUSH PRIVILEGES;
> exit;

1.- Creating a new database for inoERP
1.- Creating a new database for inoERP

Now we can continue.

3) Download and Install inoERP (I)

Now it is time to download and install inoERP. To do this, we will download it using Git. Then you have to install it.

How to install git on Debian 10?

How to install git on Ubuntu 20.04?

Now, just start cloning the source code.

:~$ cd /var/www/html
:~$ sudo git clone https://github.com/inoerp/inoerp.git

2.- Download and install inoERP on Ubuntu 20.04 / Debian 10
2.- Download and install inoERP on Ubuntu 20.04 / Debian 10

Next, create a new virtual host for inoERP.

<VirtualHost *:80>
     ServerAdmin [email protected]
     DocumentRoot /var/www/html/inoerp/inoerp/www
     ServerName inoerp.osradar.test
     ServerAlias www.inoerp.osradar.test

     <Directory /var/www/html/inoERP/inoerp/www/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined
    
     <Directory /var/www/html/inoERP/inoerp/www/>
            RewriteEngine on
            RewriteBase /
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^(.*) index.php [PT,L]
    </Directory>
</VirtualHost>

3.- Creating a new virtual host for inoERP on Ubuntu 20.04 / Debian 10
3.- Creating a new virtual host for inoERP on Ubuntu 20.04 / Debian 10

It must now be enabled for the change to take effect.

:~$ sudo a2ensite inoerp.conf
:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2

Now, we need to complete the installation using the web browser.

4) Install inoERP using the web interface

It is now necessary to complete the installation. Open your web browser and go to your server. You will see the following:

5.- Installing inoERP using the web interface
5.- Installing inoERP using the web interface

After clicking on the continue button, you will have to enter the MariaDB credentials corresponding to inoERP.

6.- Database credentials
6.- Database credentials

After this, the installation will begin. When you finish at the bottom, you will see a link to go to the home page.

7.- inoERP main screen
7.- inoERP main screen

At the top right, you will see the login button. Click on it and enter your credentials. User: inoerp Password: inoerp. After that, you will see the dashboard.

8.- inoERP on Ubuntu 20.04 / Debian 10
8.- inoERP on Ubuntu 20.04 / Debian 10

So, start to work with this.

Conclusion

inoERP is a vital application for a small, medium or large organization. Thanks to this kind of software you can plan and manage resources and activities in an organization. Installing on Ubuntu 20.04 / Debian 10 is not a problem and gives a lot of results.

So, share this post and join our Telegram Channel.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article