17 C
Texas
angeloma
Senior Writer and partner

Install WebERP on AlmaLinux 8 / CentOS 8

Hello, friends. In this post, we will show you how to install WebERP on AlmaLinux OS 8.4 / CentOS 8

According to the project website:

webERP is a complete web-based accounting and business management system that requires only a web-browser and pdf reader to use. It has a wide range of features suitable for many businesses particularly distributed businesses in wholesale, distribution, and manufacturing.

There are 33 different language translations available all included in the archive with users all over the world.

Some of the main goals that the project planned and achieved are:

  • Fast, web-based, integrated “best practice” business administration software.
  • “Low footprint” efficient and fast, with absolutely minimal network traffic
  • Platform Independence with no reliance on any propriety technologies
  • Scripts easily readable and modifiable by a business

So, it’s time to start work

Install WebERP on AlmaLinux OS 8 / CentOS 8

- Advertisement -

The first thing you have to do, is to open a new terminal session or connect via SSH and update the distribution

sudo dnf update

Then, you have to install the LAMP stack because WebERP works as a web application. So, you can read our post about it which is compatible with AlmaLinux OS.

How to install LAMP on CentOS 8?

Also, install some modules and packages needed for the tutorial:

php php-mysqli php-curl php-curl php-json php-cgi php-xmlrpc php-gd php-mbstring unzip

Once this is installed, you can continue.

Creating a new database for WebERP

As you can imagine, this application needs to store data and for that it is compatible with advanced database drivers such as MariaDB.

Although MariaDB and AlmaLinux OS are very secure, it is advisable to create a database that is managed by a MariaDB user different from the root user.

So, open the shell

sudo mysql -u root -p

And create the database, the user, his password and the corresponding permissions.

CREATE DATABASE weberpdb;
GRANT ALL PRIVILEGES ON weberpdb.* TO 'weberpuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;

You can replace the values with whatever you want, especially the password.

Download WebERP on AlmaLinux OS 8.4 / CentOS 8

Now, with the help of the wget command you can download the WebERP package.

wget https://sourceforge.net/projects/web-erp/files/webERP_4.15.zip

Unzip it inside the Apache folder.

sudo unzip webERP_4.15.zip -d /var/www/html

Then, make Apache the owner of the folder and set the appropriate permissions:

sudo chown apache:apache -R /var/www/html/webERP
sudo chmod 755 -R /var/www/html/webERP

Now create a new VirtualHost for webERP

sudo nano /etc/httpd/conf.d/weberp.conf

And add the following:

<VirtualHost *:80>

ServerAdmin [email protected]
DocumentRoot /var/www/html/webERP
ServerName weberp.osradar.test

        <Directory /var/www/html/webERP/>
                Options FollowSymLinks
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

ErrorLog /var/log/httpd/weberp.org-error_log
CustomLog /var/log/httpd/weberp.org-access_log common
</VirtualHost>
1.- New VirtualHost for WebERP
1.- New VirtualHost for WebERP

Replace the value of ServerName with your domain. Save the changes and close the edit

To apply the changes, restart Apache.

systemctl restart httpd

Install webERP on AlmaLinux OS

Now, open a web browser and access http://your-server/ and you will see the first screen where you will have to choose the installation language

2.- Language selector
2.- Language selector

Next, set up the database parameters

3.- Installing WebERP on AlmaLinux 8 / CentOS 8
3.- Installing WebERP on AlmaLinux 8 / CentOS 8

In the next step, you have to define the company name, as well as create the admin user and password.

4.- Creating the admin account
4.- Creating the admin account

After this, webERP will be installed and you will see the Login screen.

5.- WebERP login screen
5.- WebERP login screen

After logging in you will see the dashboard.

6.- WebERP on AlmaLinux 8.4 / CentOS 8
6.- WebERP on AlmaLinux 8.4 / CentOS 8

Enjoy it

Conclusion

WEbERP is a very efficient application to manage your company. The installation is easy to install and use and it’s free.

- 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