[Guide] How to install ERPNext v14 on Linux Ubuntu (step-by-step instructions)

To keep up with the latest releases you can use the standard bench update method. Make sure to take a backup of all your sites, databases and files before running the bench update command as it is known to break things.

For SSL configuration, you can run the following commands;

Before you begin, add an A record on your domain DNS and point it to the ERPN server IP address.

cd /home/[frappe-user]/frappe-bench/

bench config dns_multitenant on

bench setup add-domain [subdomain.yourdomain.com] --site [site-name]

bench setup nginx 
sudo service nginx reload

sudo snap install core
sudo snap refresh core
sudo snap install --classic certbot

sudo ln -s /snap/bin/certbot /usr/bin/certbot

sudo certbot --nginx

On console prompt, select correct site number and trying access your site on https:// from the custom domain you just added.

Thanks,
Shashank

3 Likes