Frappe v10/erpnext v10 installation on ubuntu server 22.04 LTS or 20.04 LTS

Can someone guide with steps to install frappe v10.1.56 and erpnext v10.1.64 on ubuntu 20.04 server LTS or ubuntu 22.04 server LTS

I created this post long time ago. you can tweak it and try.

if you prefer containers check frappe_docker/ at main · frappe/frappe_docker · GitHub

I doubt if it’ll work if I’m not the operating the machine.