Installation on WHM / Centos


We are manufacturers and retailers of pipe support systems. We currently have an inhouse ERP system built around Microsoft Access. And it is brilliant. I can easily modify it to suit our needs. But as we grow it is starting to creak. So I need to investigate alternatives.

Having spent a couple of hours with the Next ERP system I am quite impressed. Not sure if it will do everything we need, that will take some more time

But I have one major problem.Although we do not mind paying for the correct solution, I am reluctant to sign up to a system where everything is hosted by someone else. What happens to our business of ERPNEXT goes under.

So I would be looking at self hosting. But in that I am not very clever

We do have a cloud VPS system (with and have access to WHM and can create our own accounts / cpanels in there. It is based on Centos

And that is as far as my skill goes. I have installed software before which has simply meant running the install software and creating a mysql database. But I can see this is very different

Are there any really detail install instructions that will help me?

I can see there is an easyinstall but it is really unclear what that does. Do i need to create a new account in whm, do I need to create a new domain / subdomain? Do I need a new cpanel

As we already have a number of accounts up and running on the WHM system I am very nervous in running an “easyinstalller” not knowing what it will do. Will all my other systems / websites stay intact?


I don’t know what is WHM, but for ERPNext hosting you need linux (CentOS 6, Debian 7 or Ubuntu)

Its good do host ERPNext on separate server which runs only ERPNext.

You can host your ERPNext in Frappe Cloud or buy VPS from any provider like digital ocean, AWS.
But what happen if digital ocean or AWS goes away.

For this, you can setup daily database backup on Drop Box, which is also available on frappe cloud server.

Note: You can setup one test account here and after testing you can buy subscription.

Better use digitalocean vm or other similar and used the easy install of erpnext.

Thank you for your speedy replies. I think I may have confused you though (Usual for me :slight_smile: )

We already have a hosted server. We are already running websites and shops from that server.

My question is really what happens when I run that easy install routine. It is not clear. What happens to all the other stuff on the server. Will it still be intact?


When you run easy install script it do some of following task

  1. installes Python 2.7, MariaDB, Redis, wkhtmltopdf (optional, required for pdf generation)

  2. install bench, so you can run bench command

    git clone bench-repo
    sudo pip install -e bench-repo

  3. using bench command, it install ERPNext

    cd ~
    bench init frappe-bench
    cd frappe-bench
    bench get-app erpnext # Add ERPNext to your bench apps
    bench new-site site1.local # Create a new site
    bench install-app erpnext # Install ERPNext for the site

  4. Setup supervisor so it take cares all erpnext service running well when you restart server

    sudo bench setup production

You can check manual install here

If you are using mysql for your site then you may have conflict because ERPNext uses MariaDB


Yes it will be but be careful of the ports that will not conflicts to your existing that’s why it’s better to separate erpnext to other vm or you know how to used docker you can use docker inside your existing vm.


@Ron_Taylor best to hire an expert to set it up for you!


I’ve had wordpress and erpnext-v3 on mysql
As erpnext shifted to mariadb I started using mariadb for wordpress and it works as replacement. My wordpress db started working without any modifications.

1 Like

You can also use Bitnami to install ERPNext. Its a one click install to a Digital Ocean or AWS server.

1 Like

Bitnami is simple to host but its quite hard to use and restore db, update erpnext.(its my personal opinion)

It will help if anyone share his experince with bitnami on update on db restore
@JP_Guva its also easy to install erpnext on digital ocean or AWS by simply running two command
sudo bash --setup-productio

1 Like

I followed your advice. But I just am having a massive headache installing it myself. It never completes. I always run into nginx errors, on a fresh installed system.

@JP_Guva you also need to setup swap if you have < 1GB RAM