Linux for ERPNext: Running the Platform
Learn how ERPNext actually runs on Linux - where data is stored, how to restart services safely, monitor performance, and lock down the server.
Part of ERPNext Developer learning path
Take this first
This course builds on another course. You can still start now.
Coming soon
We are recording the lessons for this course now. Leave your email and we will tell you the day it opens.
What You'll Learn
- ✓Master the complete bench CLI: migrate, restart, backup, restore, update
- ✓Configure Nginx as a production reverse proxy with proper SSL (Let's Encrypt)
- ✓Set up and manage automated offsite backups to S3-compatible storage
- ✓Monitor ERPNext performance using system metrics, slow query logs, and Frappe's built-in tools
- ✓Diagnose and resolve the most common production incidents (Redis, MariaDB, worker failures)
- ✓Configure supervisor for reliable process management across bench workers
- ✓Apply OS-level security hardening for a production ERPNext server
- ✓Plan bench update upgrades with a tested rollback, and move a site between servers safely
Course Content
15 lessons when complete · 0 live now
- 1Coming
What Happens When You Install ERPNext on Linux
Follow what bench init and bench new-site set up: Python, Node, MariaDB, Redis and the bench folder.
- 2Coming
How ERPNext Runs Inside Linux
See how gunicorn, workers, the scheduler, Redis and nginx work together under supervisor.
- 3Coming
Where ERPNext Stores Your Data
Locate each site's database, site_config.json, public and private files, and backups on a multi-site bench.
- 4Coming
How to Safely Restart ERPNext
Use bench restart, supervisorctl and bench migrate in the right order without disrupting users.
- 5Coming
Monitoring ERPNext Performance
Watch CPU, memory, slow queries and job queues to find what is slowing ERPNext down.
- 6Coming
Common Server Attacks
Understand SSH brute force, exposed databases, outdated software and web attacks that target ERPNext.
- 7Coming
How to Detect Strange Activity
Spot unusual logins, processes and traffic using auth logs, ss and the ERPNext Activity Log.
- 8Coming
How to Lock Down Your Server
Harden SSH, enable ufw and fail2ban, set up HTTPS with Let's Encrypt and automate security updates.
- 9Coming
What to Do at 2AM
Work through a calm checklist when ERPNext is down: disk, Redis, MariaDB, workers and nginx.
- 10Coming
Disaster Recovery Thinking
Plan for losing a whole server, with offsite backups to S3-compatible storage and agreed recovery targets.
- 11Coming
How to Prepare a Server for Production
Run bench setup production, set up nginx, supervisor and SSL, and check the server before users arrive.
- 12Coming
How to Hand Over Servers
Document access, credentials, services and backups so another person can run the server safely.
- 13Coming
How to Keep Servers Clean
Clear old logs, backups and packages, and plan bench update upgrades with a tested rollback.
- 14Coming
How to Move Systems Between Servers
Move a site with bench backup --with-files and bench restore, and verify it before switching DNS.
- 15Coming
How to Stop Fearing Linux
Turn the course into daily habits that make you confident running ERPNext on Linux.
About This Course
Your ERPNext instance is live. Now the real work begins. This course covers everything you need to keep a production ERPNext environment running reliably, securely, and at scale - from daily operations to disaster recovery.
You'll master the bench CLI deeply, configure Nginx as a production-grade reverse proxy, manage SSL certificates, set up automated backups, monitor performance, and respond to incidents. This is the course that transforms a junior sysadmin into a confident ERPNext platform engineer.
Real-world scenarios are used throughout: slow queries, disk-full situations, failed migrations, Redis disconnects, and more. You'll know what to do when things go wrong - because they will.
Prerequisites
- •Linux for ERPNext: Foundations
- •A working ERPNext installation (production or staging)
Who This Course Is For
- →System administrators managing ERPNext in production
- →DevOps engineers responsible for ERPNext infrastructure
- →Senior consultants who own the technical delivery of ERPNext projects
- →Technical co-founders running their own ERPNext SaaS instances
15 more lessons are being recorded. You get every new lesson as it is added.
It opens with an early-bird price: 50% off. The price goes up a little with every new lesson and reaches the full price when the course is complete, so the sooner you join, the less you pay.
This course includes
- ⏱About 5h of video when complete
- 🎬15 lessons, 0 live now
- ♾️Full lifetime access
- 📱Access on all devices
- 🏆Certificate of completion
Your Instructor

Karani Geoffrey
ERPNext Architect & Implementation Consultant · 17+ Years in ERP
Karani Geoffrey is the founder of UPEO Academy and a leading authority on ERPNext implementation in East Africa. With over 17 years of hands-on experience deploying ERP systems across manufacturing, healthcare, retail, and financial services, Karani has guided hundreds of organisations through complex digital transformation journeys.
He is a certified Frappe/ERPNext developer and has built custom Frappe applications for multinational clients. His practical, no-nonsense teaching style bridges the gap between business strategy and technical execution - helping learners not just understand ERPNext, but master it.