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
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.
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.
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.
Now, with the help of the
wget command you can download the WebERP package.
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>
Replace the value of
ServerName with your domain. Save the changes and close the edit
To apply the changes, restart Apache.
systemctl restart httpd
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
Next, set up the database parameters
In the next step, you have to define the company name, as well as create the
admin user and password.
After this, webERP will be installed and you will see the Login screen.
After logging in you will see the dashboard.
WEbERP is a very efficient application to manage your company. The installation is easy to install and use and it’s free.