Automated installer scans environment, checks if it’s a cPanel/DirectAdmin server or Apache/Nginx standalone servers and acts accordingly.
You need to run it within the public_html and with the user’s credentials.
Create first the user, the MySQL database and a DB user and grant all permissions to the DB user.