litebox is a vagrant configuration for rapidly instantiating web-development servers. This configuration is very insecure by default, to facilitate as much open access as possible.
This Vagrantfile is built from a basis Vagrant box, with all software coming in from official software repositories. It contains the essentials, attempting to strike a fine balance between cruft and barrenness.
- Ubuntu
- Lighttpd
- MySQL
- PHP
- xdebug
- webgrind
- memcached
- redis
- ajenti
Note that all vagrant commands must be run from the same directory as this Vagrantfile.
host> cd /path/to/my/VagrantFile
host> vagrant up
vagrant ssh
vagrant halt
mysql -uvagrant -pvagrant --host=127.0.0.1 --port=3306
- root: vagrant
- user: vagrant
- password: vagrant
- default_db: vagrant
https://192.168.33.10:8000
- user: root
- password: admin
These can be modified within the Vagrantfile
- HTTP: 8080
- MySQL: 3306
- xdebug: 9000
- memcached: 11211
- ajenti 8000
Generate a webgrind file:
http://192.168.33.10/mypage.php?XDEBUG_PROFILE=1
Then access webgrind via:
http://192.168.33.10/VagrantDeps/webgrind
You can verify the installation is working with netcat:
host> echo "stats settings" | nc 192.168.33.10 11211
vagrant> redis-cli
vagrant-redis> info
Make sure you are connecting via https
https://192.168.33.10:8000
user: root
password: admin