This repository is to be used as a guide for learning about different foundational IT concepts.
The files in the root directory provide instructions on how to get up and going with Vagrant and Virtualbox, the only two pieces of software you will need to run any of the labs on your local system.
The subfolders are split up into different topics with labs aimed at a variety of skill levels. Regardless of your current knowledge, I welcome any and all feedback.
- Virtualbox is a software for running virtual machines on your system.
- Vagrant is a software for describing development environments built on virtual machines with text files called Vagrantfiles. With a Vagrantfile, you can build the environment outlined within VirtualBox by simply running
vagrant up
from the command line.- While Vagrant supports other virtualization providers, VirtualBox and Vagrant work well together without any additional configuration. This is why I have chosen them as the basis for my labs.
In order to run any lab, you will need to install both tools:
In addition, it is recommended that you install a git
client for your OS.
- Windows
- Linux: install using your package manager
- ubuntu/debian:
sudo apt-get install git
- rhel/centos/fedora:
sudo yum install git
- ubuntu/debian:
- OSX: run
xcode-select --install
from the terminal
After all of the above software has been installed, open a terminal of your choice:
- Windows:
cmd.exe
,powershell.exe
,babun
- Linux:
gnome-terminal
,urxvt
,xterm
etc - OSX:
Terminal.app
, iTerm2
Clone this repo with git by running:
git clone https://github.com/dyindude/labs.git
cd
into the labs
folder and run the command vagrant up
. Vagrant will download the ubuntu/xenial64
and start a virtual machine in the background.
Once the VM has been started and you return to your shell's prompt, try logging into the VM with vagrant ssh
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/xenial64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/xenial64' is up to date...
==> default: Setting the name of the VM: labs_default_1510623605345_58237
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
...
default: Guest Additions Version: 5.0.40
default: VirtualBox Version: 5.2
==> default: Mounting shared folders...
default: /vagrant => /home/dyindude/projects/labs
$ vagrant ssh
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-98-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
ubuntu@ubuntu-xenial:~$
If you run into issues with the setup, feel free to reach out to me: