|
-
Mount your box.net (box.com) account in linux
Did your box.net mount start failing recently? They've changed a couple things.. use this guide to set it up again..
First, install davfs
Red Hat based:
# yum install davfs2
Debian based:
# apt-get install davfs2
Now, add the mount point:
# mkdir /box
Add this line to your /etc/fstab:
Code:
https://www.box.com/dav /box davfs rw,user,noauto 0 0
Add this line to the bottom of the /etc/davfs2/secrets file (replace with your email address and password)
Code:
https://www.box.com/dav user@email.com password
Edit the /etc/davfs2/davfs2.conf
Change:
# use_locks 1
to
use_locks 0
Now mount it!
# mount /box
Show that it's there with 'mount' or with 'df'
Now.. rsync something to it. Here, i'm rsyncing a 1gb tgz file:
Code:
[root@station-222 home]# rsync -avz --progress rob-test.tgz /box/
sending incremental file list
rob-test.tgz
1154875454 100% 61.06MB/s 0:00:18 (xfer#1, to-check=0/1)
sent 1155263231 bytes received 31 bytes 59244269.85 bytes/sec
total size is 1154875454 speedup is 1.00
[root@station-222 home]#
It took hardly any time at all over a fios connection - 18 seconds @ 61mb/sec
box_01.png
-
The Following 2 Users Say Thank You to Rob For This Useful Post:
DaReaper (04-19-2012),scotty (04-13-2012)
-
Very useful, awesome! However, it is mounted like read-only for my normal user. I did a chown and chgrp for my username on the /box directory but it is still impossible to modify the existing files because only root can mount it, and so the files in the folder are owned by root. The "mount -a" command doesn't work with my user. Do you have a fix?
Thanks again for your awesome article!
-
-
-
The Following User Says Thank You to Rob For This Useful Post:
-
This is so useful! I use Box on my Playbook, so I'm gonna try this...fingers crossed!
-
-
Thanks! Now read & write working
-
-
Wow i thought using wput and wget was fun, i really use Box on my Windows and mobile phone to sync and backup few of my important documents and files.
I hope this will be equally helpful for syncing my server files into box. Thanks a lot!
-
-
Don't use wedav. It's a just ugly.
Use sshfs or CIFS. Webdav is in my opion as valadation of the HTTP Protocol, also it's create much to much overhaed.
Why not using a protocol that has be design from the first moment for this?
so far
Akendo
Feel free to follow my blog.
-
-
OK 
I love sshfs btw..
How would you do it using sshfs and/or CIFS?
 Originally Posted by Akendo
Don't use wedav. It's a just ugly.
Use sshfs or CIFS. Webdav is in my opion as valadation of the HTTP Protocol, also it's create much to much overhaed.
Why not using a protocol that has be design from the first moment for this?
so far
Akendo
-
-
sshfs depends on a simply ssh server. You have install the fuse framework on your locale system. But after this you just trade it like a mount point.
The advantaces are:
- Encrypted
- No extra Deamon required
- Caching directory content(important!)
The command is:
Code:
sshfs hostname: mountpoint
CIFS is need when you have need for acl. To explains this it would take to long.
so far
akendo
Feel free to follow my blog.
-
-
 Originally Posted by Akendo
sshfs depends on a simply ssh server. You have install the fuse framework on your locale system. But after this you just trade it like a mount point.
The advantaces are:
- Encrypted
- No extra Deamon required
- Caching directory content(important!)
The command is:
Code:
sshfs hostname: mountpoint
CIFS is need when you have need for acl. To explains this it would take to long.
so far
akendo
Looks clever... but you could elaborate a little for us
-
Similar Threads
-
By MustangV10 in forum Mail Server
Replies: 2
Last Post: 05-01-2012, 05:49 AM
-
By Gerad in forum Server Security
Replies: 13
Last Post: 01-19-2012, 11:49 AM
-
By red in forum General Linux
Replies: 5
Last Post: 12-09-2011, 12:15 AM
-
By matthes138 in forum General Linux
Replies: 6
Last Post: 11-16-2011, 01:59 PM
-
By Fred in forum Linux News
Replies: 0
Last Post: 11-07-2011, 02:50 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
» Recent Threads
» Stats
Members: 913
Threads: 3,079
Posts: 6,084
Top Poster: Fred (1,486)
Welcome to our newest member, webics
|
Bookmarks