- Latest Version of Vagrant - (
brew cask install vagrant
)- Vagrant Plugin -
vagrant plugin install vagrant-guest_ansible
- Vagrant Plugin -
- Latest Version of Virtualbox (
brew cask install VirtualBox
) - Virtual Box Extension Pack (
brew cask install virtualbox-extension-pack
)
If you're using a Mac, Gatekeeper will block virtualbox from installing. All you have to do is go to System Preferences and click Allow under the General tab and rerun installation.
brew install ansible ; brew install python ; brew cask install vagrant ; brew cask install VirtualBox ; brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb ; brew cask install virtualbox-extension-pack
If you're using a Mac, Gatekeeper will block virtualbox from installing. All you have to do is go to System Preferences and click Allow under the General tab and rerun installation.
Once the above software is installed. Do the following if you're running the environment on Mac/Linux:
- Create a separate
~/bin
directory andcd
to it. (The directory doesn't have to be~/bin
, it can be anything you want.) - Clone the environment repo to it with
git clone https://github.com/rdbreak/rhce7env.git
- Change to the
rhce7env
directory that is now in your~/bin
directory. - Run
vagrant up --provider virtualbox
to deploy the environment
Once the above software is installed. Do the following if you're running the environment on Windows:
- Create a separate
~/bin
directory andcd
to it. (The directory doesn't have to be ~/bin, it can be anything you want.) - Use your browser of choice and navigate to https://github.com/rdbreak/rhce7env, press the green “Clone or download” button then the “Download ZIP” button.
- Once downloaded, unzip the file and move it to the directory you created earlier.
- Open CMD prompt and cd to the repo directory then run
vagrant up --provider virtualbox
to deploy the environment
Also, don't be spooked by any scary red font during the setup process. There are known issues that won't have a negative affect on the environment.
NOTE - You can also use the VirtualBox console to interact with the VMs or through a terminal. If you need to reset the root password, you would need to use the console.
NOTE this requires a free Github account
- Navigate to https://desktop.github.com/ and download Github Desktop.
- Create or sign in to your account.
- Clone or pull changes to respctive repo.
I'm constantly making upgrades to the environments, so every once and awhile run git pull
in the repo directory to pull down changes. The first time you run the vagrant up command, it will download the OS images for later use. In other words, it will take longest the first time around but will be faster when it is deployed again. You can run vagrant destroy -f
to destroy your environment at anytime. This will erase everything. This environment is meant to be reuseable, If you run the vagrant up --provider virtualbox
command after destroying the environment, the OS image will already be downloaded and environment will deploy faster. Once the setup is complete, the ipa server and client for realm TEST.EXAMPLE.COM will already be setup and paired. Deployment should take around 15 minutes depending on your computer. You shouldn't need to access the IPA server during your practice exams. Everything should be provided that you would normally need during an actual exam. Hope this helps in your studies!
- ipa.test.example.com
- repo.test.example.com
- system1.test.example.com
- system2.test.example.com
192.168.55.19
192.168.55.20
192.168.55.21
192.168.55.22
There is a repo available to use from http://repo.test.example.com/rpms
There are also two additional network interfaces and an additional drive on node1 and node2 to optionally use.
Remember to add the IP addresses to your local host file if you want to connect to the guest systems with the hostname. Username - vagrant Password - vagrant
- For root - use
sudo
orsudo su
Access example -ssh [email protected]
orvagrant ssh system1
- Username = dave, lisa
- Password = password
Keytab is provided on http://ipa.test.example.com/system.keytab
If you're having problems with the environment, please submit an issue by going to the ISSUES
tab at the top. If you have more questions, looking for practice exams to use against this environment, or just looking for a fantastic Red Hat community to join, please navigate to #practiceexam in the Red Hat Certs Slack Workspace.