#Update for ownCloud 8.2.2
- ownCloud 8.0.2 or 8.2.2
- Ubuntu 14.04.2 LTS
- ISPConfig 126.96.36.199p5
This guide assumes that you have a fully functional Ubuntu server with ISPConfig. Also when working with ownCloud, you use a SSL-certificate.
- Go to the Web Domain page of your website where you want to run ownCloud. Go to the tab “Options“
- Add the directory where you want to store data to the “PHP open_basedir” option, for example
- To the “Custom php.ini setting” option add
default_charset = "UTF-8"
- Add the following “Apache Directives“:
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
- Note the Linux User and Linux Group on the same page, you`ll need them later. For Example:
- Go to the “Domain” tab and set the option “PHP” to “PHP-FPM“
- On the “SSL” tab paste you certificate or create a self signed certificate. Fill in the form and choose “Create certificate”:
- Create a database user for the ownCloud database on the “Sites” -> “Database users” page, for example “svc_owncloud” (ISPConfig name: “c1svc_owncloud“).
- Create a database on the “Databases” page, for example “clouddb” (ISPConfig name: “c1clouddb“) and delect the “c1svc_owncloud” user.
2. ownCloud install
- Login to your Ubuntu Console with “sudo -s” for full access.
- Download ownCloud, copy files to web-root and change the owner. Use the user and group you noted from ISPConfig.
cd /tmp wget http://download.owncloud.org/community/owncloud-8.0.3.tar.bz2 tar -jxvf owncloud-8.0.3.tar.bz2 mv owncloud /var/www/clients/client1/example.nl/web/owncloud/ chown -R web1:client1 /var/www/clients/client1/example.nl/web/owncloud/
- Make the configuration and apps folder writable for the webserver.
chmod 770 -R /var/www/clients/client1/example.nl/web/owncloud/config chmod 770 -R /var/www/clients/client1/example.nl/web/owncloud/apps
- Create storage space where ever you like and change the owner. Use the user and group you noted from ISPConfig.
mkdir /mnt/storage/clouddata chown -R web1:client1 /mnt/storage/clouddata
- Open the OwnCloud installation page en go to “example.com/owncloud”
- Fill this form in with the known settings and choose a administrator. Never use “Admin” as the username.
- If your installation is succesfull that you wil be logged on as the administrator user.
- Check you installation by going to the admin options page and check the header “Configuration Checks”
- Enforce a SSL connection by setting “Enforce HTTPS”:
This Guide prevents getting the following error on your Windows desktop clients
- Cannot connect
- Connection closed