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.
Before you start, you need the following:
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
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
Create a new user called erpnext
:
sudo adduser erpnext
Switch to the erpnext
user:
sudo su - erpnext
Clone the ERPNext repository from GitHub:
git clone https://github.com/frappe/erpnext.git
Install ERPNext dependencies:
cd erpnext
pip3 install -r requirements.txt
Install Node.js dependencies:
npm install
Configure ERPNext:
bench init frappe-bench
cd frappe-bench
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.
Start the ERPNext server:
bench start
You can access the ERPNext web application at http://<your-server-ip>:8000
.
Stop the server:
bench stop
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!