ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

Failing to install virtual machine #197

Closed norma-palomino closed 10 years ago

norma-palomino commented 10 years ago

Hi, I tried to set up the virtual machine on my MacBook Pro. I installed Virtual Box and Vagrant, but got stuck in step #3, get the GitHub repository. I get two errors:

ERROR 1: when trying to open Vagran:

normas-mbp:~ Norma$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'base' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Adding box 'base' (v0) for provider: virtualbox default: Downloading: base An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

Couldn't open file /Users/Norma/base normas-mbp:~ Norma$

ERROR 2: when trying to connect to Git Hub (NOTE: I have account on GitHub)

normas-mbp:~ Norma$ git clone git@github.com:ptwobrussell/Mining-the-Social-Web-2nd-Edition.git Cloning into 'Mining-the-Social-Web-2nd-Edition'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. normas-mbp:~ Norma$

Any help will be highly appreciated, so I can keep learning with this book.

thanks

ptwobrussell commented 10 years ago

Since you don't have a GitHub SSH key on file, use the HTTPS clone URL that's available on the main project page in the right margin. Your clone should then succeed.

Only after a successful clone should you run "vagrant up", and be sure to do so from within the checked out code's folder containing the file named Vagrantfile.

Let me know how that works for you...

On May 24, 2014, at 1:23 PM, nepalomi notifications@github.com wrote:

Hi, I tried to set up the virtual machine on my MacBook Pro. I installed Virtual Box and Vagrant, but got stuck in step #3, get the GitHub repository. I get two errors:

ERROR 1: when trying to open Vagran:

normas-mbp:~ Norma$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'base' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Adding box 'base' (v0) for provider: virtualbox default: Downloading: base An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

Couldn't open file /Users/Norma/base normas-mbp:~ Norma$

ERROR 2: when trying to connect to Git Hub (NOTE: I have account on GitHub)

normas-mbp:~ Norma$ git clone git@github.com:ptwobrussell/Mining-the-Social-Web-2nd-Edition.git Cloning into 'Mining-the-Social-Web-2nd-Edition'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. normas-mbp:~ Norma$

Any help will be highly appreciated, so I can keep learning with this book.

thanks

— Reply to this email directly or view it on GitHub.

norma-palomino commented 10 years ago

Hi Matthew,

do you mean https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition.git? I used that but it doesn't work. I'm doing this from the Mac OS prompt ("normas-mbp:~Norma$"). Am I doing something wrong? Thanks for your help

ptwobrussell commented 10 years ago

Can you show me the full copy/paste on the input/output from trying to "git clone" that URL? Can't imagine why it's not working.

On May 24, 2014, at 7:57 PM, nepalomi notifications@github.com wrote:

Hi Matthew,

do you mean https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition.git? I used that but it doesn't work. I'm doing this from the Mac OS prompt ("normas-mbp:~Norma$"). Am I doing something wrong? Thanks for your help

— Reply to this email directly or view it on GitHub.

norma-palomino commented 10 years ago

I might have figured it out, because of your help. Thanks for being there!

Norma

ptwobrussell commented 10 years ago

My other comment was to just make sure that you are running "vagrant up" from the directory that contains the Vagrantfile I provided in the checkout.

Glad to help. Let me know if there's ever anything else I can do to assist.

On May 24, 2014, at 8:45 PM, nepalomi notifications@github.com wrote:

I might have figured it out, because of your help. Thanks for being there!

Norma

— Reply to this email directly or view it on GitHub.

norma-palomino commented 10 years ago

I am running it from: "normas-mbp:Mining-the-Social-Web-2nd-Edition Norma$ vagrant up". is that good? It's taking a while, as the instructions say it is supposed to be, so I guess I'm doing right this time....

ptwobrussell commented 10 years ago

Yes, that's a good sign :)

On May 24, 2014, at 9:11 PM, nepalomi notifications@github.com wrote:

I am running it from: "normas-mbp:Mining-the-Social-Web-2nd-Edition Norma$ vagrant up". is that good? It's taking a while, as the instructions say it is supposed to be, so I guess I'm doing right this time....

— Reply to this email directly or view it on GitHub.

norma-palomino commented 10 years ago

I am ready to go, so exciting!!!