it shows error message that frappe-bench already exists. so when i checked i found that my frappe-bench directory is creating under home directory rather than directory under which i want to create .
It’s not required anymore. If you don’t want to develop and want to use in production, run bench setup production as root and ERPNext will be running on port 80.
Please add a little check that the install script should do:
If there is something running on port 80 (it could easily be detected by a “netstat -ln | grep ':80 ’ | grep ‘LISTEN’”), then install script should abort and advise to a command line parameter for install script to change the erpnext/nginx port.
For me there was an apache2 running on the machine so the install script wont be successful.