News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DZone.com:
Creating a virtual server with Vagrant a practical walkthrough
November 18, 2011 @ 08:18:45

On DZone.com there's a new post from Giorgio Sironi looking at how to automate a build of a virtual server with Vagrant, setting up a LAMP-based development instance.

Vagrant ia a tool for building virtual machines (in VirtualBox's format) that conforms to a specification. It's written in Ruby, but it makes really no assumptions over the environments that you're gonna build; in this article, we will setup a virtual server for PHP applications running inside Apache.

The end result is a virtual machine based on VirtualBox images and can be built in a few easy steps:

  • install the vagrant gems on the build system
  • add a new virtual box instance pointed to a .box file
  • create the Vagrant config (including the commands to run post-create)
  • set up a little port forawrding
  • creating a phpinfo file and starting up Apache

One suggested place for grabbing images (some with pre-defined software) is Bitnami's "Stacks" repository.

0 comments voice your opinion now!
vagrant ruby gem install tutorial virtualbox image build


blog comments powered by Disqus

Similar Posts

Community News: Zend/PHP Conference & Expo 2007 Site Posted

SitePoint PHP Blog: How to Create Your Own WordPress Shortcodes

Wb Developer Juice: 10 baby steps to install Memcached Server and access it with PHP

PHPMaster.com: An Introduction to Dependency Injection, Service Locators & Factories (Part 1)

Aaron Pollock: Setting up a PHP development environment on a VPS


Community Events





Don't see your event here?
Let us know!


series threedevsandamaybe api unittest community laravel composer podcast version framework interview opinion symfony configure conference list release language introduction voicesoftheelephpant

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework