Hyper-v

Creating, Configuring, and Connecting Linux (RHEL 8) VMs in Hyper-V



This is a detailed walk through that beginners can use to create, configure, and connect Linux (RHEL 8) VMs. I use hyper-V, but it would be very similar using any other hypervisor, or in the cloud. I show how to permanently connect the VMs in Hyper-V using an external switch and static IPs. I show how to get RHEL ISOs from Red Hat, how to create and configure a VM using the GUI that appears when initially running a new RHEL VM, and how to completely configure a RHEL server using only the CLI, Command Line Interface.

The configurations shown using the CLI are: How to configure the NIC, how to register and subscribe the server to Red Hat, how to change the hostname, how to create a new user and give it sudo rights, how to edit the /etc/hosts files to link IP to hostname (DNS) locally, a brief explanation of Yum and how repos work, and some discussion of other Linux basics.

Forgive the blurred sections, I tried to hide personal information.

00:00 Intro
01:00 Hyper-V VMs networked with External Switch
05:10 Red Hat Subscriptions and getting a RHEL ISO
08:57 Creating and Configuring first RHEL VM (via GUI) in Hyper-V
16:26 Finishing configurations for first RHEL Server via CLI
17:50 Configuring the NIC
20:14 Explaining /etc/hosts file
21:30 Putty and SSH
23:58 Configuring Second RHEL Server entirely via the CLI
25:30 Changing hostname with brief vim explanation
26:40 Adding a user and giving them sudo (admin) privileges
28:00 Configuring NIC for Second RHEL Server
30:55 Editing the /etc/hosts file, and more vim commands
32:20 Explanation of Man Pages and how to research stuff on CLI
33:47 Registering and Subscribing RHEL Server to Red Hat
36:40 Clean up tasks and explanations

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button