Vagrant + Ansible provisioning of a development virtual machine based on Ubuntu 16.04 + ElementaryOS desktop environment, provisioned with:
- Google Chrome browser (latest stable)
- MariaDB (latest stable available for Ubuntu Xenial)
- Apache HTTPD (latest stable)
- PHP (latest stable or older, depending on config.yml setting)
- MailHog 0.2.1
- Filezilla (latest stable)
- Sublime Text 3 (latest stable)
- DBeaver (latest stable community edition available for Ubuntu Xenial)
- Java JDK 1.8
- Ruby 2.3.1
- Gradle (latest stable)
- Maven (latest stable)
- IntelliJ (latest stable community edition)
- PyCharm (2017.3.3 community edition)
- LibreOffice (latest stable)
- Docker (latest stable community edition)
- Camunda Modeler 1.14.0
- your additional roles
- your workspace git repositories
In the host machine, install the latest stable versions of:
- Git
- Vagrant
- VirtualBox
Once finished with the installation of the programs above, open a command terminal, navigate to a base directory of your choice (avoid directory paths with blanks) and from here:
git config --global core.autocrlf input
git clone https://github.com/fagia/devmachine.git your-devmachine-name-here
cd your-devmachine-name-here
Copy the file config.yml.template
to config.yml
and, in the copied file, fill in the configuration informations.
Then:
vagrant up
Hold on, this will take a while. Once the initial setup process is complete, you should be able to log into the fully provisioned development virtual machine (use the credentials that you entered in the config.yml file).
Happy coding!