Changes

How to forge a local file system server with IGEPv2 Board

56 bytes added, 17:43, 9 November 2011
no edit summary
=== Configuring WebDAV for Owncloud ===
Owncloud development team are creating a native client to manage files more easylieasyly, but is not release yet. But Although 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><&lt;code>&gt;sudo dpkg-reconfigure davfs2<&lt;/code>&gt;</pre>Select ''Yes'' when prompted
Add the users you want to be able to mount the share to the <code>davfs2</code> davfs2 group:<pre>sudo usermod -aG davfs2 <&lt;userclient>&gt;</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://<&lt;IPPRIVATE>&gt;/owncloud-owncloud/files/webdav.php /home/<&lt;username>&gt;/owncloud davfs user,rw,noauto 0 0</pre>Create the folders owncloud & amp; .davfs2 in your home directoryCreate the file named secrets inside .davfs2 folder, fill it with the following (with your credentials where appropriate) <pre>http://<&lt;IPPRIVATE>&gt;/owncloud-owncloud/files/webdav.php <&lt;yourowncloudusername> <&gt; &lt;yourowncloudpassword>&gt;</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