A step-by-step guide for installing NextERP / ERPNext on Ubuntu 20.04 LTS (or similar).
If you meant a different ERP, share its official link and I’ll adapt this!
sudo privilegesgit, curl, python3, pip, node, npmsudo apt update && sudo apt upgrade -y
sudo apt install git curl -y
sudo apt install python3-dev python3-pip python3-venv -y
sudo apt install software-properties-common -y
# Install Node.js (18.x)
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E ```bash -
sudo apt install -y nodejs
# Install Yarn globally
sudo npm install -g yarn
sudo apt install mariadb-server mariadb-client -y
sudo mysql_secure_installation
Create database & user
sudo mysql -u root -p
-- In MariaDB shell:
CREATE DATABASE nexterp;
CREATE USER 'nexterp_user'@'localhost' IDENTIFIED BY 'StrongPassword';
GRANT ALL PRIVILEGES ON nexterp.* TO 'nexterp_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;
sudo apt install redis-server -y
sudo systemctl enable redis-server
sudo systemctl start redis-server
sudo pip3 install frappe-bench
bench init nexterp-bench --frappe-branch version-15
cd nexterp-bench
bench new-site nexterp.local
Provide DB credentials when prompted.
bench get-app erpnext --branch version-15
bench --site nexterp.local install-app erpnext
bench start
Access at: http://localhost:8000
🎉 NextERP / ERPNext is now running!