All Projects → mzeis → Vagrant Magento Hhvm

mzeis / Vagrant Magento Hhvm

Licence: mit
A vagrant configuration for getting a basic version of Magento with HHVM up and running.

Labels

Projects that are alternatives of or similar to Vagrant Magento Hhvm

Puppet Gerritbot
MOVED: Now at https://opendev.org/opendev/puppet-gerritbot
Stars: ✭ 20 (-51.22%)
Mutual labels:  puppet
Percona Cluster
Percona XtraDB Cluster test
Stars: ✭ 32 (-21.95%)
Mutual labels:  puppet
Drupal8.dev
Vagrant machine for drupal 8 or any other php project
Stars: ✭ 37 (-9.76%)
Mutual labels:  puppet
Puppet Windowsfeature
Library that uses ServerAdministration api that comes with Windows Server 2008 and Windows Server 2012 to add / remove windows features
Stars: ✭ 29 (-29.27%)
Mutual labels:  puppet
Puppet Openldap
LDAP Configuration Management Module for Puppet
Stars: ✭ 30 (-26.83%)
Mutual labels:  puppet
Puppet Mongodb
This module manages mongodb services. It provides the functions for sharding, mongod and mongos instances.
Stars: ✭ 34 (-17.07%)
Mutual labels:  puppet
Puppetlabs Debbuilder
Module to build a debian package builder
Stars: ✭ 14 (-65.85%)
Mutual labels:  puppet
Puppet Nginx
[UNMAINTAINED] Puppet Nginx module
Stars: ✭ 40 (-2.44%)
Mutual labels:  puppet
Web development vm how to
Instructions and scripts to quickly set up development and production environments for PHP, Nginx, and MySQL based infrastructure.
Stars: ✭ 31 (-24.39%)
Mutual labels:  puppet
Puppet Zuul
MOVED: Now at https://opendev.org/opendev/puppet-zuul
Stars: ✭ 37 (-9.76%)
Mutual labels:  puppet
Fuel Plugin Neutron Lbaas
Fuel plugin for LBaaS for Neutron
Stars: ✭ 30 (-26.83%)
Mutual labels:  puppet
Puppet Wordpress
Puppet module to set up an instance of wordpress
Stars: ✭ 30 (-26.83%)
Mutual labels:  puppet
Puppet Sysctl
Puppet module to manage sysctl parameters
Stars: ✭ 35 (-14.63%)
Mutual labels:  puppet
Awaseroot
http://awaseroot.wordpress.com
Stars: ✭ 28 (-31.71%)
Mutual labels:  puppet
Puppet Redis
Puppet Module to manage Redis
Stars: ✭ 37 (-9.76%)
Mutual labels:  puppet
Puppet Project config
MOVED: Now at https://opendev.org/opendev/puppet-project_config
Stars: ✭ 20 (-51.22%)
Mutual labels:  puppet
Puppet Puppet
100% free range, organic, pesticide free Puppet module for managing Puppet
Stars: ✭ 33 (-19.51%)
Mutual labels:  puppet
Userplex
Propagate users from Mozilla's Person API to third party systems.
Stars: ✭ 41 (+0%)
Mutual labels:  puppet
Puppet Hadoop
Hadopp Module For Puppet.
Stars: ✭ 40 (-2.44%)
Mutual labels:  puppet
Mimetypes
A simple lookup from file name/extension to MIME/media type, generated from mime-db, which in turn is compiled from IANA, Apache and nginx's MIME types.
Stars: ✭ 37 (-9.76%)
Mutual labels:  puppet

Vagrant for Magento on HHVM

This is a Vagrant configuration for getting a basic version of Magento with HHVM up and running. It is based on a template by PuPHPet.

Version

1.1.0

What do you get?

A VirtualBox image

  • for VirtualBox 4.2
  • based on Debian Wheezy 7.1

including

  • Apache
  • PHP 5.5 (Opcache enabled with default configuration)
  • MySQL
  • HHVM (Daniel Sloof's patched version)
  • n98-magerun
  • modman
  • Magento CE 1.8 installed by n98-magerun

Usage

  1. Clone this repository

  2. Change to the directory and execute vagrant up

  3. SSH into your VM (execute vagrant ssh or if this doesn't work connect to 127.0.0.1:2222 as printed on screen)

  4. Execute /var/vagrant/shell/install-hhvm.sh. This will take a while as > 350 MB are downloaded and HHVM is compiled which can take anywhere from 30 minutes to several hours.

  5. Add a host entry to your hosts file:

      192.168.56.101 magento-hhvm.local
    
  6. If everything worked then you will get a running Apache instance and can open http://magento-hhvm.local/ in your browser.

  7. To use HHVM instead of Apache shut down Apache and launch HHVM:

      sudo /etc/init.d/apache2 stop
      sudo /home/vagrant/dev/hhvm/hphp/hhvm/hhvm -m server -c /var/vagrant/files/magento-config.hdf -vServer.IniFile=/var/vagrant/files/hhvm.ini
    
  8. If you reload http://magento-hhvm.local/ HHVM should be at duty and boosting your store as soon as the JIT compiler kicks in.

Default credentials

By default, these credentials are used:

SSH

IP: 127.0.0.1

Port: 2222

User: vagrant

Password: vagrant

MySQL

Database name: magento

User: magentouser

Password: magentopwd

Magento Admin User

User: admin

Password: password123

What if I...

want to change credentials?

  • Edit puppet/hieradata/common.yaml and shell/install-hhvm.sh for changing MySQL credentials.
  • Modify the n98-magerun.phar to change Magento credentials as specified in the n98-magerun Wiki.

want to use NFS for the shared folder?

  • Edit Vagrantfile.

want to change the IP?

  • Edit Vagrantfile.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Changelog

v1.1.0

  • HHVM based on master branch by Daniel Sloof (#1)
  • Switched to PHP 5.5 with Opcache enabled (default configuration (#2)
  • Adjusted manifest for Puppet 3.4 (see puphpet/issues#347)
  • Install modman
  • Allow symlinks for templates

v1.0.0

  • Initial release

Developer

Matthias Zeis

License

MIT License (see LICENSE file)

Copyright

(c) 2013 Matthias Zeis

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].