Skip to end of metadata
Go to start of metadata

You can use Vagrant and VirtualBox to quickly bring up Virtual Machines on your Mac, Windows, or Linux desktop.

Download Vagrant

Download VirtualBox

Bring up a Virtual Machine

These are the commands to run in a terminal window (on your Mac for example)

mkdir centos7
cd centos7
vagrant init centos/7
# [you will see some output from vagrant]
vagrant up
# [you will see some more output from vagrant]
vagrant ssh

The 'vagrant ssh' command will get you logged into the new VM.  You can see the Red Hat version and become root like this:

[vagrant@localhost ~]$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[vagrant@localhost ~]$ sudo -i
[root@localhost ~]#
  • No labels