mounting-s3-bucket-locally-on-ubuntu

JSON

rev 17  |  foxhop  |  1339271372000  |  JSON

rev 16
rev 17
63  sudo make install63  sudo make install
6464
n65Configure:n65Configure s3fs password file:
66 66 
67 .. code-block:: bash67 .. code-block:: bash
n68 n
69  vim ~/.passwd-s3fs
70  chmod 600 ~/.passwd-s3fs
71  68  
tt69  sudo vim /root/.passwd-s3fs
70  sudo chmod 600 /root/.passwd-s3fs  
71 
72 Format should be: <access key id>:<access key secret>72 Format should be: <access key id>:<access key secret>
7373
rev 16  |  foxhop  |  1339269501000  |  JSON

rev 15
rev 16
24 follow the prompts.  You will need to prepare your Access Key ID and Access Key24 follow the prompts.  You will need to prepare your Access Key ID and Access Key
> Secret.> Secret.
25 25 
t26Test:t26list buckets:
27 
28 .. code-block:: bash
29 
30  s3cmd ls
31 
32list inside a bucket
2733
28 .. code-block:: bash34 .. code-block:: bash
rev 15  |  foxhop  |  1333410746000  |  JSON

rev 14
rev 15
78 .. code-block:: bash78 .. code-block:: bash
79 79 
t80  s3fs #mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0t80  s3fs#mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0
81 81 
8282
rev 14  |  foxhop  |  1333410734000  |  JSON

rev 13
rev 14
78 .. code-block:: bash78 .. code-block:: bash
79 79 
t80  s3fs # mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0t80  s3fs #mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0
81 81 
8282
rev 13  |  foxhop  |  1333410713000  |  JSON

rev 12
rev 13
74  s3fs <bucket name> <mount point>74  s3fs <bucket name> <mount point>
7575
nn76 Add to fstab to mount during boot:
7677
tt78 .. code-block:: bash
79 
80  s3fs # mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0
81 
7782
7883
rev 12  |  foxhop  |  1333410051000  |  JSON

rev 11
rev 12
72 .. code-block:: bash72 .. code-block:: bash
73 73 
t74  testht74  s3fs <bucket name> <mount point>
75 
76 
7577
7678
rev 11  |  foxhop  |  1333410002000  |  JSON

rev 10
rev 11
6767
6868
nn69Test:
6970
70 71 
tt72 .. code-block:: bash
73 
74  testh
75 
76 
77 
rev 10  |  foxhop  |  1333409926000  |  JSON

rev 9
rev 10
66 Format should be: <access key id>:<access key secret>66 Format should be: <access key id>:<access key secret>
6767
n68Test:n
69 
70 .. code-block:: bash
71 
72  s3fs <bucket name> <mount point>
7368
n74 Add to fstab to mount on boot:n
7569
t76 .. code-block:: basht70 
77 
78  oijiojoij
rev 9  |  foxhop  |  1333409837000  |  JSON

rev 8
rev 9
66 Format should be: <access key id>:<access key secret>66 Format should be: <access key id>:<access key secret>
6767
nn68Test:
69 
70 .. code-block:: bash
71 
72  s3fs <bucket name> <mount point>
6873
nn74 Add to fstab to mount on boot:
6975
t70 t76 .. code-block:: bash
77 
78  oijiojoij
rev 8  |  foxhop  |  1333409403000  |  JSON

rev 7
rev 8
66 Format should be: <access key id>:<access key secret>66 Format should be: <access key id>:<access key secret>
6767
n68Test:n
69 
70 .. code-block:: bash
71 
72  sudo s3fs <bucket name> /mnt
73 
74 To mount this file system during boot:
75 
76 .. code-block:: bash
77 
78  s3fs#<bucket name> /mnt
7968
tt69 
70 
rev 7  |  foxhop  |  1333409320000  |  JSON

rev 6
rev 7
66 Format should be: <access key id>:<access key secret>66 Format should be: <access key id>:<access key secret>
6767
nn68Test:
69 
70 .. code-block:: bash
71 
72  sudo s3fs <bucket name> /mnt
73 
74 To mount this file system during boot:
75 
76 .. code-block:: bash
77 
78  s3fs#<bucket name> /mnt
6879
t69 t
70 
rev 6  |  foxhop  |  1333407711000  |  JSON

rev 5
rev 6
57  sudo make install57  sudo make install
5858
tt59Configure:
60 
61 .. code-block:: bash
62 
63  vim ~/.passwd-s3fs
64  chmod 600 ~/.passwd-s3fs
65  
66 Format should be: <access key id>:<access key secret>
67 
68 
69 
70 
rev 5  |  foxhop  |  1333407386000  |  JSON

rev 4
rev 5
3232
3333
t34Install, configure, and test s3fs-fuset34Install, Configure, and test s3fs-fuse
35-----------------------------------------------35-----------------------------------------------
3636
rev 4  |  foxhop  |  1333407365000  |  JSON

rev 3
rev 4
39 .. code-block:: bash39 .. code-block:: bash
4040
n41  apt-get install fuse-utils build-essential libcurl4-openssl-dev libxml2-dev lin41  sudo apt-get install fuse-utils build-essential libcurl4-openssl-dev libxml2-d
>bfuse-dev>ev libfuse-dev
4242
43Download sourcecode:43Download sourcecode:
54  cd s3fs-*54  cd s3fs-*
55  ./configure55  ./configure
t56  maket56  sudo make
57  make install57  sudo make install
5858
rev 3  |  foxhop  |  1333407296000  |  JSON

rev 2
rev 3
4646
47  wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz47  wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz
n48  tar -xzvf s3fs-*n48  tar -xzvf s3fs-*  
49  cd s3fs-*49 
50  
51Build sourcecode:50Build sourcecode:
5251
53 .. code-block:: bash52 .. code-block:: bash
5453
tt54  cd s3fs-*
55  ./configure
55  make56  make
56  make install57  make install
rev 2  |  foxhop  |  1333407199000  |  JSON

rev 1
rev 2
n1Mounting s3 bucket locally on Ubuntun1Mounting s3 Bucket Locally on Ubuntu
2==================================================2==================================================
33
n4Install the following packages:n4.. contents:: 
55
n6.. code-block:: bashn
76
n8 apt-get updaten7Install, Configure, and Test s3cmd
9 apt-get install s3cmd8------------------------------------------------------
109
tt10Install:
11 
12 .. code-block:: bash
13 
14  sudo apt-get update
15  sudo apt-get install s3cmd
16 
17 
18Configure:
19 
20 .. code-block:: bash
21 
22  s3cmd --configure
23 
24 follow the prompts.  You will need to prepare your Access Key ID and Access Key
 > Secret.
25 
26Test:
27 
28 .. code-block:: bash
29 
30  s3cmd ls <bucket>
31 
32 
33 
34Install, configure, and test s3fs-fuse
35-----------------------------------------------
36 
37Install dependencies:
38 
39 .. code-block:: bash
40 
41  apt-get install fuse-utils build-essential libcurl4-openssl-dev libxml2-dev li
 >bfuse-dev
42 
43Download sourcecode:
44 
45 .. code-block:: bash
46 
47  wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz
48  tar -xzvf s3fs-*
49  cd s3fs-*
50  
51Build sourcecode:
52 
53 .. code-block:: bash
54 
55  make
56  make install
57 
rev 1  |  foxhop  |  1333405432000  |  JSON

empty
rev 1
tt1Mounting s3 bucket locally on Ubuntu
2==================================================
3 
4Install the following packages:
5 
6.. code-block:: bash
7 
8 apt-get update
9 apt-get install s3cmd
10