A simple pre-configured Vagrant Box for your LAMP/LEMP development.
The initial setup comes from Scotch Box so big thanks to Nick for his work.
If you don't have Vagrant installed yet you should go and grab it from Vagrant downloads following installation instructions for your OS.
Open your terminal, clone this repository and start Vagrant. Grab a cup of β and wait until box download has finished
$ git clone https://github.com/uniqu3/dev.box.git your-folder
$ cd your-folder
$ vagrant up
Once the download has finished open 192.168.33.10 in your browser and you are ready to hit the keyboard.
Instead of typing IP, for convenience you could edit your hosts
file and add the IP in example.
192.168.33.10 dev.box
By default Apache is serving to port 80 and nginx to port 8080.
If you prefer nginx over Apache simply change ports in configuration files and restart.
Apache: /etc/apache2/sites-available/000-default.conf
nginx: /etc/nginx/sites-available/default
SSH to the box with vagrant ssh
, if that doesn't work try vagrant ssh-config
.
π¦ Feature | β° Version | π Working |
---|---|---|
OS | Ubuntu 14.04 | β |
Apache | 2.4.29 port 80 |
β |
nginx | 1.14.0 port 8080 |
β |
PHP | 7.2.24 | β |
Python | 3.68 | β |
Node.js | 12.13.0 | β |
npm | 6.12.1 | β |
Go | 1.13.3 | β |
Ruby | 2.5.1 | β |
RVM | 1.29.9 | β |
Git | 2.7.1 | β |
Imagemagick | 6.9.7 | β |
Curl | 7.58.0 | β |
Beanstalkd | 1.10 | β |
ngrok | 1.6 | β |
π¦ Feature | β° Version | π Working |
---|---|---|
MySQL | 5.7.27 | β |
PostgreSQL | 10.10 | β |
MongoDB | 4.2.1 | β |
SQLite | 3.22.0 | β |
Composer Version 1.9.1 comes already preinstalled including cgr for global package management.
π¦ Feature | β° Version | β¨ Command | π Working |
---|---|---|---|
PHPUnit | 8.4.2 | $ phpunit |
β |
WP-CLI | 2.3.0 | $ wp |
β |
Drush | 10.0.1 | $ drush |
β |
Wireshell | 1.0.6 | $ wireshell |
β |
Laravel installer | 2.2.0 | $ laravel |
β |
Node.js Version 12.13.0 is preinstalled coming with npm Version 6.12.1 and yarn 1.19.1 for package management.
π¦ Feature | β° Version | π Working |
---|---|---|
Grunt | 1.0.4 | β |
Gulp | 4.41.2 | β |
webpack | 4.0.2 | β |
webpack-cli | 3.3.10 | β |
If you are having problems with VirtualBox Guest Additions and Vagrant try installing vagrant-vbguest plugin.
$ vagrant plugin install vagrant-vbguest