All overwhelming and confusing

146 views
Skip to first unread message

Chris Christou

unread,
Jan 14, 2015, 10:00:41 AM1/14/15
to vagra...@googlegroups.com
Hello to the Vagrant group. 

Please can you help me as I am now overwhelmed and confused. 

Does anyone know of a STEP-BY-STEP beginners guide to installing Vagrant. 

I know how this looks but some of the tutorials out there are quite heavy and cause more confusion than understanding.

Please can someone help me, I new to Vagrant. 

Thanks 

Seth Vargo

unread,
Jan 14, 2015, 10:40:23 AM1/14/15
to vagra...@googlegroups.com
Hi Chris,

The Vagrant documentation includes a step-by-step guide from installation to finish: https://docs.vagrantup.com/v2/getting-started/index.html

Best,
Seth

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Torben Knerr

unread,
Jan 14, 2015, 10:40:28 AM1/14/15
to vagra...@googlegroups.com

Hi Chris,

I'd recommend the official one here:
https://docs.vagrantup.com/v2/getting-started/

HTH,
Torben

--

Chris Christou

unread,
Jan 16, 2015, 11:16:53 AM1/16/15
to vagra...@googlegroups.com
Hey guys thanks for your suggestions, they have been a big help. 

I'm now getting this message: Failed to connect to www.dropbox.com:443; No error

how can i overcome this? 

My organisation has a firewall, which i think this is what it is. 

Please can you assist? 

Umair Chagani

unread,
Jan 16, 2015, 2:36:50 PM1/16/15
to vagra...@googlegroups.com

What are u using Dropbox for?

Chris Christou

unread,
Jan 16, 2015, 2:44:47 PM1/16/15
to vagra...@googlegroups.com
I'm not i followed the instructions in this tut http://youtu.be/ZGUEjZckijA and the error came up in the command line

--
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/H7crWU10MiQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.

Umair Chagani

unread,
Jan 16, 2015, 3:03:02 PM1/16/15
to vagra...@googlegroups.com

Chris Christou

unread,
Jan 16, 2015, 3:08:07 PM1/16/15
to vagra...@googlegroups.com
I did but i went wrong and found that tut

Greg Barker

unread,
Jan 16, 2015, 8:29:29 PM1/16/15
to vagra...@googlegroups.com
So describe for us what you tried to do and where it went wrong

Chris Christou

unread,
Jan 19, 2015, 6:37:04 AM1/19/15
to vagra...@googlegroups.com
So i download:

  • Virtual box then Vagrant for windows and both are placed in the C [as I have no admin rights work], the file is names itself HashiCorp. 
  • I then opened bit-bash and get confused from here 
To be honest even the Project setup is not easy to follow which is why i looked for an actual tutorial, I'm sill stuck on this page: https://docs.vagrantup.com/v2/getting-started/project_setup.html

I know how it looks, but I'm so new to this. 



 

Chris Christou

unread,
Jan 19, 2015, 7:12:13 AM1/19/15
to vagra...@googlegroups.com
Hi

I've tried to start again so I found this online https://kerrygallagher.co.uk/vagrant-for-beginners/

When I get to step 4 I get this error message, screen shot is attached. 

Inline images 1

On 17 January 2015 at 01:29, Greg Barker <fle...@fletchowns.net> wrote:

Bogdan B

unread,
Jan 19, 2015, 7:18:12 AM1/19/15
to vagra...@googlegroups.com
It seems you're behind a firewall that doesn't allow downloading of the base box.

Chris Christou

unread,
Jan 19, 2015, 7:23:18 AM1/19/15
to vagra...@googlegroups.com
Thanks Bogdan that looks like what it is. 

Do you know ways to overcome this? 

What exactly do I ask my IT department? 

Thanks again. 

Bogdan B

