How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "thrivehub/grasshopper"
  config.vm.box_version = "0.0.1"
end
vagrant init thrivehub/grasshopper \
  --box-version 0.0.1
vagrant up

This version was created 9 months ago.

thrivehub/grasshopper


A slim yet powerful environment for rapid PHP7 web development with all the usual LAMP goodness. GrassHopper was created to assist in my Laravel and PyroCMS projects specifically using MySQL+Apache rather than NGINX. if you are working on PyroCMS 3.x or greater then this VM might be for you.

  • 0.0.1 Initial release

 

The Stack


  • Linux Ubuntu Bionic 64 (18.04.3 / 20191218.0.0)
  • Apache2 (2.4.29)
  • MySql (5.7)
  • PHP (7.3.13)
    • Zend Engine v3.3.13
  • phpMyAdmin (5.0.1)
  • Composer (1.9.1)
  • Curl (7.58.0)
  • Git (2.17.1)

 

System Highlights


What makes GrassHopper a desireable box is its developer readiness for PHP7/PyroCMS development.

  • Fully confiured LAMP Stack
  • PHP Upload file size limits are already set to 256M/128/64M
  • PHP Execution time extended to 60sec
  • Most common php modules already enabled
  • Apache SSL already enabled / a2enmod ssl
  • Apache ReWrite mod enabled
  • Includes productivity scripts/automations

 

Authentication & Access


Vagrant

Gain ssh access via vagrant like so

vagrant up
vagrant ssh

SCP

Gain ssh access via SCP

GrassHopper is configured to accept connection via SCP with password Authentication. Use vagrant / vagrant on port 22. Root access is disabled via SCP. nb:Compatible with WinSCP.

 

Users

  • SYSTEM

    • root / vagrant
    • vagrant / vagrant (sudo)
  • MySQL

    • root/ root
    • vagrantdb / vagrantdb (phpmyadmin access)

 

 

Preconfigured Sites


Default

Custom Domains

phpMyAdmin

 

Software & Utilities


PHP Pre Installed Modules

- php7.3-common php7.3-mysql php7.3-xml php7.3-xmlrpc php7.3-curl 
- php7.3-dom php7.3-gd php7.3-pdo php7.3-json
- php7.3-imagick php7.3-cli php7.3-dev php7.3-imap 
- php7.3-mbstring php7.3-opcache php7.3-soap php7.3-zip php7.3-intl
- curl git unzip wget php7.3-gettext php7.3-sqlite3

 

Built in Script / Automation

You can run this script from anywhere, it will prompt you to create a new vhost.

You need to run as sudo

$ sudo add-vhost.sh 

 

Check Versions of Software

- php -v
- apache2 -v
- curl --version

 

Other


Host File

Add the following to your Host file, in Windows it is located C:\Windows\System32\drivers\etc\hosts [file]

192.168.33.10 pma.local www.pma.local
192.168.33.10 site1.local www.site1.local

 
1 provider for this version.
  • virtualbox Hosted by Vagrant Cloud (622 MB)