How to install webERP on CentOS 7

To install webERP on CentOS 7

webERP is an open-source, web based accounting/ ERP system that uses only a web browser and a PDF reader. It contains a plethora of features that are suitable for many businesses in both large scale and small scale or retail management. It also contains Purchase orders, MRP, Multi-Currency, Standard Costing, Ghost bills, Expense claims, and PDF reports. This tutorial covers the installation procedure of webERP on CentOS 7.

Pre-Requisite

- LAMP (Apache, PHP 7, MySQL)
- MySQL (create database and user and provide privileges to user)
- PHP modules (along with dependencies php70w-mysql php70w-curl php70w-json php70w-cgi php70w php70w-mcrypt php70w-xmlrpc php70w-gd)

Installation procedure

To proceed with the installation procedure, download the webERP package using wget command followed by the download link.

[root@linuxhelp1 ~]# wget https://excellmedia.dl.sourceforge.net/project/web-erp/webERP4.14.1.zip
--2017-10-23 15:09:57--  https://excellmedia.dl.sourceforge.net/project/web-erp/webERP4.14.1.zip
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30862574 (29M) [application/octet-stream]
Saving to: ‘ webERP4.14.1.zip’ 

100%[======================================> ] 3,08,62,574  694KB/s   in 54s    

2017-10-23 15:10:51 (562 KB/s) - ‘ webERP4.14.1.zip’  saved [30862574/30862574]


Extract the downloaded package using unzip command.

[root@linuxhelp1 ~]# unzip webERP4.14.1.zip  -d /var/www/html/
Archive:  webERP4.14.1.zip
   creating: weberp/webERP/
  inflating: weberp/webERP/AccountGroups.php  
  inflating: weberp/webERP/AccountSections.php  
  inflating: weberp/webERP/AddCustomerContacts.php  
  inflating: weberp/webERP/AddCustomerNotes.php  
  inflating: weberp/webERP/AddCustomerTypeNotes.php  
  inflating: weberp/webERP/AgedControlledInventory.php  
  inflating: weberp/webERP/AgedDebtors.php  
  inflating: weberp/webERP/AgedSuppliers.php  
  inflating: weberp/webERP/AnalysisHorizontalIncome.php  
.
.
inflating: weberp/webERP/Z_Upgrade_3.11-4.00.php  
  inflating: weberp/webERP/Z_UploadForm.php  
  inflating: weberp/webERP/Z_UploadResult.php  

Next change the ownership of file in HTML location.

[root@linuxhelp1 ~]# chown -R apache.apache  /var/www/html/webERP

Create a virtual host configuration file for webERP using vim editor and enter the following content in the file. Save and exit the file.

[root@linuxhelp1 ~]# vim /etc/httpd/conf.d/weberp.conf
< VirtualHost *:80> 
ServerAdmin admin@weberp.org
DocumentRoot /var/www/html/webERP
ServerName weberp.org
ServerAlias www.weberp.org
< 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> 

Create an entry in hosts file and enter the following content in the file. Save and exit the file.

[root@linuxhelp1 ~]# vim /etc/hosts
192.168.7.240  weberp.org

Restart the Apache service.

[root@linuxhelp1 ~]# systemctl restart httpd.service

Switch over to the browser and access the webERP page. The installation page of webERP appears on the screen. Select the required Language and click Next Step.

Fill the required database details and click Next Step option.

Next fill the required company details such as company name, accounts file, timezone and company logo.

Enter the administrator account settings and click Install option.

The installation is complete and now the login page of webERP appears on the screen. Enter the required credentials and click Login option.

The Admin page of webERP is displayed as shown below.

The installation procedure of webERP on CentOS 7 is done without any glitches.

Tag : CentOS WebERP
FAQ
Q
What are the PHP extensions to be installed for WebERP?
A
The PHP extensions are as follows php70w-mysql php70w-curl php70w-json php70w-cgi php70w php70w-mcrypt php70w-xmlrpc php70w-gd for WebERP.
Q
What is webERP?
A
webERP is an open-source, web based accounting/ ERP system that uses only a web browser and a PDF reader. It contains a plethora of features that are suitable for many businesses in both large scale and small scale or retail management. It also contains Purchase orders, MRP, Multi-Currency, Standard Costing, Ghost bills, Expense claims, and PDF reports.
Q
Is WebERP opensource?
A
WebERP is a free and opensource software.
Q
For installing php70w modules what repo you have used for WebERP?
A
epel repo is used for that
# yum install epel-release
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm" and then install required modules
# "yum install php70w php70w-opcache"
Q
What is the source page for downloading the latest version of WebERP?
A
To download WebERP visit "https://sourceforge.net/projects/web-erp/"