Current version 1.2
Virtual Box -- https://www.virtualbox.org/wiki/Downloads Vagrant -- https://www.vagrantup.com/
An understanding of Ubuntu 12/Linux
This vagrant script will install the following on Ubuntu 12.04
- Apache2
- MYSQL
- PHP
*PHP errors have been enabled *Apache mod rewrite has been enabled *passwords in this script have been set to ‘password’ I suggest you change this before running the script.
-
Create a folder for your VM
-
Clone this repository and place the VAGRANT and bootstrap file in the folder you have created above and overwrite the default VAGRANT file.
-
Run the command “vagrant up”
-
Once the script has completed run “vagrant ssh”
this should show you the below output or similar
Host: 192.168.50.4
Port: 22
Username: vagrant
Use the above information to SHH with whatever SSH client you prefer. The username is vagrant and the password is vagrant.
v1.2
- Added webmin to source list
- Installed webmin, access via https://192.168.50.4:10000/
All passwords used in this tutorial should be reset. Connect to SSH via 192.168.50.4 port 22
- install phpmyadmin
- Create a SAMBA share for the www directory