VAAMP - quickstart

This is a quickstart guide for getting up and running with VAAMP (VirtualBox, Alpine Linux, Apache, MySQL, and PHP).  For more details, see the full tutorial.

One-time Setup

1. Download and install VirtualBox

2. Download and extract the VAAMP zip file

3. Open VirtualBox and choose File > Import appliance... and browse to the AlpineLinux.ovf file from Step 2

4. Once the import completes, click the VirtualBox Start button

5. Edit your hosts file and add the following to the bottom:

192.168.50.50 adminer.local.dd
192.168.50.50 logs.local.dd

6. Browse to http://adminer.local.dd/ and verify the Adminer MySQL application displays.

7. Browse to http://logs.local.dd/ and verify the Pimp my Log application displays.

8. Create a file called vaampkey.txt and copy the contents of http://ix.io/k5w into it.

9. Install an sshfs client:
OS X: Install osxfuse and sshfs by following this guide
Windows: Download and install https://win-sshfs.googlecode.com/files/win-sshfs-0.0.1.5-setup.exe (note: the installer may warn you about missing components but they will be automatically downloaded and installed as part of the sshfs installation process).  Also, the install may require a computer restart. 
Red Hat: sudo yum install fuse-sshfs 
Ubuntu: sudo apt-get install sshfs

10. Open sshfs and click the + Add button

11. Now, enter the following information:
  • Drive Name = vaamp
  • Host = 192.168.50.50
  • Port = 22
  • Username = www
  • Authentication method = PrivateKey
  • PrivateKey = YOUR/PATH/TO/vaampkey.txt
  • Directory = /usr/local/sites
  • Drive Letter = V
12. Then click Save and then Mount (note: you MUST click Save first due to bug #85)


Add a new site


In this example, I'll install a Wordpress site.


A.  Edit your hosts file and add the following to the bottom:

192.168.50.50 mywordpress.local.dd

B. Open your V: drive and extract the latest Wordpress version into it.

C. Rename the wordpress folder to mywordpress.local.dd



D. Browse to http://adminer.local.dd/ and create a new database and user.

E. Browse to http://mywordpress.local.dd/ and follow the setup wizard


Comments

Popular Posts