How to install webERP in Ubuntu

To install webERP in Ubuntu

WebERP is an open source, web based accounting and business management tool for Small and Medium Enterprises. It supports almost all platforms and is very useful as an online shop or a retail management system for business. Installation of webERP is explained in this manual.

To Setup LAMP

Run the following command to install mysql server.

root@linuxhelp:/home/user1/Desktop# apt-get install mysql-server 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
&hellip 
&hellip 
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (219-7ubuntu3) ...


Run the following command to install apache server.

root@linuxhelp:/home/user1/Desktop# apt-get install apache2 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
&hellip 
&hellip 
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (219-7ubuntu3) ...
Processing triggers for ufw (0.34~rc-0ubuntu5) ...


To install php packages run the below command.

root@linuxhelp:/home/user1/Desktop# apt-get install php5 php5-mysql 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
&hellip 
&hellip 
php5_invoke: Enable module readline for cli SAPI
php5_invoke: Enable module readline for apache2 SAPI
Processing triggers for libapache2-mod-php5 (5.6.4+dfsg-4ubuntu6.4) ...

To create database

Run the following command to create a database.

root@linuxhelp:/home/user1/Desktop# mysql -u root -p 
Enter password: 
Welcome to the MySQL monitor. Commands end with   or g.
Your MySQL connection id is 4
Server version: 5.6.28-0ubuntu0.15.04.1 (Ubuntu)
mysql>  create database weberp 
Query OK, 1 row affected (0.03 sec)
mysql>  exit
Bye


Download the webERP package by running the following command.

root@linuxhelp:/home/user1/Desktop# wget https://sourceforge.net/projects/web-erp/files/webERP_4.13.zip 
--2016-09-15 00:31:16--  https://sourceforge.net/projects/web-erp/files/webERP_4.13.zip
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
&hellip 
&hellip 
2016-09-15 00:32:13 (557 KB/s) - ‘ webERP_4.13.zip’  saved [30079206/30079206]


Unzip the downloaded package to /var/www/html/ directory.

root@linuxhelp:/home/user1/Desktop# unzip webERP_4.13.zip -d /var/www/html/ 
Archive:  webERP_4.13.zip
   creating: /var/www/html/webERP/
  inflating: /var/www/html/webERP/AccountGroups.php  
&hellip 
&hellip 
  inflating: /var/www/html/webERP/Z_Upgrade_3.11-4.00.php  
  inflating: /var/www/html/webERP/Z_UploadForm.php  
  inflating: /var/www/html/webERP/Z_UploadResult.php


Run the following command to change permissions and ownership for webERP directory

root@linuxhelp:/var/www/html# chmod -R 755 webERP 
root@linuxhelp:/var/www/html# chown -R www-data: webERP
root@linuxhelp:/var/www/html# ll 
total 40
drwxr-xr-x  3 root     root      4096 Sep 15 00:33 ./
drwxr-xr-x  3 root     root      4096 Sep 15 00:26 ../
-rw-r--r--  1 root     root     11321 Sep 15 00:26 index.html
drwxr-xr-x 15 www-data www-data 20480 May 31 22:02 webERP/


Then restart apache server by running the following command.

root@linuxhelp:/var/www/html# /etc/init.d/apache2 restart 
[ ok ] Restarting apache2 (via systemctl): apache2.service.


Open the browser and navigate to https://< IP_address> /webERP1
Now set the database and click Next step.

Fill the necessary details to start with the installation.

Open the webERP by using the credentials.

click setup to know about the general setup options.

Fill the Company preferences and click update.

Asset manager

Manufacturing

Inventory categories


Tag : WebERP
FAQ
Q
How to import GL history and the chart details table (technical)?
A
There is foreign key checking on the chart details table such that there must always be a matching period record in the periods' table.
The balancing factor on the balance sheet is the retained earning account which is the sum of all the bfwd+actual for all profit and loss accounts as at the end of the period under review.
Q
The links on each page do not work I keep getting a page not found errors when selecting menu links?
A
Some installations appear not to be able to work out the value of the variable $rootpath using the line
$rootpath = dirname($_SERVER['PHP_SELF']
Q
What do we need to run OpenFlyers?
A
Just have a computer with internet access and a modern browser like Google Chrome, Firefox, Internet Explorer, Opera or Safari. No installation is required on the computer.
Q
What is webERP?
A
WebERP is an open source, web based accounting and business management tool for Small and Medium Enterprises. It supports almost all platforms and is very useful as an online shop or a retail management system for business.
Q
Each time I choose an option, anyone, I'm presented with the login screen again?
A
webERP uses sessions to store the access level of the user. Sessions allow information to be retained between web pages. Some installations of php do not have session support working by default.