This is a collection of shell scripts I am using setting up a LAMP vagrant box with ubuntu 14.04 (LTS)
The box is automatically downloaded from https://vagrantcloud.com/ubuntu/boxes/trusty64
Updates apt with the file within etc/apt/sources.list
.
Installs build-essential, vim, openssl, curl
Installs apache2, php5, mysql-server, mysql-client, openssl, mod_rewrite, ssl.
disables the default apache site and adds vagrant to the www-data group
Installs the nfs client. Required when using the vagrant NFS setting.
Installs phpmyadmin with pre-answers questions.
Installs Jenkins CI, php5-cli, git, composer and phing
Cleans up downloaded packages.
Vagrant::Config.run do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision :shell, path: "scripts/update-package-manager.sh"
config.vm.provision :shell, path: "scripts/install-essential.sh"
config.vm.provision :shell, path: "scripts/install-lamp.sh"
config.vm.provision :shell, path: "scripts/install-phpmyadmin.sh"
config.vm.provision :shell, path: "scripts/cleanup.sh"
end