Installation Script for Owncloud 9

Anyone have a auto installation script for owncloud 9? Cant seem to get it to install or either im follow a guide im using wrong

There is a installer script -> https://download.owncloud.com/download/community/setup-owncloud.php (right-click -> save...). Then transfer this file to your webspace and open setup-owncloud.php in your browser.

the only problem is im hosting it locally

https://doc.owncloud.org/server/9.1/admin_manual/installation/command_line_installation.html

can be called by external scripts