Difference between revisions of "Filebox"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Mutantmonkey
(Gnome Users)
imported>Mutantmonkey
(Redirected page to WebDAV)
Line 1: Line 1:
=Filebox and Webdav =
+
#REDIRECT [[WebDAV]]
VT's '''Filebox''' utilizes an HTTP extension known as WebDav. There are several ways to do this. The first one utilizing davfs2 is probably the most seamless way, but may require a bit more work to get working. Gnome and KDE have built in support for WebDav. Instructions for the is further down. Source: [http://www.answers.vt.edu/ask4help/academic/vtkb2825.htm]
 
 
 
=The Davfs2 way=
 
Using Davfs2 you can mount your '''Filebox''' as if it as any 'ol 32MB drive, i.e., you can execute 'mv' 'cp' 'rm', etc., commands and interface with it in your your favorite file manager. What makes this possible is [http://dav.sourceforge.net/ davfs2]. "It is a Linux file system driver that allows you to mount a WebDAV server as a local file system, like a disk drive. This way applications can access resources on a Web server without knowing anything about HTTP or WebDAV."
 
 
 
== Installing on Ubuntu ==
 
First, install davfs2:
 
<pre>
 
sudo apt-get install davfs2
 
</pre>
 
 
 
Now, create the mount directory:
 
<pre>
 
sudo mkdir /media/filebox
 
</pre>
 
 
 
and mount:
 
<pre>
 
sudo mount -t davfs http://webdav.filebox.vt.edu/users/YOUR_PID
 
</pre>
 
 
 
Insert your username and password and it's done!  This also works with hosted sites online.
 
 
 
<pre>
 
sudo mkdir /media/hosted_site
 
sudo mount -t davfs https://webdav.hosting.vt.edu/www.WHATEVER_YOUR_SITE
 
</pre>
 
 
 
You can also put your username/password in /etc/davfs2/secrets:
 
<pre>
 
echo http://webdav.filebox.vt.edu/users/YOUR_PID username password >> /etc/davfs2/secrets
 
</pre>
 
So, mount will not ask for username/password.
 
 
 
== Installing on Gentoo ==
 
There is a great Gentoo Wiki article entry [http://gentoo-wiki.com/HOWTO_Webdav_Mount here]. Make sure to use http://webdav.filebox.vt.edu/users/YOUR_PID as the webdav URL.
 
 
 
=Gnome Users=
 
'''Please note: [[User:mutantmonkey|mutantmonkey]] has had serious problems with the WebDAV support built in to gvfs (which Nautilus uses) and strongly discourages its use.'''
 
 
 
To connect to WebDAV server using Nautilus, click Connect to Server from the Places dropdown or the File dropdown of any open window. In the Service Type field select Secure WebDAV (HTTPS) and fill in the Server field.
 
[[Image:Nautilus_WebDAV.png]]
 
 
 
=KDE Users=
 
In KDE, WebDAV sites can be accessed through webdav:// URLs. In konqueror just browse to <code>webdav://webdav.filebox.vt.edu/users/YOUR_PID</code>
 
 
 
[[Category:Howtos]]
 
[[Category:Campus computing resources]]
 
[[Category:Round 2 migration]]
 

Revision as of 22:39, 25 July 2011

Redirect to: