Objective. Students install and configure a Linux virtual machine and explain the role of Linux in enterprise cybersecurity environments.
This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
Linux powers the majority of web servers, cloud infrastructure, network appliances, and security tools in enterprise environments. As a cybersecurity professional you will encounter Linux constantly — whether you are hardening a production server, analyzing logs, running a vulnerability scanner, or responding to an incident. Understanding Linux is not optional; it is a foundational skill required by every major cybersecurity credential, including CompTIA Security+, CompTIA CySA+, and ISC2 CC.
A Linux distribution (distro) packages the Linux kernel together with software, a package manager, and default configuration choices. Hundreds of distros exist, but cybersecurity professionals rely on a handful.
Ubuntu Server 22.04 LTS is a Debian-based distro maintained by Canonical. "LTS" means Long-Term Support — Canonical provides security patches for five years. Ubuntu uses the APT (Advanced Package Tool) package manager and the bash shell by default. It is widely used in enterprise servers, cloud deployments, and as a learning platform because of its large community and stable repositories.
Kali Linux is a Debian-based distro maintained by Offensive Security and purpose-built for penetration testing and digital forensics. It ships with hundreds of pre-installed security tools (Nmap, Metasploit, Wireshark, Burp Suite, and many others). Kali also uses APT and bash. Because it is tuned for offensive work, it is not recommended as a general-purpose server OS. Running Kali carelessly on a network you do not own or without authorization is illegal — always obtain written permission before testing.
CentOS / Rocky Linux are Red Hat Enterprise Linux (RHEL)-compatible distros. CentOS reached end-of-life for its stable branch; Rocky Linux is the community-supported successor. These distros use the DNF/YUM package manager and bash. They are common in enterprise data centers because they closely mirror RHEL, which dominates regulated industries such as healthcare and finance.
| Distro | Package Manager | Default Shell | Primary Use Case |
|---|---|---|---|
| Ubuntu Server 22.04 LTS | APT | bash | General server, cloud, learning |
| Kali Linux | APT | bash/zsh | Penetration testing, forensics |
| Rocky Linux | DNF | bash | Enterprise server, RHEL-compatible |
A virtual machine (VM) runs an entire operating system inside software on your physical computer (the host). VirtualBox and VMware Workstation Player are Type-2 hypervisors that run on top of Windows or macOS. Virtualization requires hardware-assisted virtualization — Intel VT-x or AMD-V — enabled in your system BIOS/UEFI. If this setting is disabled, your VM will not start.
Lab safety rules:
Three files will appear constantly in your career:
`/etc/passwd` stores user account information. Each line follows the format `username:x:UID:GID:comment:home_dir:shell`. The `x` in the password field means the encrypted password is stored separately in `/etc/shadow`. Attackers and defenders both examine this file to identify user accounts, privileged UIDs, and unusual entries.
`/etc/os-release` contains distribution identification variables (NAME, VERSION, ID, and others). Incident responders use it to quickly confirm which OS and version is running on an unfamiliar system, which matters when looking up CVEs or applying patches.
`uname -a` prints kernel information: kernel name, hostname, kernel release, kernel version, machine hardware, and OS. Knowing the exact kernel version lets you check whether the system is vulnerable to a known kernel exploit.
1. Confirm VT-x/AMD-V is enabled in BIOS/UEFI.
2. Download and install VirtualBox 7.x from virtualbox.org.
3. Download the Ubuntu Server 22.04 LTS ISO from ubuntu.com.
4. In VirtualBox, create a new VM: set type to Linux, version to Ubuntu (64-bit), allocate at least 2 GB RAM and 20 GB dynamic storage.
5. Attach the ISO to the virtual optical drive, then start the VM and follow the Ubuntu installer (accept defaults unless your lab sheet says otherwise).
6. After installation, eject the ISO and reboot. Log in and update: `sudo apt update && sudo apt upgrade -y`.
7. Document every configuration decision in your lab journal — RAM, CPU cores, network adapter type, disk size, and hostname.
Accurate documentation is a professional habit. Incident response reports, audit trails, and change-management records all depend on precise notes.
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.