Practice lab for Red Hat's RHCSA 8 certification exam using Vagrant.
This lab takes advantage of the Red Hat Developer Subscription for Individuals, which lets you register up to 16 systems with Red Hat - and receive access to packages and updates via their Yum repositories - at no cost.
The Vagrantfile
in this repository will create two servers running Red Hat
Enterprise Linux 8 - using the
generic/rhel8 Vagrant box -
with the following base configuration:
- 1GB RAM
- 1 CPU
- 70GB root disk (dynamically allocated)
Each server will have some extras configured to facilitate practicing the different exam objectives:
-
server1
- 1 additional network interface (for network related objectives)
-
server2
- 3 additional dynamically allocated disks (for storage related objectives)
After running vagrant up
you will be prompted for your Red Hat account
credentials, and a provisioner will register each machine with Red Hat
Subscription Manager. The machines will be unregistered by a Vagrant trigger
upon destruction.
To start the machines and login:
vagrant init
vagrant up
- Enter Red Hat account credentials
vagrant ssh <server1|server2>
To destroy the machines:
vagrant destroy