How to Install ERPNext on Debian Latest?

ERPNext is an open-source, web-based enterprise resource planning (ERP) software. It is easy to use, flexible, and customizable. In this tutorial, we will show you how to install ERPNext on Debian Latest.

Prerequisites

Before you start, you need the following:

Step 1: Update your system

First, update your system and install necessary packages by running the following commands:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y python3-minimal python3-setuptools python3-pip uwsgi-core git libssl-dev libffi-dev python3-dev build-essential redis mongodb

Step 2: Install Node.js

ERPNext requires Node.js version 10 or above. Install Node.js by running the following commands:

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs

Step 3: Create user and install ERPNext

  1. Create a new user called erpnext:

    sudo adduser erpnext
    
  2. Switch to the erpnext user:

    sudo su - erpnext
    
  3. Clone the ERPNext repository from GitHub:

    git clone https://github.com/frappe/erpnext.git
    
  4. Install ERPNext dependencies:

    cd erpnext
    pip3 install -r requirements.txt
    
  5. Install Node.js dependencies:

    npm install
    
  6. Configure ERPNext:

    bench init frappe-bench
    cd frappe-bench
    
  7. Install ERPNext:

    bench get-app erpnext https://github.com/frappe/erpnext
    bench new-site site1.local
    bench --site site1.local install-app erpnext
    

    Note: Replace site1.local with your preferred site name.

  8. Start the ERPNext server:

    bench start
    

    You can access the ERPNext web application at http://<your-server-ip>:8000.

  9. Stop the server:

    bench stop
    

Conclusion

In this tutorial, we have shown you how to install ERPNext on Debian Latest. You can now use ERPNext to manage your business processes.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!