Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Vagrantfile configuration

By: nanojava on Dec 3rd, 2013  |  syntax: Bash  |  size: 0.70 KB  |  views: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Vagrant.configure("2") do |config|
  2.   config.vm.box = "precise32"
  3.   config.vm.box_url = "http://files.vagrantup.com/precise32.box"
  4.  
  5.   # Setting provisions
  6.   config.vm.provision "shell", inline: "apt-get update"
  7.   config.vm.provision "shell", inline: "apt-get -y install apache2"
  8.   config.vm.provision "shell", inline: "apt-get -y install mysql-common mysql-server"
  9.   # XXX screen not viewable
  10.   # XXX required prompt for root password
  11.   config.vm.provision "shell", inline: "apt-get -y install phpmyadmin"
  12.   # XXX screen not viewable
  13.   # XXX required prompt for server selection
  14.   # XXX required prompt for dbconfig-common database configuration
  15.   # XXX required prompt for password input of rot user
  16. end
clone this paste RAW Paste Data