These instructions assume familiarity with Git and GitHub. If you are not comfortable with those tools, please complete Udacity's How to Use Git and GitHub course before proceeding.
After installing the required tools, you will need to ensure that your computer can find the executables to run them. For this, you might need to modify the PATH environment variable. A good overview is at superuser.com. You may need to search the web for instructions on how to set the PATH variable for your specific operating system and version.
git clone http://github.com/<account-name>/devops-intro-project devops
, replacing <account-name>
with your GitHub username.cd packer-templates
packer build -only=virtualbox-iso application-server.json
. You may see various timeouts and errors, as shown below. If you do, retry the command until the ISO download succeeds:read: operation timed out
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.
checksums didn't match expected
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: ISO download failed.
cd virtualbox
vagrant box add ubuntu-14.04.6-server-amd64-appserver_virtualbox.box --name devops-appserver
vagrant up
vagrant ssh
to connect to the servergit clone https://github.com/chef/devops-kungfu.git devops-kungfu
cd devops-kungfu
sudo npm install
. You may see several errors; they can be ignored for now.grunt -v
. The tests will run, then quit with an error.If you encounter errors with Ubuntu version numbers not being available or checksum errors on Ubuntu,it means that this repository has not yet been updated for the latest Ubuntu version. Feel free to mention this in the forum. Meanwhile, you can fix this error for yourself by editing the contents of the application-server.json
and control-server.json
template files inside the packer-templates
folder.
PACKER_BOX_NAME
and iso_checksum
in the template files to match that version number and checksum.