Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Vladimir Vancea
Vladimir Vancea
5,290 Points

Virtual Machines

At the moment I'm trying to setup a PHP development environment on a virtual machine using VirtualBox and Vagrant and I'm really struggling with this.

All the tuts that I find online are either incomplete, outdated or plainly just to complicated to follow for an average user so I'm a bit lost, hence why I'm writing this topic, maybe some of you guys can help me a out here.

First of all, I found a lot of notions that I don't really understand such as: puppet, chef, cookbooks and recipes. I don't really understand the difference between the first two and the last two.

That takes me to my second issue. From what I read I understand that the easiest way to setup a VM environment with Vagrant is with the help of cookbooks so I went to Opscode's website and there are dozens of them, which ones do I need to install? What are the bare minimum things I need to install in order for my PHP environment to work? What about the "nice to have" ones?

Ideally, what I would need is a step by step guide on how to setup all this or someone that could walk me through it but some useful hints or links would also be greatly appreciated.

Oh, one more thing...there is one tool that I know I'll want to have, and that is Guard, for monitoring and handling my SASS files, other than that I'm open to suggestions.

Thanks in advance! Vladimir

1 Answer

James Barnett
James Barnett
39,199 Points

I think you are over complicating things, as a beginner to get started just use virtual appliance style VM such as TurnKey Linux http://www.turnkeylinux.org/lampstack

Vladimir Vancea
Vladimir Vancea
5,290 Points

I did use WAMP before and I want to move on to VMs. I've been using VMs for almost half a year now, but I've never setup one. I just got a new laptop so I want to learn how to do that.

In the meantime I kinda made it work, just need to figure out how to make Git and Guard work now.

Thanks anyway!