This material is proposed for merging ...
- 1 What is ownCloud?
- 2 Set up ownCloud on Alpine Linux
- 3 Install lighttpd, PHP, and MySql
- 4 Configure Lighttpd
- 5 Start lighttpd service and add to needed runlevel
- 6 Installing and configuring ownCloud
- 7 Config and start MySql
- 8 Config your ownCloud
- 9 WebDAV
What is ownCloud?
ownCloud gives you easy and universal access to all of your files. It also provides a platform to easily view, sync and share your contacts, calendars, bookmarks and files across all your devices. ownCloud 3 brings loads of new features and hundred of fixes…
- Sharing at the click of a button
We like to share things, so we made sure you can do that easily. You can share files with other users in your ownCloud instance or through a public link that you can send to anyone. Can be used as an open source dropbox alternative too.
- Explore your photos
ownCloud features a photo gallery application to help, view and organize photos of different file types. Photo albums are automatically created for uploaded photos and make it easy to scroll through your pictures.
- Edit your files on the go
With ownCloud, you can access and edit your documents in multiple ways. You can edit text files directly in your browser with the online text editor, or mount your files locally via WebDAV, viewing and editing them with the desktop apps you are used to.
Set up ownCloud on Alpine Linux
This document will be a quick c/p guide to setup this file sharing system on Alpine linux. What we will setup is the following:
- Lighttpd with PHP
Install lighttpd, PHP, and MySql
For installing the additional packages first activate community packages:
Uncomment the following:
Update the packagelist:
Install the additional packages:
Start lighttpd service and add to needed runlevel
Install extra packages:
Installing and configuring ownCloud
- Make webapps folder
- Change Folder permissions
- Make symlinks to ownCloud
Config and start MySql
Create the ownCloud database
Config your ownCloud
- "Create a administrator account"
- User Name: <username> - new admin username
- Password: <password> - new admin password
- "Set the storage folder:"
- </usr/share/webapps/owncloud/data> - Storage folder
- "Configure the database"
- User Name: <username> - db admin username
- Password: <password> - db admin password
- Database Name: owncloud - db name
- Database Host: localhost - db host
After you've done that, click "Complete Installation"
You have ownCloud working, to access go to http://WEBSERVER_IP_ADDRESS/owncloud and enjoy!
Note: You will need to create at least one user.
You can access ownCloud directly via WebDAV, as an Dropbox alternative.
Here we will explain how to setup WebDAV access on several Operating Systems. Some applications only allow you to save to a local folder. By mounting ownCloud to a local folder, you can get around this issue.
- Add webdav packages
- Configure the lighttpd
- Restart the web server
- Confiugre the fstab
usr/share/webapps/owncloud/files/webdav.php /usr/share/webapps/owncloud/<username>/data/ davfs user,rw,noauto 0 0
Change <username> to the username created in the owncloud. e.g. public
Windows XP and Vista should work perfectly fine.
In Windows 7, you can map ownCloud as a network folder.
Enable the Webclient service Services.
- Webclient service (Mouse right click -> Enable)
Modify the registry
- Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel from 1 to 2.
- Restart Webclient service (Mouse right click -> Restart)
Map the network folder
- Go to My Computer (Mouse right click -> Mount Network Drive)
- In the Folder field type http://WEBSERVER_IP_ADDRESS/owncloud/files/webdav.php
- Check Connect using different credentials