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:
- A Linux-based server running Debian Latest.
- A non-root user with sudo privileges.
- 2GB or more of RAM.
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
Create a new user called
erpnext:sudo adduser erpnextSwitch to the
erpnextuser:sudo su - erpnextClone the ERPNext repository from GitHub:
git clone https://github.com/frappe/erpnext.gitInstall ERPNext dependencies:
cd erpnext pip3 install -r requirements.txtInstall Node.js dependencies:
npm installConfigure ERPNext:
bench init frappe-bench cd frappe-benchInstall ERPNext:
bench get-app erpnext https://github.com/frappe/erpnext bench new-site site1.local bench --site site1.local install-app erpnextNote: Replace
site1.localwith your preferred site name.Start the ERPNext server:
bench startYou can access the ERPNext web application at
http://<your-server-ip>:8000.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.