Skip to content

A manicured devops Debian Squeeze 64bit LAMP stack configuration for Vagrant.

Notifications You must be signed in to change notification settings

sekati/vagrant-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant LAMP

A manicured devops Debian Squeeze 64bit LAMP stack configuration for Vagrant.

Installation:

  1. Install Vagrant: gem install vagrant --version 1.0.7

  2. Install VirtualBox

  3. Add the squeeze64 basebox:

    $ vagrant box add squeeze64 http://cdn.sekati.com/vagrant/squeeze64.box

alternately, or additionally, for a PHP54 / MongoDB versions:

$ vagrant box add squeeze64-php54 http://cdn.sekati.com/vagrant/squeeze64-php54.box

  1. Create (or go to an existing) project directory, initialize & launch the box:

    	$ mkdir my-project
    	$ cd my-project/
    	$ vagrant init squeeze64
    	$ vagrant up
    
  2. Launch your project in-browser (being served by apache): http://localhost:8080.

What's Inside:

Installed Software:

  • Apache (preconfigured)
  • MySQL
  • PHP (apc, cli, curl, gd, geoip, imagick, mcrypt, memcached, mysql, sasl, sqlite, suhosin, xmlrpc, xsl)
  • phpMyAdmin
  • Ruby, Chef, Puppet
  • git, git-deploy, subversion
  • vim, screen, byobu, nano, curl, wget, links
  • MailCatcher - all system/php mail routes here.
  • SSMTP on port 25 wrapping MailCatcher
  • tailored bash dotfiles with many essentials ...

Services:

Port Mapping:

The basebox's default Vagrantfile automatically forwards the following ports from guest to host:

  config.vm.forward_port 80, 8080     # HTTP
  config.vm.forward_port 443, 4430    # HTTPS
  config.vm.forward_port 3306, 3306   # MYSQL
  config.vm.forward_port 1025, 1025   # MailCatcher
  config.vm.forward_port 1080, 1080   # MailCatcher Frontend

Additional ports for the PHP54/MongoDB basebox:

  config.vm.forward_port 27017, 27017 # MongoDB
  config.vm.forward_port 28017, 28017 # MongoDB admin

Port Remap Firewall Script:

Users may wish to re-map the VM to standard HTTP(S) ports rather than 8080/4430. MacOS X users may do so by downloading the Firewall folder from this repository & placing it in /Library/StartupItems/ & rebooting their machine - allowing them to access http://localhost & https://localhost for their project.

About

A manicured devops Debian Squeeze 64bit LAMP stack configuration for Vagrant.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published