Your domain needs to be pointing to the public folder to the system to work properly.
But if for some reasons you can't edit the domain document root, follow the following steps:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
You can now go ahead and continue your installation process.