How to Install Owncloud on Centos 6 with Nginx w/ SSL, PHP-FPM, and PGSQL (Automated Startup Script) on VULTR VPS

How to Install Owncloud on Centos 6 with Nginx w/ SSL, PHP-FPM, and PGSQL (Automated Startup Script) on VULTR VPS

You can copy and paste the following bash script into the startup script area of the Vultr Control Panel.

This startup script will install the current version of Owncloud, including all necessary packages to run the server upon deployment.

After running the script, you will be able to access your Owncloud and create your admin account at https://youripaddress. The initial page will say you are using SQLite, but the server is already configured to properly use PGSQL. This is tested and working on a VM with 512MB of RAM, but you may want something slightly bigger or create a swap file for slightly better performance. The SSL certificate is self-signed, but can be replaced if you are so inclined. Do not forget to retrieve your database credentials ( tail /tmp/firstboot.log ) and to remove that file once you have deployed.