Git Product home page Git Product logo

rhel-labs's Introduction

RHEL-LABS

Alpha demo: project overview
Linux based virtual training environment for the RHCSA and RHCE examination certifications. goals: 32 chapters = ( 16 chapters RHCSA ) + ( 16 chapters RHCE ) current state: partial functionality 1

Create a virtual training environment2 that consists of a server and desktop virtual machines3 running Red Hat Enterprise Linux 7.2. This environment is based on other similar training environments4 used at Red Hat and other learning institutes as a study aid for the RHCSA and RHCE certification examinations.

In the present state rhel-labs will download an image archive,5 validate checksums, extract the archive, then return to an tui interface. The user is then prompted to install server.example.com and checksums are completed for base image,6 then provisioned through virsh which allows additional menus to unlock.

Subproccess are used in a controlled fashion handed off when navigating through dialog menus based on changes to state file conditionals7 indicating which dialog menu to use. The first vm server.example.com is close to being full functionality; at the present moment snapshots8 are outstanding. Both vms will have a control menu9 with start, stop, reboot, snapshot and revert functionality. Once core functionality10 is complete additional labs will be created (chapter 1 and chapter 2) are already created. To check out current progress see install instructions below.

Fedora 24+

## Required rpm packages:
  
# dnf install git wget pv dialog findutils gawk sed grep coreutils -y && dnf group install virtualization -y
## Inital checks should generate /dev/random and /dev/urandom (used for random mac address assignment) however if this fails manaul creation is needed.
      
# mknod -m 666 /dev/random c 1 8 && mknod -m 666 /dev/urandom c 1 9 && chown root:root /dev/random /dev/urandom

RHEL 7

## Required rpm packages:

# yum install git wget pv dialog findutils gawk sed grep coreutils -y && yum group install virtualization -y
## Inital checks should generate /dev/random and /dev/urandom (used for random mac address assignment) however if this fails manaul creation is needed.
 
# mknod -m 666 /dev/random c 1 8 && mknod -m 666 /dev/urandom c 1 9 && chown root:root /dev/random /dev/urandom

All-In-One Install 11

 ## -->> user: rhel-labs pass: redhat requires sudo or root to install

 # git clone https://github.com/vidurous/rhel-labs && cd rhel-labs/ && sudo ./rhel-labs-functions.cfg install && su - rhel-labs

Footnotes

note info
1 RHEL-LABS's current functionality is limited to server.example.com. Lab execises are coming soon.
2 Premade virtual based qemu images are prepared to provide users with throw away practice environments with additional unique supplemental lab execises that will be graded remotely automatically returning results or possibly displayed on an auto-generated python flash http page.
3 Server and Desktop virtual machines are running RHEL 7.2.
4 Similar use and behavior for Red Hat's instructor lead classroom certification courses.
5 The image archive ( 518MB ) contains a server.img ( 1.3GB ) once uncompressed.
6 Each virtual machine image will have an internal snapshot defining a default base state to revert back to.
7 The program was written for the target audience only having linux end user experience and bash for additional transparency concerning learning.
8 Snapshot states for reverting back to the base image state and whatever user progressed saved state will be available.
9 The control menu allows for basic control of the virtual machine.
10 Delivery of compressed virtual machine images, checksum verification, installation of virtual machines, full control menu and snapshot functionality.
11 root or proper sudo access while using rhel-labs.

Upcoming Features


Feature list moved to issue tracker (tagged with enhancement).

rhel-labs's People

Contributors

vidurous 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.