Changes between Version 5 and Version 6 of Tutorial
- Timestamp:
- 2010-08-05T03:06:44Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial
v5 v6 48 48 now Tahoe is installed \o/ 49 49 50 = Instan ciate the nodes =50 = Instantiate the nodes = 51 51 52 52 So, after reading running.html, configuration.txt and architecture.txt, we'll first … … 65 65 }}} 66 66 Then we copy that last string we got from 'cat', and paste it in tahoe.cfg, 67 as follows (edit it using your favorite editor, mine is vim):67 as follows : 68 68 {{{ 69 69 vm2% vim ~/.tahoe/tahoe.cfg … … 96 96 myuser 5360 1.2 7.4 158820 28348 ? S< 02:13 0:00 /usr/bin/python /usr/bin/twistd -y tahoe-client.tac --logfile logs/twistd.log 97 97 }}} 98 and you sh all see an output that looks alike. If not, tahoe failed to start.99 You've got to check ~/.tahoe/logs/ what got wrong.98 and you should see output that looks similar. If not, tahoe failed to start. 99 You've got to check ~/.tahoe/logs/ to see what went wrong. 100 100 101 101 = Configure the nodes = … … 130 130 }}} 131 131 132 Then get your favorite browser and browse to the following URLs, you 133 should get pages similar to the ones below 132 Then browse to the following URLs and you should get pages similar to the ones below 134 133 135 134 * http://172.16.23.1:3456/ … … 142 141 [[Image(http://tahoe-lafs.org/trac/tahoe-lafs/attachment/wiki/Tutorial/172.16.23.130_3456_1.png)]] 143 142 144 Now it's time to be able to store something on the grid, as 145 the whole purpose of Tahoe-LAFS, and thus of this tutorial is 146 to get a grid to store files. 143 Now it's time to be able to store something on the grid : 147 144 148 145 On host and vm2, edit again ~/.tahoe/tahoe.cfg and modify it … … 155 152 32 enabled = true 156 153 33 readonly = false 157 34 reserved_space = 1GB # here you tell the storage server how much space you would like touse154 34 reserved_space = 1GB # here you tell the storage server how much disk space it cannot use 158 155 ------------->8---------------------->8---------------- 159 156 vm2% tahoe restart … … 178 175 = File capabilities ? = 179 176 180 Now it's time for a bit of lit terature. File capabilities are unique "keys"181 associated with the files. It'sused internally by Tahoe-LAFS to identify177 Now it's time for a bit of literature. File capabilities are unique "keys" 178 associated with the files. They are used internally by Tahoe-LAFS to identify 182 179 every file, and used as an URL to locate the file. 183 180 … … 188 185 For mutable files, there are read-only and read-write capabilities. 189 186 A read-only capability will point to a version of a file. A read-write 190 capability repres ant the ability to read the file,the ability to write187 capability represent the ability to read the file and the ability to write 191 188 a new version of a file. 192 189 … … 198 195 = Access your shares = 199 196 200 You can store and access files on Tahoe-LAFS using a lot of201 different ways. The fa test is to either use the Web UI, or202 the CLI though you need to rememberthe caps of the files.203 204 Using the WUI is straight forward,connect to a storage client,197 You can store and access files on Tahoe-LAFS in many 198 different ways. The fastest is to either use the Web UI (WUI), or 199 the command line (CLI) though you need to know the caps of the files. 200 201 Using the WUI is straightforward: connect to a storage client, 205 202 use the forms to add/get/remove files and directories. Just 206 always remember that once you created a directory, you need to 207 save the file's URI, or you won't be able to find it again later 208 on. 203 always remember that once you create a directory, you need to 204 save the directory's URI, or you won't be able to find it again. 209 205 210 206 == Using the CLI == 211 207 212 208 The CLI behaves mostly like a standard shell, with all 213 commands prefixed by 'tahoe', the same way version control 214 system work. 209 commands prefixed by 'tahoe'. 215 210 216 211 If you execute for the first time : … … 231 226 }}} 232 227 233 What happens here is that the Tahoe client tries to connect to the URL228 What happens here is that the Tahoe-LAFS client tries to connect to the URL 234 229 given in the ~/.tahoe/node.url file. So, you need to edit ~/.tahoe/node.url 235 230 {{{