Get Help Now
How to Install ERP Next 15 on Ubuntu 24.04 (Easy Guide)
Home  ⇒  Learning   ⇒   How to Install ERP Next 15 on Ubuntu 24.04 (Easy Guide)

Requirements

  • Ubuntu 22.04 (recommended)
  • 4 GB RAM minimum (8 GB best)
  • Python 3.10+
  • Non-root user with sudo privileges

Step 1 — Update Server

bash

sudo apt update && sudo apt upgrade -y
sudo reboot

Step 2 — Install Required Packages

bash

sudo apt install git python3-dev python3.10-venv python3-pip redis-server \
wkhtmltopdf mariadb-server mariadb-client curl -y

Step 3 — Setup MariaDB

bash
sudo mysql_secure_installation
//Then set database config:
sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
//Add inside [mysqld]:

innodb-file-format = Barracuda
innodb-file-per-table = 1
innodb-large-prefix = 1
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

//Restart DB:
sudo systemctl restart mariadb

Step 4 — Install Node.js and Yarn

ERPNext 15 requires Node 18:

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -

bash
sudo apt install -y nodejs
sudo npm install -g yarn

Step 5 — Install Bench CLI

bash
sudo pip3 install frappe-bench

Step 6 — Initialize Bench

bash

bench get-app --branch version-15 erpnext

Install it to your site:

bash

bench --site mysite.local install-app erpnex

Step 9 — Start Development Server

bash
bench start

Open Browse

http://localhost:8000

One thought on “How to Install ERP Next 15 on Ubuntu 24.04 (Easy Guide)

Leave a Reply

Your email address will not be published. Required fields are marked *