create and share a vagrant box

Info and upload: https://atlas.hashicorp.com/help/vagrant/boxes/create Pack a box with virtualbox vagrant package –base <virtual_maschine_name> –output mybox.box Avoid the generation of a ssh key! Insert this into your Vagrantfile  during box creation config.ssh.insert_key=false Remove an existing ssh key from a box wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O .ssh/authorized_keys chmod 700 .ssh chmod 600 .ssh/authorized_keys chown Read more…

creating a vagrant base box from an existing base box

A vagrant Ubuntu Server 32bit 14.04 LTS with Apache, MySQl, PHP and several development tools installed. The server contains the following components: apache mysql php 5.5 sqlite vim git composer nodejs, npm cUrl xdebug The result can be used here: https://atlas.hashicorp.com/alexwenzel/boxes/webdev Prepare the server Initzialize vagrant: vagrant init ubuntu/trusty32 Edit the initial vagrant Read more…

Vagrant LAMP Stack setup

I liked WAMP very much, but after discovering Vagrant I never will go back to WAMP.

What is Vagrant used for?

Create and configure lightweight, reproducible, and portable development environments.

In my words: Vagrant is used to simulate a real server environment to interact with.

In this article I want to share my basic setup.

(more…)