Changes

How to forge a local file system server with IGEPv2 Board

1,446 bytes added, 12:12, 4 November 2011
Configuring WevDAV for Owncloud
</pre>
=== Configuring WevDAV WebDAV for Owncloud ===
Under constructionOwncloud development team are creating a native client to manage files more easyli, but is not release yet. But we can set up a WebDAV protocol to solve it. I tested with a Ubuntu 10.04 laptop, but can be aesyli use in other paltforms, see this [http://owncloud.org/use/webdav/ page] for more information.<br>  Install the WebDAV support: <pre>sudo apt-get install davfs2</pre>Reconfigure davfs2 to allow access to normal users: <pre><code>sudo dpkg-reconfigure davfs2</code></pre>Select ''Yes'' when prompted Add the users you want to be able to mount the share to the <code>davfs2</code> group:<pre>sudo usermod -aG davfs2 <userclient></pre>Edit /etc/fstab, and add the following line for each user who wants to mount the folder (with your details where appropriate)<pre>http://<IPPRIVATE>/owncloud-owncloud/files/webdav.php /home/<username>/owncloud davfs user,rw,noauto 0 0</pre>Create the folders owncloud & .davfs2 in your home directoryCreate the file named secrets inside .davfs2 folder, fill it with the following (with your credentials where appropriate) <pre>http://<IPPRIVATE>/owncloud-owncloud/files/webdav.php <yourowncloudusername> <yourowncloudpassword></pre>Ensure the file is only writable by you either through the file manager:<pre>chmod 600 ~/.davfs2/secrets</pre>Mount your Virtual Owncloud Hardrive with the command: mount ~/owncloudYou can automatically mount the folder on login, add the last command to ~/.bashrc
4,199
edits