unread,
Jan 19, 2015, 7:32:55 AM1/19/15
to vagra...@googlegroups.com
You can try to manually download that file (http://files.vagrantup.com/precise32.box)
If that works then edit you Vagranfile and add
config.vm.box_url = "c:/path/to/where/box/is/precise32.box"
after the line config.vm.box = ...

If you're unable to download manually then you should send that link to IT and ask why you're not able to download.

Chris Christou

unread,
Jan 19, 2015, 10:09:20 AM1/19/15
to vagra...@googlegroups.com
Hi Bogdan.

Thanks for your help on this I created a file in my C drive did a vagrant init I added the the downloaded precise32.box, placed it in the C drive folder as well. 
Then I tried you tip: 
  • config.vm.box = "precise32.box" 
  • it comes back reading sh.exe ":$: command not found"
Thanks for all your help though.

Greg Barker

unread,
Jan 19, 2015, 3:17:29 PM1/19/15
to vagra...@googlegroups.com
Hey Chris -

Are you typing the config.vm.box = "precise32.box" line into your command prompt? That's a line you need to put in the Vagrantfile that vagrant init generated for you. Open up the Vagrantfile with a text editor and make the appropriate changes there.

If you get stuck, post back here with what went wrong!

Greg

Chris Christou

unread,
Jan 19, 2015, 7:12:09 PM1/19/15
to vagra...@googlegroups.com
Thanks guys, I will feed back on Wednesday as I am on training tomorrow.

Chris Christou

unread,
Jan 21, 2015, 6:06:42 AM1/21/15
to vagra...@googlegroups.com
Hi Greg, yes that is exactly what I was doing, where would I place it in the vagrant file? 

Forgive my ignorance here. 

C  

On 19 January 2015 at 20:17, Greg Barker <fle...@fletchowns.net> wrote:

Bogdan B

unread,
Jan 21, 2015, 6:09:50 AM1/21/15
to vagra...@googlegroups.com
Hi Chris,

Just edit Vagrantfile and add that box_url line after .box.

  config.vm.box = "base"
  config.vm.box_url = "precise32.box"

If 'precise32.box' is not in the same directory as your Vagrantfile then you need a full path like c:/path/to/file

Chris Christou

unread,
Jan 21, 2015, 6:39:16 AM1/21/15
to vagra...@googlegroups.com
Hi I did that [file attached]and then tried $vagrant up not command not found. 

I'm so sorry about this. 
Vagrantfile

Shawn McCarthy

unread,
Jan 21, 2015, 9:31:58 AM1/21/15
to vagra...@googlegroups.com
Chris, you are typing :
vagrant up
and not
$vagrant up

right?

The $ means its a command prompt, you should not type the $.

Chris Christou

unread,
Jan 22, 2015, 10:05:22 AM1/22/15
to vagra...@googlegroups.com
Hi Shawn

the $ is already there, so I just type vagrant up and it says command not found. 

Still lost 

Chris Christou

unread,
Jan 22, 2015, 10:22:26 AM1/22/15
to vagra...@googlegroups.com
Shawn hi

I typed in Vagrant up and got this command

there are errors in the configuration of this machine Please fix the following errors and try again:

vm
* A box must be specified. 

 I thought I did. 

Chris 

On 21 January 2015 at 14:31, Shawn McCarthy <shawn.m...@gmail.com> wrote:

Greg Barker

unread,
Jan 22, 2015, 8:38:34 PM1/22/15
to vagra...@googlegroups.com
Post your whole Vagrantfile for us to look at

Chris Christou

unread,
Jan 23, 2015, 4:35:14 AM1/23/15
to vagra...@googlegroups.com
Hi, thanks, here it is
Vagrantfile

Bogdan B

unread,
Jan 23, 2015, 6:26:30 AM1/23/15
to vagra...@googlegroups.com
Hi Chris,
You need both lines as in the attached file (you can use the file directly)
Vagrantfile

Chris Christou

unread,
Jan 23, 2015, 7:26:57 AM1/23/15
to vagra...@googlegroups.com
Thanks so much Bogdan, now it is saying 

The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrrupted and try again. The output from attempting to unpackage (if any): 

x box--disk1.vmdk: Truncated tar achrive bsdtar.EXE exit delayed from previous errors. 

 I downloaded a box a few days ago as suggested and placed it in the same area. 

Thanks  

Bogdan B

unread,
Jan 23, 2015, 10:34:18 AM1/23/15
to vagra...@googlegroups.com
Are you sure it was fully downloaded ? That box should have around 1GB or more.

Chris Christou

unread,
Jan 23, 2015, 10:54:12 AM1/23/15
to vagra...@googlegroups.com
I think so, I got it from the link you provided me with on Monday (http://files.vagrantup.com/precise32.box

But it looks like it is not 1GB. 

Sorry about this, and thank you for your help. 


Bogdan B

unread,
Jan 23, 2015, 11:13:04 AM1/23/15
to vagra...@googlegroups.com
I've just checked and it has 282MB.
Also did a test by using the Vagrantfile provided and the downloaded box and everything worked fine.

Chris Christou

unread,
Jan 23, 2015, 11:22:00 AM1/23/15
to vagra...@googlegroups.com
Hi 

No the precise.box is 5KB, would you like me to send it to you? 

thanks 

Bogdan B

unread,
Jan 23, 2015, 12:01:40 PM1/23/15
to vagra...@googlegroups.com
That means your download failed, maybe for the same reason your normal setup fails.
Check with your IT guys why are you not able to download that file.

Chris Christou

unread,
Jan 23, 2015, 12:05:17 PM1/23/15
to vagra...@googlegroups.com
I did, and when they downloaded it for me that is what was downloaded. 


They seem to be convinced that was downloaded correctly. 

I need to download the box individually not by the command line. 

Bogdan B

unread,
Jan 23, 2015, 12:07:10 PM1/23/15
to vagra...@googlegroups.com
It should have 282MB, it wasn't downloaded correctly if it has 4KB :)

Chris Christou

unread,
Jan 23, 2015, 12:35:04 PM1/23/15
to vagra...@googlegroups.com
Yep you were right [i owe you an apology] IT re-installed now I have this screen, and things look correct. 

Take a look

Thanks for this,

Do i follow the next steps? 

where to from here? 

Do you have a website I can donate to? 

Inline images 2

Bogdan B

unread,
Jan 23, 2015, 1:31:41 PM1/23/15
to vagra...@googlegroups.com
Glad that was sorted :)

"where to from here? " - well.. that really depends on what are you trying to do exactly and for what do you need Vagrant :)
Most people use it as a 'production like'  setup for web development replacing XAMPP/MAMP/WAMP.

Chris Christou

unread,
Jan 26, 2015, 5:18:50 AM1/26/15
to vagra...@googlegroups.com
Bogdan , do you have a website i could donate to as you have been a big help. 

Logging in this morning something has gone wrong: 

I did a vagrant up command and now it reads 

Your VM has become "inaccessible" unfortunately this is a critical error . . . . . . 

I've attached an image.

Sorry if i am a pain. 

Like I said if you have website, please let me donate. 

You have been a big help. 

Inline images 1

Bogdan B

unread,
Jan 26, 2015, 5:25:43 AM1/26/15
to vagra...@googlegroups.com
Hi Chris,
I don't have a website and no need to donate.

I will further reply with further details in private as this falls a bit into 'spam' for the purpose of this list.


Reply all
Reply to author
Forward
0 new messages