Coder Social home page Coder Social logo

rhel_lab's Introduction

rhel-lab

Test lab setup for preparing for the Red Hat RHCSA/RHCE exams. Inspired by the VM's provided with the book Red Hat RHCE/RHCSA 7 Cert Guide written by Sander van Vugt and the real deal on the actual exam. Forked from All Your Code.

Description

This will create 3 VM's with, besides the vagrant user, the following users:

User Password
student (wheel) student
root redhat

classroom.example.com

  • ip: 172.25.0.254
  • ipa server: https://classroom.example.com
  • cert & keytabs: ftp://classroom.example.com
    • server.keytab is configured for nfs and cifs
  • ipa administartor admin with password 'password'
  • ipa user lisa with password 'password'
  • ipa user linda with password 'password'

server.example.com

  • ip: 172.25.0.11
  • minimal server
  • with an extra NIC for teaming
    • ip: 172.25.0.12
  • with an extra 10 GiB unpartitioned drive
  • added as an ipa-client to the realm EXAMPLE.COM

desktop.example.com

  • ip: 172.25.0.10
  • with an extra 10 GiB unpartitioned drive
  • Server with GUI (installed but not enabled)

Requirements

  • Vagrant
  • libvirt or VirtualBox (libvirt is preffered. Install vagrant-libvirt plugin)
  • Virtualbox or VMWare on Windows (Untested)
  • atleast 4 GiB free memory (with recommended settings)
  • atleast 20 GiB free storage (with recommended settings)

Install

To be able to access the ipa interface at https://classroom.example.com you will need to modify your hosts file:

On Linux

echo '172.25.0.254 classroom.example.com classroom' >> /etc/hosts

Or else access it via the GUI on the VM desktop.example.com

Edit the Vagrantfile and modify config.vm.box.

Also the following environment variables can be set instead of editing the Vagrantfile: VBOX_VM_PATH, LIBVIRT_STORAGE_POOL

CentOS version:

cd rhel-lab
vagrant up

On Windows

Edit hosts file as seen here.

rhel_lab's People

Contributors

yogibare avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.