Skip to content

CENTOS Stream x86 64 VM

reubenajohnston edited this page Apr 12, 2024 · 5 revisions

Prerequisites

  • Install Vmware Workstation or Fusion (download and licensing details here)
  • Download the latest, 64-bit CENTOS Stream *.iso here

Installation

  • Create a new VM guest in Vmware by following the instructions here
  • Boot the new VM
  • Go through the steps to install CENTOS in the virtual machine
    • Select "Install CentOS Stream 9" and press enter
    • Select your language (use English if you expect me to assist troubleshooting)
    • Select "sda" for installation destination and keep the default settings
    • Enable the root account and ssh for it (use a strong password)
    • Select "Begin Installation"
  • When installation finishes, detach the *.iso from the virtual DVD drive and power down the VM
  • Snapshot your VM, and name it "Clean install, no setup"
  • Boot the CENTOS VM
  • Follow the setup prompts for CENTOS
    • Disable Location Services
    • Skip connection for online accounts
    • Fill in about you and identify a username for yourself
    • Set your password (use a strong password)
  • Install VMware tools as detailed here
  • Create a shared folder between the host and the VM for file transfers, as detailed here
  • Disable screen locker and power saver settings (it's a VM, let host OS do this)
    • Settings->Privacy->Screen Lock
    • Settings->Power
  • Install the epel-release package
    • $ sudo yum install epel-release
  • Install terminator and gparted packages
    • $ sudo yum install terminator gparted
  • Add user to sudo
    • Run visudo and ensure the following line is uncommented (should appear exactly as below, with prefix %)
    %wheel   ALL=(ALL)       ALL
    
    • # usermod -aG wheel <USERNAME>
    • Reboot (to take effect)
  • Set terminator as a Favorite
  • Shut the VM down, snapshot your VM, and name it "Clean install"

Networking

  • Use nmtui to set system hostname and configure the virtual network adapters