This is a big commit, and I apologize in advance for the future
git-blames all pointing to me. This commit does a few things:
1. Merges the website/docs and website/www repo into a single website repo
to be in line with other HashiCorp projects
2. Updates to use middleman-hashicorp
3. Converts less to scss to be in line with other projects
4. Updates page styles to be in line with other projects
5. Optimizes images
6. Prepare for S3 + Fastly deployment with scripts, etc.
7. Removes blog posts (they have been transferred to hashicorp.com with
redirects in place
8. Updated sitemap generation script for better SEO
9. Fixed many broken links
10. Add description to all fields
1.7 KiB
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| docs | Up and SSH - Getting Started | gettingstarted-up | It is time to boot your first Vagrant environment. Run the following from your terminal - "vagrant up" |
Up And SSH
It is time to boot your first Vagrant environment. Run the following from your terminal:
$ vagrant up
In less than a minute, this command will finish and you will have a virtual machine running Ubuntu. You will not actually see anything though, since Vagrant runs the virtual machine without a UI. To prove that it is running, you can SSH into the machine:
$ vagrant ssh
This command will drop you into a full-fledged SSH session. Go ahead and
interact with the machine and do whatever you want. Although it may be tempting,
be careful about rm -rf /, since Vagrant shares a directory at /vagrant
with the directory on the host containing your Vagrantfile, and this can
delete all those files. Shared folders will be covered in the next section.
Take a moment to think what just happened: With just one line of configuration and one command in your terminal, we brought up a fully functional, SSH accessible virtual machine. Cool.
When you are done fiddling around with the machine, run vagrant destroy
back on your host machine, and Vagrant will terminate the use of any resources
by the virtual machine.
-> The vagrant destroy command does not actually remove the downloaded box
file. To completely remove the box file, you can use the vagrant box remove
command.
Next Steps
You have successfully created and interacting with your first Vagrant environement! Read on to learn more about synced folders.