Grow your CSS skills. Land your dream job.

Using SSH to install Dropbox

  • # December 23, 2012 at 12:59 pm

    I’m trying to install Dropbox onto my hosting server using SSH.

    I’ll be honest, I have no idea what I’m doing and after following a tutorial, I’m getting some sort of error.

    I’m using the command that Dropbox says to use.

    Command:

    cd ~ && wget -O – “https://www.dropbox.com/download?plat=lnx.x86″ | tar xzf -

    Error:

    Connecting to http://www.dropbox.com|199.47.217.170|:443… connected.
    ERROR: cannot verify http://www.dropbox.com‘s certificate, issued by `/C=US/O=Thawte, Inc./CN=Thawte SSL CA’:
    Unable to locally verify the issuer’s authority.
    To connect to http://www.dropbox.com insecurely, use `–no-check-certificate’.
    Unable to establish SSL connection.

    gzip: stdin: unexpected end of file
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

    If I use `–no-check-certificate-`, I get:

    wget: unrecognized option `–no-check-certificate-’

    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

    Not sure what this is about: https://www.dropbox.com/help/247/en

    # December 23, 2012 at 2:54 pm

    Not sure if this will work, but can you use http instead of https? Not sure if you need to use --no-check-certificate with that or not.

    # December 23, 2012 at 2:55 pm

    Oh, and just to be clear, I mean using http://www.dropbox.com/download?plat=lnx.x86" instead of https://www.dropbox.com/download?plat=lnx.x86".

    # December 23, 2012 at 2:56 pm

    Will try, thank you @DustinWoods.

    # December 23, 2012 at 3:02 pm

    This is what I get when I try using `http` instead of `https`

    –2012-12-23 13:00:42– http://www.dropbox.com/download?plat=lnx.x86
    Resolving http://www.dropbox.com... 199.47.217.170, 199.47.217.171, 199.47.216.170, …
    Connecting to http://www.dropbox.com|199.47.217.170|:80… connected.
    HTTP request sent, awaiting response… 302 FOUND
    Location: https://www.dropbox.com/download?plat=lnx.x86 [following]
    –2012-12-23 13:00:42– https://www.dropbox.com/download?plat=lnx.x86
    Connecting to http://www.dropbox.com|199.47.217.170|:443… connected.
    ERROR: cannot verify http://www.dropbox.com‘s certificate, issued by `/C=US/O=Thawte, Inc./CN=Thawte SSL CA’:
    Unable to locally verify the issuer’s authority.
    To connect to http://www.dropbox.com insecurely, use `–no-check-certificate’.
    Unable to establish SSL connection.

    gzip: stdin: unexpected end of file
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

    # December 23, 2012 at 3:17 pm

    I think I got it. At least it downloaded something. The issue was that I was using `no-check-certificate-` when I should have just used `no-check-certificate`.

    # December 23, 2012 at 3:22 pm

    I may need help following the rest of the steps.

    I tried

    ~/.dropbox-dist/dropboxd

    which returned

    -jailshell: /home/username/.dropbox-dist/dropboxd: No such file or directory

    # December 23, 2012 at 4:00 pm

    Hmm, can you check if the downloaded file was unzipped? If it didn’t, you’ll probably see dropbox-lnx.x86-1.6.10.tar.gz sitting in your directory.

    Try tar xzf dropbox-lnx.x86-1.6.10.tar.gz
    and then ~/.dropbox-dist/dropboxd

    # December 23, 2012 at 4:10 pm

    @DustinWoods Basically what I did was login to CPanel > File Manager > Root > Click on the file and hit unzip. That created the correct folders.

    Now in the command line, I keep getting “Please visit this link to connect..” blah blah.

    # December 23, 2012 at 4:14 pm

    Oh perfect! Dropbox says you have to visit the link to set up a Dropbox account. Then you should be good to go.

    # December 23, 2012 at 4:20 pm

    @DustinWoods I did actually link it but the terminal keeps displaying the link and won’t stop. Haha. No idea what to do now.

    # December 23, 2012 at 4:37 pm

    Wow. Just got it. I was trying to hit Cntrl + C to copy the link but that just kills the terminal running.

    # December 23, 2012 at 4:42 pm

    Haha, that always gets me too

    # December 23, 2012 at 5:13 pm

    All right. I’m on the very last step and of course I can’t figure this out either.
    http://getkirby.com/blog/kirby-meets-dropbox

    The part that starts at Connect Kirby with Dropbox. I tried that command with my correct file paths and it just hangs there and does nothing in the terminal.

    # December 23, 2012 at 5:28 pm

    Are you talking about this part: ln -s /var/www/mykirbysite.com/content ~/Dropbox/mykirbysite?

Viewing 15 posts - 1 through 15 (of 26 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".