Skip to content

Server4001/hhvm-vagrant-box-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HHVM Vagrant Box

The source environment used for my vagrant box on Atlas, server4001/ubuntu-hhvm.

NOTE: This is the environment used to build the Vagrant box. If you are looking for an HHVM environment, just use the box: server4001/ubuntu-hhvm.

Comes with:

  • Ubuntu 14.04
  • HHVM v3.18.2 (rel)
  • Nginx v1.10.3
  • MySQL v5.7.18
  • Beanstalkd v1.9
  • Redis v2.8.4
  • Memcached v1.4.14
  • Composer v1.4.1

Also has a Vim plugin for writing Hack code.

Packaging the box:

  • vagrant up
  • Make any changes you need to the box. Be sure to reflect these changes in the provisioning script.
  • Before packaging up the box, ssh in, and run the commands that are at the end of provision.sh.
  • Package up the box with vagrant package --output server4001-hhvm-1.1.0.box. Replace 1.1.0 with the version number.
  • Destroy the vm with vagrant destroy -f.
  • Add the new box to vagrant's local list with: vagrant box add server4001/hhvm-110 server4001-hhvm-1.1.0.box. Again, replace 110 and 1.1.0 with the version number.
  • Delete the .vagrant folder with rm -rf .vagrant.
  • Test out the box by going to a different folder, running vagrant init server4001/hhvm-110, and changing the Vagrantfile to fit your needs. Next, run vagrant up, and ensure everything is working.
  • Create a new version on Atlas.
  • Add a new provider to the version. The type should be virtualbox. Upload the box file.
  • Commit your changes using git.
  • Create a new tag: git tag 1.1.0 && git push origin 1.1.0

MySQL root credentials:

  • Username: root
  • Password: password

Todos:

About

The source environment for my HHVM vagrant box on Atlas

Resources

Stars

Watchers

Forks

Packages

No packages published