You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
пре 4 година
пре 3 година
  1. ## What is Dropbox?
  2. Dropbox is an web based file hosting service. It creates a folder in
  3. your home directory (usually \~/Dropbox) and monitors that folder and
  4. keeps it synced to the web and to other computers that you have
  5. installed Dropbox on. It\'s also a fairly handy way to upload files
  6. between your computer and RedBrick as it doesn\'t need your account
  7. details, it just requires that you link the client with your Dropbox
  8. account
  9. ## Installing Dropbox on your RedBrick account
  10. Dropbox can\'t be installed on RedBrick in the traditional way as it is
  11. a plugin for nautilus which isn\'t going to be installed on RedBrick any
  12. time soon. Instead, we\'ll download the Command Line Interface version.
  13. ### Pre-installation
  14. Dropbox doesn\'t seem to run on [minerva](/minerva "wikilink"), it works
  15. fine on [morpheus](/morpheus "wikilink") and
  16. [azazel](/azazel "wikilink"), [carbon](/carbon "wikilink") is untested.
  17. So ssh to one of these machines. Now, despite dropbox saying that the
  18. command line version uses the http_proxy variable, it actually uses the
  19. HTTP_PROXY variable, so lets set it correctly with:
  20. `export HTTP_PROXY="`[``](`"`
  21. And now you\'re ready to start.
  22. ### Installation
  23. Grab the program from the dropbox website with:
  24. `wget -O dropbox.tar.gz "`[``](`"`
  25. Extract it to \~/.dropbox-dist with:
  26. `tar -xvzf dropbox.tar.gz`
  27. Next, create a folder in your home directory called bin:
  28. `mkdir ~/bin`
  29. There\'s something nice about this folder, if you type echo \$PATH into
  30. your shell, you\'ll notice that that folder has been added to the start
  31. of your \$PATH. Your \$PATH is the list of folders that your shell looks
  32. through (in order) when it tries to execute a program. For example, if
  33. in your \~/bin you have a program called ls and try to execute ls, your
  34. shell will execute \~/bin/ls, as opposed to the systems ls. This is the
  35. folder where we will install the Dropbox CLI. Execute the following:
  36. `wget -O ~/bin/dropbox "`[``](`"`
  37. And make the program executable:
  38. `chmod 700 ~/bin/dropbox`
  39. Next, we\'ll start the dropbox daemon:
  40. `~/.dropbox-dist/dropboxd`
  41. This will give you output similar to the screen shot below. Follow the
  42. link and sign into your account to link your account to the client.
  43. [Image:Dropboxd.png](/Image:Dropboxd.png "wikilink")
  44. After you\'ve done this, press ctrl+c to kill it, as we\'re going to use
  45. the dropbox program we downloaded earlier to interact with the daemon
  46. from now on. Notice how you have a shiny new \~/Dropbox folder? Dropbox
  47. is now ready to go.
  48. ### Using the dropbox script
  49. If you use a shell that autocorrects, you may want to turn it off in the
  50. config file, as when in your home directory, the Dropbox folder may
  51. confuse it, when you actually meant the dropbox program in your \~/bin.
  52. To do this in zsh put the following in your \~/.zshrc
  53. `alias dropbox="nocorrect dropbox"`
  54. and then reload your config
  55. `source ~/.zshrc`
  56. To start the dropbox daemon with the dropbox program type:
  57. `dropbox start`
  58. Notice how with this we get our terminal back? The dropbox script
  59. daemonises the dropbox daemon so that you can continue doing things
  60. while it runs in the background. Handy, no? Other useful dropbox
  61. commands are:
  62. `dropbox status - See if the daemon is running or not`\
  63. `dropbox stop - Stop the dropbox daemon`\
  64. `dropbox autostart - Start the dropbox daemon as soon as you login.`\
  65. `dropbox help - A list of all the commands`
  66. ## Extending Dropbox
  67. There are some pretty nice extensions for Dropbox, see
  68. <> for a list
  69. of some of them. They all come with their own documentation, so it
  70. shouldn\'t be too hard to use them.
  71. ## Your Dropbox and your RedBrick Quota
  72. Dropbox saves copies of your files to each copmuter it is linked to, so
  73. if you use your 2GB on dropbox you will need 2GB of space on your
  74. RedBrick account, if you need more space, contact the admins.