A basic Ubuntu 10.04 Vagrant setup for Grouptopics and PHP 5.4.
- VirtualBox - Free virtualization software Downloads
- Vagrant - Tool for working with virtualbox images Vagrant Home, click on 'download now link'
- Git - Source Control Management Downloads
You can set up a development virtual machine running Grouptopics by following these simple instructions.
-
Install requirements. (Note: these are not required by joind.in itself, but are required for this quick start guide.)
- VirtualBox (https://www.virtualbox.org/) (versions 4.0 and 4.1 are currently supported)
- Ruby (http://www.ruby-lang.org/)
- Vagrant (http://vagrantup.com/)
-
Clone repository to any location and fetch required submodules (containing Puppet manifests).
git clone https://github.com/sdphp/grouptopics.org cd grouptopics -
Start the process by running Vagrant.
vagrant up -
Add hostname to /etc/hosts.
echo "127.0.0.1 dev.gt " | sudo tee -a /etc/hosts -
Browse to the newly provisioned development copy of joind.in.
open http://dev.gt:8080
Vagrant is very well documented but here are a few common commands:
vagrant upstarts the virtual machine and provisions itvagrant suspendwill essentially put the machine to 'sleep' withvagrant resumewaking it back upvagrant haltattempts a graceful shutdown of the machine and will need to be brought back withvagrant upvagrant sshgives you shell access to the virtual machine
- OS - Ubuntu 10.04
- Apache - 2.2.22
- PHP - 5.3.2
- MySQL - 5.5.28
Phpmyadmin is available http://dev.gt:8080/phpmyadmin/. User root, Password root