OwnCloud

From SME Server
Revision as of 03:57, 5 December 2012 by RequestedDeletion (talk | contribs) (LDAP page change)
Jump to navigation Jump to search

ownCloud ( http://owncloud.org/ ) let's you create your own cloud-server, heavily based on WebDAV which is included. No need to follow any other How-to.


PythonIcon.png Skill level: Medium
The instructions on this page require a basic knowledge of linux.


Version 4.5.4. works out of the box on SME8


Quick test install:

1. Download the latest version from here http://owncloud.org/releases/

2. Create an iBay and extract ownCloud into the html directory of the new iBay

3. Set the openbasedir for the iBay to include /tmp

4. Create a new database in MySQL, grant persmissions, set password and flush

5. Browse to http://yourserver/youriBay and follow install script


For ldap authentication (tested with ownCloud v4.5.4):

1. log in as admin who installed owncloud

2. go to apps and enable ldap authentication backend

3. go to admin, ldap section

4. use below settings:


Host: localhost

Base DN: dc=[yourdomain],dc=[com] (as seen in the 'domains' section in SME server manager)

User DN: uid=admin,ou=Users,dc=[yourdomain],dc=[com]

Password: [SME admin password]

User Login Filter: uid=%uid

User List Filter: objectClass=person

For the variables between brackets [], use your specific settings. Test creating a specific user and use that username password opposed to using the admin's credentials.


For more info on using SME OpenLDAP for authentication please see: http://wiki.contribs.org/LDAP_Authentication


Note 1: ownCloud may complain about not able to access iBay. 'chown -R www:www html' within the iBay (see: http://wiki.contribs.org/Talk:OwnCloud )