How to install erpnext on my host + domain

Buy this:
OVH VPS 3.49 per month

Install Ubuntu 16.04.

Wait for the e-mail from OVH.

Download Putty http://www.putty.org/ Enter the server information into putty. How to use putty https://www.youtube.com/watch?v=q3swIdBcAxo

In the putty terminal follow this guide.

  1. yourname@testsystem:~$ apt-get update
  2. yourname@testsystem:~$apt-get upgrade
  3. yourname@testsystem:~$wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
    sudo python install.py --production
  4. yourname@testsystem:~$sudo python install.py --production

If you have no any error you will have http://ipaddress for ERPNext, if you map you ipaddress with DNS service you will have http://youcompany.com as ERPNext web service

Next we need to make it to Https://yourcompany.com for your safety.

  1. yourname@testsystem:~$ sudo su - frappe
  2. frappe@testsystem:~$ cd frappe-bench/sites
  3. frappe@testsystem:~/frappe-bench/sites$ mv site1.local mycompany.com
  4. frappe@testsystem:~/frappe-bench/sites$ nano mycompany.com/site_config.json

nano just like text edit if you never used like me just check at youtobe, change text to

Add the following line.
“host_name”: “http://mycompany.com”,

It should look like below
{
“db_name”: “site1.local”,
“db_password”: “*********”,
“host_name”: “http://domain.org
}
Save and exit
9) frappe@testsystem:~/frappe-bench/sites$ cd …
10) frappe@testsystem:~/frappe-bench$ sudo -H bench setup lets-encrypt mycompany.com

After this step will request you to put some information just put … woww, you will get https://

God bless you!

5 Likes