--Prerequisites--
Virtual Box -- https://www.virtualbox.org/wiki/Downloads Vagrant -- https://www.vagrantup.com/
An understanding of Ubuntu 12/Linux
--Description—
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.
Webmin has been commented out as it is not working as expected.
--Instructions for running this script--
NOTE: Anything in “” is a command
-
Create a folder for your VM
-
Run the following command in the folder you have created: “vagrant init hashicorp/precise32”
You should see the following result:
A Vagrantfile
has been placed in this directory. You are now
ready to vagrant up
your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
vagrantup.com
for more information on using Vagrant.
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: 127.0.0.1 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.
--TODO--
- Get webmin install working
- Add phpmyadmin install
- Enable and configure SAMBA, also write a batch file to map the drive