Zero Touch ERPNext Installer
One command turns a fresh Ubuntu server into a production ERPNext v16 and HRMS system. It asks every question at the start, then runs to the end without you.
- PriceFreecode is on GitHub
- Install1 commandquestions first, then hands-off
- Runs onUbuntu 24.04fresh x86_64 server
- You getERPNext v16with HRMS, in production mode
What it does
Setting up ERPNext by hand takes many steps and a few known traps. The installer does them in order and checks the result.
Asks first, then runs alone
Linux user, passwords, site name and timezone are asked once at the start. After that nothing waits for you.
Installs the whole stack
ERPNext and HRMS version 16, MariaDB, Python, Node.js, Redis, nginx, supervisor and the PDF engine.
Production-ready
nginx serves your site on port 80 and supervisor keeps the workers running, including after a reboot.
Fixes known version 16 problems
Three install traps that stop many first attempts are handled for you.
Checks its own work
At the end it tests that the services run, the login page opens and the Administrator can sign in.
Can run unattended
Set the answers first and nothing is asked, which suits scripts and cloud servers.
Install in one command
Run it on a fresh Ubuntu 24.04 server, as root or as a user with sudo.
curl -fsSL https://raw.githubusercontent.com/sreekanthvp7/zero-touch-frappe-erpnext/main/install.sh | sudo bash
Read it first: this command runs a script from GitHub as root. Read the script before you run it.
Start with a fresh server
Ubuntu 24.04 on x86_64, with nothing else installed on it.
Run the command
Answer the six questions. Press Enter to accept a default.
Let it finish
The steps show on screen and a full log is saved. The site build takes several minutes.
Open your ERPNext
Browse to
http://your-server-ip/and sign in as Administrator.
The questions it asks
Passwords need at least 8 characters and are asked twice. They are never written into the script or the log.
- Linux user
- The user that runs ERPNext, created if missing. Default
frappe - User password
- Only asked if the user is new
- Database password
- The MariaDB root password
- Admin password
- The ERPNext Administrator password
- Site name
- Default
site1.local. Use your real domain if you have one - Timezone
- Default
Asia/Kolkata
Fully unattended
Set the answers in front of the command and nothing is asked. Replace the placeholders with your own values.
curl -fsSL https://raw.githubusercontent.com/sreekanthvp7/zero-touch-frappe-erpnext/main/install.sh | \
sudo FRAPPE_USER=frappe FRAPPE_USER_PASS='YOUR_PASSWORD' DB_ROOT_PASS='YOUR_PASSWORD' ADMIN_PASS='YOUR_PASSWORD' \
SITE=erp.example.com TZ_NAME=Asia/Kolkata bash
What gets installed
A full production stack, ready for your business data.
- Frappe and ERPNext
- Version 16
- HRMS
- Version 16
- MariaDB
- 11.8, secured, with a root password
- Python
- 3.14, installed with uv
- Node.js
- 24, installed with nvm, plus yarn
- Web and workers
- Redis, nginx and supervisor from Ubuntu
- PDF engine
- wkhtmltopdf 0.12.6.1, for printing invoices and reports
After the install
Two things to do before you put real data in.
Turn on HTTPS
Point your domain at the server, then run this as the Frappe user.
sudo -H env "PATH=$PATH" bench setup lets-encrypt <your-site>Close the extra ports
Otherwise port 9000 stays open to the network.
sudo ufw allow 22,80,443/tcp && sudo ufw enable
Use it safely
The installer changes your whole server. Please read these before you run it.
- Use fresh servers only. It upgrades the system, installs MariaDB and nginx and changes their settings. Do not run it where other databases or websites already live.
- Ubuntu 24.04 on x86_64 only. Other Ubuntu versions get a warning and ARM servers are stopped.
- Choose strong passwords. The database and Administrator passwords protect all your business data.
- Back up before you run it again on a server that already has data.
- The Frappe user gets temporary passwordless sudo while it runs. The rule is removed at the end, even if the install fails.
- The command runs a script from GitHub as root, so whoever can change that script controls what gets installed. Read it first.
- If you upgrade Node later with nvm, link it again:
sudo ln -sf "$(nvm which default)" /usr/local/bin/node - ERPNext, Frappe and Ubuntu belong to their owners. INFOWEBS is independent. Provided free, as is, without warranty.
Want us to run it for you?
We can set up ERPNext on your own server, configure it for your business, secure it and look after it.