Installing in ubuntu 18, EC2 t2.small, 12GB volume:
sudo apt-get install python-minimal -y
sudo apt-get install build-essential python-setuptools -y
sudo wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
sudo python install.py --production --user frappe --admin-password abc123 --mysql-root-password abc123
This script never failed me. I got it from GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps