Skip to content

Instantly share code, notes, and snippets.

@adamculp
Last active January 1, 2018 22:47
Show Gist options
  • Select an option

  • Save adamculp/8b895f964521c937a7d4a550f943ff6a to your computer and use it in GitHub Desktop.

Select an option

Save adamculp/8b895f964521c937a7d4a550f943ff6a to your computer and use it in GitHub Desktop.

Revisions

  1. adamculp revised this gist Sep 25, 2016. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -65,8 +65,11 @@ Allow approximately one hour to follow these instructions. You will need to inst

    8. IDE or Editor
    * To get the most out of this workshop you will be coding. There are two ways to do this:
    a. Install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)

    a. Install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended). Note that this may require you to allocate more RAM to the VM or it may be a bit sluggish.

    b. Edit the files from the host machine using your editor of choice. If that is an IDE (recommended) please create a project pointing to the `expressive` folder in your working directory.

    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the workshop
  2. adamculp revised this gist Sep 25, 2016. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -47,9 +47,10 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi to setup again during the workshop. (which is not a good idea)
    * At the end of the provisioning you will notice 3 new directories along with the Vagrantfile you started with. These will be `expressive`, `expressive-final`, and `.vagrant`. These are mapped in the VM, so you can edit them from either inside the VM (at /home/vagrant/workspace' or from the host system wherever you called Vagrant to provision.

    5. If accessing from the host system versus the desktop gui of the Ubuntu VM it is necessary to inform the host system how to find the sites, because they do not actually exist outside of the VM.
    * Doing this will require you add the domains to the host file of the host system. (as a super or administrator user) For Windows this would be located at C:\Windows\System32\Drivers\etc\hosts. On Mac or Linux this would be at /etc/hosts.
    * Add the following to the file
    5. Working from host system
    * If accessing from the host system versus the desktop gui of the Ubuntu VM it is necessary to inform the host system how to find the sites, because DNS will not know.
    * Doing this will require adding the domains to the `host` file on the host system. (as a super or administrator user) For Windows this would be located at C:\Windows\System32\Drivers\etc\hosts. On Mac or Linux this would be at /etc/hosts.
    * Add the following to the file (note the space between expressive and expressive-final)
    ```
    127.0.0.1 expressive expressive-final
    ```
  3. adamculp revised this gist Sep 25, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -24,8 +24,8 @@ Allow approximately one hour to follow these instructions. You will need to inst
    [https://www.virtualbox.org/manual/ch10.html#hwvirt](https://www.virtualbox.org/manual/ch10.html#hwvirt)

    3. Vagrant File
    * Create a folder where you will run the virtual machine (e.g., `/path/to/file/location/`)
    * Using git-bash, OSX Terminal, Windows Command Interpreter, or your favorite Linux shell, change to the folder you created in the previous step:
    * Create an empty folder where you will run the virtual machine (e.g., `/path/to/file/location/`)
    * Using git-bash, OSX Terminal, Windows Command Interpreter, or your favorite Linux shell, change to the empty folder you created in the previous step:
    ```
    cd /path/to/file/location
    ```
  4. adamculp revised this gist Sep 25, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -71,6 +71,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ### Enjoy the workshop

    Slides for this workshop can be found at: [http://www.slideshare.net/adamculp/zend-expressive-workshop](http://www.slideshare.net/adamculp/zend-expressive-workshop)

    Code for this workshop can be found at: [https://github.com/adamculp/expressive-workshop](https://github.com/adamculp/expressive-workshop)

    ![ti](https://s3.amazonaws.com/expressive-workshop/tracker-image/tracker-pixel.png)
  5. adamculp revised this gist Sep 25, 2016. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Virtual Machine Instructions for the Zend Expressive Workshop
    # Virtual Machine Setup for Zend Expressive Workshop

    Welcome, the workshop is hands-on where you will actually be coding while you learn. (it's the best way to learn) This setup will help you with the following:

    @@ -70,4 +70,7 @@ Allow approximately one hour to follow these instructions. You will need to inst

    ### Enjoy the workshop

    Slides for this workshop can be found at: [http://www.slideshare.net/adamculp/zend-expressive-workshop](http://www.slideshare.net/adamculp/zend-expressive-workshop)
    Code for this workshop can be found at: [https://github.com/adamculp/expressive-workshop](https://github.com/adamculp/expressive-workshop)

    ![ti](https://s3.amazonaws.com/expressive-workshop/tracker-image/tracker-pixel.png)
  6. adamculp revised this gist Sep 24, 2016. 1 changed file with 9 additions and 5 deletions.
    14 changes: 9 additions & 5 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -37,6 +37,8 @@ Allow approximately one hour to follow these instructions. You will need to inst
    vagrant up
    ```
    * If `vagrant up` doesn't succeed to completely set up the VM you can use `vagrant provision` to rerun the provision scripts.

    4. Finish up provisioning
    * IMPORTANT: After Vagrant has completely finished setting up the VM (you will be advised in the terminal) you MUST reboot the VM using `vagrant halt` then `vagrant up` to start it again. If you restart the VM using the Ubuntu gui you will not have access to the mappings for the project files needed for the workshop from the host system. Vagrant creates the mapped location.
    * Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.
    * Your user id and password in the VM image are both the standard `vagrant`
    @@ -45,23 +47,25 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi to setup again during the workshop. (which is not a good idea)
    * At the end of the provisioning you will notice 3 new directories along with the Vagrantfile you started with. These will be `expressive`, `expressive-final`, and `.vagrant`. These are mapped in the VM, so you can edit them from either inside the VM (at /home/vagrant/workspace' or from the host system wherever you called Vagrant to provision.

    4. If accessing from the host system versus the desktop gui of the Ubuntu VM it is necessary to inform the host system how to find the sites, because they do not actually exist outside of the VM.
    5. If accessing from the host system versus the desktop gui of the Ubuntu VM it is necessary to inform the host system how to find the sites, because they do not actually exist outside of the VM.
    * Doing this will require you add the domains to the host file of the host system. (as a super or administrator user) For Windows this would be located at C:\Windows\System32\Drivers\etc\hosts. On Mac or Linux this would be at /etc/hosts.
    * Add the following to the file
    ```
    127.0.0.1 expressive expressive-final
    ```
    * Save and close the host file

    5. Keyboard layout (if change is necessary)
    6. Keyboard layout (if change is necessary)
    * The virtual machine has been set up with English keyboard in mind. If you require it to be different please click the System icon in the upper right and select System Settings. From there you can select Language Support and choose a desired language for a different keyboard layout. This may require an additional install within the VM when prompted.
    * Not necessary, but if desired, you can edit the file `/etc/default/keyboard` within the VM by following the instructions at [http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard](http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard)

    6. Firefox
    7. Firefox
    * Inside the VM window open Firefox from the launch panel on the left. Open a tab and navigate to: [http://localhost](http://localhost)

    7. IDE or Editor
    * To get the most out of this workshop you will be coding, so please install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)
    8. IDE or Editor
    * To get the most out of this workshop you will be coding. There are two ways to do this:
    a. Install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)
    b. Edit the files from the host machine using your editor of choice. If that is an IDE (recommended) please create a project pointing to the `expressive` folder in your working directory.
    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the workshop
  7. adamculp revised this gist Sep 24, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -36,12 +36,14 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ```
    vagrant up
    ```
    * IMPORTANT: After Vagrant has completely finished setting up the VM (you will be advised in the terminal) you MUST reboot the VM. Click the gear icon in the upper right and select 'Shut Down' and then select 'Restart' from the following dialog.
    * If `vagrant up` doesn't succeed to completely set up the VM you can use `vagrant provision` to rerun the provision scripts.
    * IMPORTANT: After Vagrant has completely finished setting up the VM (you will be advised in the terminal) you MUST reboot the VM using `vagrant halt` then `vagrant up` to start it again. If you restart the VM using the Ubuntu gui you will not have access to the mappings for the project files needed for the workshop from the host system. Vagrant creates the mapped location.
    * Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.
    * Your user id and password in the VM image are both the standard `vagrant`
    * Stopping the VM: at the command line within the directory where you executed `vagrant up` you can type the command
    `vagrant halt` for the VM to gracefully shutdown without deleting it.
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi to setup again during the workshop. (which is not a good idea)
    * At the end of the provisioning you will notice 3 new directories along with the Vagrantfile you started with. These will be `expressive`, `expressive-final`, and `.vagrant`. These are mapped in the VM, so you can edit them from either inside the VM (at /home/vagrant/workspace' or from the host system wherever you called Vagrant to provision.

    4. If accessing from the host system versus the desktop gui of the Ubuntu VM it is necessary to inform the host system how to find the sites, because they do not actually exist outside of the VM.
    * Doing this will require you add the domains to the host file of the host system. (as a super or administrator user) For Windows this would be located at C:\Windows\System32\Drivers\etc\hosts. On Mac or Linux this would be at /etc/hosts.
  8. adamculp revised this gist Sep 24, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -36,7 +36,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ```
    vagrant up
    ```
    * IMPORTANT: After Vagrant has completely finished setting up the VM (you will be advised in the termain) you MUST reboot the VM. Click the gear icon in the upper right and select 'Shut Down' and then select 'Restart' from the following dialog.
    * IMPORTANT: After Vagrant has completely finished setting up the VM (you will be advised in the terminal) you MUST reboot the VM. Click the gear icon in the upper right and select 'Shut Down' and then select 'Restart' from the following dialog.
    * Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.
    * Your user id and password in the VM image are both the standard `vagrant`
    * Stopping the VM: at the command line within the directory where you executed `vagrant up` you can type the command
  9. adamculp revised this gist Sep 24, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -36,7 +36,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ```
    vagrant up
    ```
    * IMPORTANT: After Vagrant has finished setting up the VM you MUST reboot the VM. Click the gear icon in the upper right and select 'Shut Down' and then select 'Restart' from the following dialog.
    * IMPORTANT: After Vagrant has completely finished setting up the VM (you will be advised in the termain) you MUST reboot the VM. Click the gear icon in the upper right and select 'Shut Down' and then select 'Restart' from the following dialog.
    * Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.
    * Your user id and password in the VM image are both the standard `vagrant`
    * Stopping the VM: at the command line within the directory where you executed `vagrant up` you can type the command
  10. adamculp revised this gist Sep 24, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -36,6 +36,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ```
    vagrant up
    ```
    * IMPORTANT: After Vagrant has finished setting up the VM you MUST reboot the VM. Click the gear icon in the upper right and select 'Shut Down' and then select 'Restart' from the following dialog.
    * Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.
    * Your user id and password in the VM image are both the standard `vagrant`
    * Stopping the VM: at the command line within the directory where you executed `vagrant up` you can type the command
  11. adamculp revised this gist Sep 24, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi to setup again during the workshop. (which is not a good idea)

    4. If accessing from the host system versus the desktop gui of the Ubuntu VM it is necessary to inform the host system how to find the sites, because they do not actually exist outside of the VM.
    * Doing this will require you add the domains to the host file of the host system. For Windows this would be located at C:\Windows\System32\Drivers\etc\hosts. On Mac or Linux this would be at /etc/hosts.
    * Doing this will require you add the domains to the host file of the host system. (as a super or administrator user) For Windows this would be located at C:\Windows\System32\Drivers\etc\hosts. On Mac or Linux this would be at /etc/hosts.
    * Add the following to the file
    ```
    127.0.0.1 expressive expressive-final
  12. adamculp revised this gist Sep 24, 2016. 1 changed file with 11 additions and 3 deletions.
    14 changes: 11 additions & 3 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -42,14 +42,22 @@ Allow approximately one hour to follow these instructions. You will need to inst
    `vagrant halt` for the VM to gracefully shutdown without deleting it.
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi to setup again during the workshop. (which is not a good idea)

    4. Keyboard layout (if change is necessary)
    4. If accessing from the host system versus the desktop gui of the Ubuntu VM it is necessary to inform the host system how to find the sites, because they do not actually exist outside of the VM.
    * Doing this will require you add the domains to the host file of the host system. For Windows this would be located at C:\Windows\System32\Drivers\etc\hosts. On Mac or Linux this would be at /etc/hosts.
    * Add the following to the file
    ```
    127.0.0.1 expressive expressive-final
    ```
    * Save and close the host file

    5. Keyboard layout (if change is necessary)
    * The virtual machine has been set up with English keyboard in mind. If you require it to be different please click the System icon in the upper right and select System Settings. From there you can select Language Support and choose a desired language for a different keyboard layout. This may require an additional install within the VM when prompted.
    * Not necessary, but if desired, you can edit the file `/etc/default/keyboard` within the VM by following the instructions at [http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard](http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard)

    5. Firefox
    6. Firefox
    * Inside the VM window open Firefox from the launch panel on the left. Open a tab and navigate to: [http://localhost](http://localhost)

    6. IDE or Editor
    7. IDE or Editor
    * To get the most out of this workshop you will be coding, so please install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)
    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

  13. adamculp revised this gist Sep 12, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Virtual Machine Instructions for the Zend Expressive Workshop

    Welcome, the workshop is hands-on where you will actually be coding while you learn. (it's the best way to learn) This setup help you with the following:
    Welcome, the workshop is hands-on where you will actually be coding while you learn. (it's the best way to learn) This setup will help you with the following:

    1. Install VirtualBox
    2. Install Vagrant
  14. adamculp revised this gist Sep 12, 2016. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -36,11 +36,11 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ```
    vagrant up
    ```
    * (Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the below operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.)
    * Your user id and password in the VM image are both `vagrant`
    * Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.
    * Your user id and password in the VM image are both the standard `vagrant`
    * Stopping the VM: at the command line within the directory where you executed `vagrant up` you can type the command
    `vagrant halt` for the VM to gracefully shutdown.
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi during the workshop to setup again. (which is not a good idea)
    `vagrant halt` for the VM to gracefully shutdown without deleting it.
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi to setup again during the workshop. (which is not a good idea)

    4. Keyboard layout (if change is necessary)
    * The virtual machine has been set up with English keyboard in mind. If you require it to be different please click the System icon in the upper right and select System Settings. From there you can select Language Support and choose a desired language for a different keyboard layout. This may require an additional install within the VM when prompted.
    @@ -50,7 +50,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Inside the VM window open Firefox from the launch panel on the left. Open a tab and navigate to: [http://localhost](http://localhost)

    6. IDE or Editor
    * To get the most out of this workshop you wil be coding during the workshop, so please install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)
    * To get the most out of this workshop you will be coding, so please install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)
    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the workshop
  15. adamculp revised this gist Sep 12, 2016. 1 changed file with 7 additions and 8 deletions.
    15 changes: 7 additions & 8 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,15 @@
    # Virtual Machine Instructions for the Zend Expressive Workshop

    This setup will do the following:
    Welcome, the workshop is hands-on where you will actually be coding while you learn. (it's the best way to learn) This setup help you with the following:

    1. Help you get VirtualBox installed
    2. Help you get Vagrant installed
    1. Install VirtualBox
    2. Install Vagrant
    3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
    * The PHP version in the VM will be version 7
    * The PHP version in the VM is version 7
    4. Set up the needed files within the VM for the hands-on portion of the workshop at `/home/vagrant/workspace/`
    * This will include an `expressive` folder where you will code, and an `expressive-final` folder with a completed version of the labs for you to use as a resource.

    If you have any difficulty in completing the following tasks, you will have an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net with any questions.
    If you have any difficulty completing the following tasks, there will be an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net with any questions.
    Thank you!

    Allow approximately one hour to follow these instructions. You will need to install VirtualBox and Vagrant in order to run the virtual machine, and download a Vagrantfile which will allow automated provisioning of the workshop environment.
    @@ -25,12 +25,11 @@ Allow approximately one hour to follow these instructions. You will need to inst

    3. Vagrant File
    * Create a folder where you will run the virtual machine (e.g., `/path/to/file/location/`)
    * Run git-bash, OSX Terminal, Windows Command Interpreter, or your favorite Linux shell.
    * Change to the folder you created above:
    * Using git-bash, OSX Terminal, Windows Command Interpreter, or your favorite Linux shell, change to the folder you created in the previous step:
    ```
    cd /path/to/file/location
    ```
    * Download the course Vagrantfile from this URL: [https://s3.amazonaws.com/zend-training/zend_server/Vagrantfile](https://s3.amazonaws.com/zend-training/zend_server/Vagrantfile)
    * Download the course Vagrantfile from this URL: [https://s3.amazonaws.com/expressive-workshop/Vagrantfile](https://s3.amazonaws.com/expressive-workshop/Vagrantfile)

    * Move the downloaded Vagrantfile from your downloads folder to the empty folder you will run the virtual machine from:
    * Start the VM via CLI from within the created project directory: (The install will take 10+/- minutes depending on your internet speed. Let it run)
  16. adamculp revised this gist Sep 12, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -54,4 +54,6 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * To get the most out of this workshop you wil be coding during the workshop, so please install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)
    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the workshop
    ### Enjoy the workshop

    ![ti](https://s3.amazonaws.com/expressive-workshop/tracker-image/tracker-pixel.png)
  17. adamculp revised this gist Sep 10, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Inside the VM window open Firefox from the launch panel on the left. Open a tab and navigate to: [http://localhost](http://localhost)

    6. IDE or Editor
    * To get the most out of this workshop you wil be coding during the workshop, so please install an editor or IDE you feel comfortable with inside the VM. ([http://www.zend.com/en/products/studio](Zend Studio) or [https://www.jetbrains.com/phpstorm/](PHPstorm) recommended)
    * To get the most out of this workshop you wil be coding during the workshop, so please install an editor or IDE you feel comfortable with inside the VM. ([Zend Studio](http://www.zend.com/en/products/studio) or [PHPstorm](https://www.jetbrains.com/phpstorm/) recommended)
    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the workshop
  18. adamculp revised this gist Sep 10, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Inside the VM window open Firefox from the launch panel on the left. Open a tab and navigate to: [http://localhost](http://localhost)

    6. IDE or Editor
    * Feel free to install whatever IDE or editor you feel comfortable with, inside the VM.
    * To get the most out of this workshop you wil be coding during the workshop, so please install an editor or IDE you feel comfortable with inside the VM. ([http://www.zend.com/en/products/studio](Zend Studio) or [https://www.jetbrains.com/phpstorm/](PHPstorm) recommended)
    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the workshop
  19. adamculp revised this gist Sep 10, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -45,7 +45,7 @@ Allow approximately one hour to follow these instructions. You will need to inst

    4. Keyboard layout (if change is necessary)
    * The virtual machine has been set up with English keyboard in mind. If you require it to be different please click the System icon in the upper right and select System Settings. From there you can select Language Support and choose a desired language for a different keyboard layout. This may require an additional install within the VM when prompted.
    * Not necessary, but if desired, you can edit the file `/etc/default/keyboard` by following the instructions at [http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard](http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard)
    * Not necessary, but if desired, you can edit the file `/etc/default/keyboard` within the VM by following the instructions at [http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard](http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard)

    5. Firefox
    * Inside the VM window open Firefox from the launch panel on the left. Open a tab and navigate to: [http://localhost](http://localhost)
  20. adamculp revised this gist Sep 10, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -48,10 +48,10 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Not necessary, but if desired, you can edit the file `/etc/default/keyboard` by following the instructions at [http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard](http://askubuntu.com/questions/342066/how-to-permanently-configure-keyboard)

    5. Firefox
    * Open Firefox from the launch panel on the left. Open a tab and go to: [http://localhost](http://localhost)
    * Inside the VM window open Firefox from the launch panel on the left. Open a tab and navigate to: [http://localhost](http://localhost)

    6. IDE or Editor
    * Feel free to install whatever IDE or editor you feel comfortable with, inside the VM.
    * Keep in mind that the VM is Ubuntu 16.04, so you editors will be limited to that OS. However, most modern editors and IDEs have a version available for Ubuntu.
    * Keep in mind the VM is running Ubuntu 16.04, so the editors will need to run on that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the workshop
  21. adamculp revised this gist Sep 10, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -9,10 +9,10 @@ This setup will do the following:
    4. Set up the needed files within the VM for the hands-on portion of the workshop at `/home/vagrant/workspace/`
    * This will include an `expressive` folder where you will code, and an `expressive-final` folder with a completed version of the labs for you to use as a resource.

    If you have any difficulty in completing these tasks, you will have an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net
    If you have any difficulty in completing the following tasks, you will have an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net with any questions.
    Thank you!

    Allow approximately one hour to follow these instructions. You will need to install VirtualBox and Vagrant to run the VM image, download a Vagrantfile, which in turn will download the VM image.
    Allow approximately one hour to follow these instructions. You will need to install VirtualBox and Vagrant in order to run the virtual machine, and download a Vagrantfile which will allow automated provisioning of the workshop environment.

    1. Install VirtualBox
    * Get VirtualBox from this URL: [https://www.virtualbox.org/wiki/Downloads](https://www.virtualbox.org/wiki/Downloads)
  22. adamculp revised this gist Sep 10, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ This setup will do the following:
    2. Help you get Vagrant installed
    3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
    * The PHP version in the VM will be version 7
    4. Set up the needed files for the hands-on portion of the workshop at `/home/vagrant/workspace/`
    4. Set up the needed files within the VM for the hands-on portion of the workshop at `/home/vagrant/workspace/`
    * This will include an `expressive` folder where you will code, and an `expressive-final` folder with a completed version of the labs for you to use as a resource.

    If you have any difficulty in completing these tasks, you will have an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net
  23. adamculp revised this gist Sep 10, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@ This setup will do the following:
    3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
    * The PHP version in the VM will be version 7
    4. Set up the needed files for the hands-on portion of the workshop at `/home/vagrant/workspace/`
    * This will include an `expressive` folder where you will code, and an `expressive-final` folder with a completed version of the labs for you to use as a resource.

    If you have any difficulty in completing these tasks, you will have an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net
    Thank you!
  24. adamculp revised this gist Sep 10, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,7 @@ This setup will do the following:
    2. Help you get Vagrant installed
    3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
    * The PHP version in the VM will be version 7
    4. Set up the needed files for the hands-on portion of the workshop at `/home/vagrant/workspace/`

    If you have any difficulty in completing these tasks, you will have an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net
    Thank you!
  25. adamculp revised this gist Sep 10, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -39,7 +39,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    * Your user id and password in the VM image are both `vagrant`
    * Stopping the VM: at the command line within the directory where you executed `vagrant up` you can type the command
    `vagrant halt` for the VM to gracefully shutdown.
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you may find yourself at the mercy of the venue wifi during the workshop to setup again. (which is not a good idea)
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you will find yourself at the mercy of the venue wifi during the workshop to setup again. (which is not a good idea)

    4. Keyboard layout (if change is necessary)
    * The virtual machine has been set up with English keyboard in mind. If you require it to be different please click the System icon in the upper right and select System Settings. From there you can select Language Support and choose a desired language for a different keyboard layout. This may require an additional install within the VM when prompted.
  26. adamculp revised this gist Sep 10, 2016. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -37,8 +37,9 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ```
    * (Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the below operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.)
    * Your user id and password in the VM image are both `vagrant`
    * Stop the VM: at the command line within the directory where you executed `vagrant up`, now you can type
    `vagrant halt` and the VM will gracefully exit.
    * Stopping the VM: at the command line within the directory where you executed `vagrant up` you can type the command
    `vagrant halt` for the VM to gracefully shutdown.
    * Alternatively you could use `vagrant destroy` to completely remove the VM and then `vagrant up` to recreate it again. But please do not do this before the workshop unless the provisioning fails for some reason. Otherwise you may find yourself at the mercy of the venue wifi during the workshop to setup again. (which is not a good idea)

    4. Keyboard layout (if change is necessary)
    * The virtual machine has been set up with English keyboard in mind. If you require it to be different please click the System icon in the upper right and select System Settings. From there you can select Language Support and choose a desired language for a different keyboard layout. This may require an additional install within the VM when prompted.
  27. adamculp revised this gist Sep 10, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -17,8 +17,7 @@ Allow approximately one hour to follow these instructions. You will need to inst

    2. Install Vagrant
    * Get Vagrant from this URL: [http://www.vagrantup.com/downloads.html](http://www.vagrantup.com/downloads.html)
    * (Note: If the Vagrantfile script errors, it’s likely either your laptop does not support virtualization, or you are behind a firewall that does not allow the below operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.)
    * Check your BIOS to ensure hardware virtualization is enabled (this is a 64-bit VM).
    * Check your BIOS to ensure hardware virtualization is enabled (this is a 64-bit VM).

    [https://www.virtualbox.org/manual/ch10.html#hwvirt](https://www.virtualbox.org/manual/ch10.html#hwvirt)

    @@ -36,6 +35,7 @@ Allow approximately one hour to follow these instructions. You will need to inst
    ```
    vagrant up
    ```
    * (Note: If the Vagrantfile script errors it’s likely either your laptop does not support virtualization (see step 2 above on how to alter your BIOS), or you are behind a firewall that does not allow the below operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.)
    * Your user id and password in the VM image are both `vagrant`
    * Stop the VM: at the command line within the directory where you executed `vagrant up`, now you can type
    `vagrant halt` and the VM will gracefully exit.
  28. adamculp revised this gist Sep 10, 2016. 1 changed file with 4 additions and 5 deletions.
    9 changes: 4 additions & 5 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -17,13 +17,12 @@ Allow approximately one hour to follow these instructions. You will need to inst

    2. Install Vagrant
    * Get Vagrant from this URL: [http://www.vagrantup.com/downloads.html](http://www.vagrantup.com/downloads.html)
    * (Note: If the Vagrantfile script errors, it’s likely either your laptop does not support virtualization, or you are behind a firewall that does not allow the below operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.)
    * Check your BIOS to ensure hardware virtualization is enabled (this is a 64-bit VM).

    [https://www.virtualbox.org/manual/ch10.html#hwvirt](https://www.virtualbox.org/manual/ch10.html#hwvirt)

    3. Vagrant File
    (Note: If the Vagrantfile script errors, it’s likely either your laptop does not support virtualization, or you are behind a firewall that does not allow the below operations. In that case, try again on a different Internet connection without firewall limitations, and in a new directory.)
    * Check your BIOS to ensure hardware virtualization is enabled (this is a 64-bit VM).

    [https://www.virtualbox.org/manual/ch10.html#hwvirt](https://www.virtualbox.org/manual/ch10.html#hwvirt)

    * Create a folder where you will run the virtual machine (e.g., `/path/to/file/location/`)
    * Run git-bash, OSX Terminal, Windows Command Interpreter, or your favorite Linux shell.
    * Change to the folder you created above:
  29. adamculp revised this gist Sep 10, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    # Virtual Machine Instructions for the Zend Expressive Workshop

    This setup will do the following:

    1. Help you get VirtualBox installed
    2. Help you get Vagrant installed
    3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
  30. adamculp revised this gist Sep 10, 2016. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions Zend-Expressive-Workshop-Setup.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,10 @@
    # Virtual Machine Instructions for the Zend Expressive Workshop
    This setup will do the following:
    1. Help you get VirtualBox installed
    2. Help you get Vagrant installed
    3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
    * The PHP version in the VM will be version 7

    If you have any difficulty in completing these tasks, you will have an opportunity to work with Adam either before or after the workshop. You can also contact him at adamculp[at]uws[dot]net
    Thank you!

    @@ -42,6 +48,6 @@ Allow approximately one hour to follow these instructions. You will need to inst

    6. IDE or Editor
    * Feel free to install whatever IDE or editor you feel comfortable with, inside the VM.
    * Keep in mind that the VM is Ubuntu 14.04, so you editors will be limited to that OS. However, most modern editors and IDEs have a version available for Ubuntu.
    * Keep in mind that the VM is Ubuntu 16.04, so you editors will be limited to that OS. However, most modern editors and IDEs have a version available for Ubuntu.

    ### Enjoy the course
    ### Enjoy the workshop