Getting comfy with the VirtualBox based Bitnami LAMP Virtual Machine Stack for Drupal Development
A few days ago I shared my experience in setting up Bitnami LAMP Virtual Machine Stack using VirtualBox for Drupal development on my MacBook Air. That article serves well for the initial setup with the latest version of VirtualBox. Now, a few days later, I would like to share "what I really had to do" to get comfy with this local laptop/workstation development environment, the actual steps necessary for acquiring a truly useful tool.
Short List ("back to work")
- Obtain IP of running Bitnami Guest unless you are using static IP (recommended)
- Fix Local IP in /etc/hosts and login with terminal
- Mount codebase via sshfs and work with IDE, Atom, Sublime, etc. or else use Eclipse remoting.
Long List ("Let's get a Drupal project up and running and get back to work already")
- Static address
- Set hostname and server names on Guest if not using Static address
- Fix Local IP in /etc/hosts/ and login with terminal
- Make sure terminal is bash and not dash
- Checkout codebase
- Set files permissions and refresh files via rsync
- Create database via http://phpmyadmin.bitnamilampvm
- Refresh db via rsync if not included in codebase and load local db
- Setup local /etc/hosts, in the Guest vm setup the virtual hosts, and restart apache
- Run in browser
- Mount codebase via sshfs and work with IDE, Atom, Sublime, etc. or else use Eclipse remoting
Original Article: