Tutorials  /  Ubuntu

Install WebERP on Ubuntu 20.04: Complete Setup Guide

Ccentron Redaktion · May 2025 ·4 min read ·Ubuntu, Tutorial

WebERP is a free, open-source software solution for handling accounting and enterprise operations, developed using PHP. It enables management of core business activities such as purchase orders, web-based sales, production, inventory shipping, general ledger, and more. This guide will walk you through the steps to install WebERP on a system running Ubuntu 20.04.

Requirements

  • Set up a freshly updated Ubuntu 20.04 LTS instance.
  • Install the LAMP stack — Linux, Apache, MySQL, and PHP — on the server.
  • Create a standard user account with sudo privileges.
VM

Matching infrastructure at centron

Ubuntu servers without your own hardware: ccloud³ VMs with full root access from €3.12 per month, billed by the hour and ready in seconds. Rent a cloud server →

Step 1: Adjust MySQL Settings for WebERP

Once the LAMP environment is in place, a few database configuration steps are necessary to enable WebERP functionality.

Access the MySQL shell:

Console
$ sudo mysql -u root -p

Inside MySQL, create a database for WebERP:

Code
CREATE DATABASE weberp;

Assign full access rights to the newly created database:

Code
GRANT ALL ON weberp.* TO 'weberp'@'localhost' IDENTIFIED BY 'SecurePassword';

Apply the permission updates:

Code
FLUSH PRIVILEGES;

Exit the MySQL interface:

Code
\q

Step 2: Configure Apache to Run WebERP

To set up Apache for WebERP, you need to edit the default virtual host configuration file.

Open the Apache configuration file in a text editor:

Console
$ sudo nano /etc/apache2/sites-available/000-default.conf

Remove any existing content in the file and substitute it with the configuration below. Make sure to replace example.com with your actual domain name.

Code
<VirtualHost *:80>
    ServerAdmin admin@example.com
    DocumentRoot /var/www/html/weberp/
    ServerName example.com
    ServerAlias www.example.com

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

    ErrorLog /var/log/apache2/example.com-error_log
    CustomLog /var/log/apache2/example.com-access_log common
</VirtualHost>

Enable the Apache rewrite feature:

Console
$ sudo a2enmod rewrite

Restart Apache so the changes can take effect:

Console
$ sudo systemctl restart apache2

Step 3: Install WebERP

To begin setting up WebERP, first install the necessary tool for extracting the archive file.

Install the unzip package:

Console
$ sudo apt install unzip

Download the WebERP package from SourceForge:

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

Extract the downloaded ZIP archive:

Console
$ sudo unzip webERP_4.15.zip

Move the extracted folder into Apache’s web directory:

Console
$ sudo cp -r webERP /var/www/html/weberp

Set the correct ownership and access permissions for the WebERP folder:

Console
$ sudo chown -R www-data:www-data /var/www/html/weberp
$ sudo chmod -R 755 /var/www/html/weberp

Final Steps

The WebERP application has now been successfully deployed on your server.

Open your browser and visit your domain to access the WebERP interface. For example:

http://www.example.com

Use the following settings during the database configuration phase of the setup wizard:

  • Database name: weberp
  • Database user: weberp
  • Password: The secure password you assigned in Step 1
Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie Ubuntu
Teilen
Noch offene Fragen?

Our team will help you with your specific setup - in German or English, by people who run the platform themselves.

War dieses Tutorial hilfreich?

Your answer is stored anonymously and helps us improve our tutorials.

Kommentare

No comments yet - be the first to ask a question about this tutorial.

Sign in to comment

Comments are open to centron customers. Sign in to your account to ask a question about this tutorial.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren