Hands-On Prep Series

🧰 Hands-On Prep Manual: From Creating a VM in Proxmox VE to Installing an OS

Introduction

This article is part of the Top 1% Series’ full article guide. This article is a dedicated operations manual for “warming up before your first hands-on lab” — it doesn’t cover internal mechanics the way other articles in this series do. If you’re curious about Proxmox VE’s internals (how KVM/QEMU work), see What Is Proxmox VE?. Every hands-on article on this blog (e.g., the L2TP/IPsec hands-on lab) assumes you can already do what this article group covers.

How to Use This Article Group

“Hands-On Prep” is split by theme into the following five articles. Skip anything you already know or have used before.

  1. Creating a VM in Proxmox VE and installing an OS (this article): The VM creation wizard, downloading/uploading an ISO, and installing Ubuntu Server
  2. Setting Up an Ubuntu Server for the First Time: Basic operations after your first login — sudo apt update, sudo su -, nano — the US-keyboard-layout gotcha, and checking/enabling the SSH server
  3. Setting Up Windows Server for the First Time: Initial setup via Windows Server’s GUI, and enabling the SSH server
  4. How to Use Teraterm (a Terminal Client): Creating and saving an SSH connection, character encoding, saving logs
  5. How to Use Wireshark: Opening capture files, basic filters, and transferring files with scp

This article covers item 1: creating a VM in Proxmox VE and installing an OS.

Step 1: Create a VM in Proxmox VE

Log into the Proxmox VE management UI (browse to https://<Proxmox's IP address>:8006), select your node, and open the creation wizard from the “Create VM” button in the top right.

TabMain settingsRule of thumb for a hands-on lab
GeneralVM ID, nameGive it a name that reflects the lab (e.g., l2tp-server) so you can tell it apart later
OSThe ISO image to install fromSelect the ISO you uploaded in Step 2
SystemBIOS type, whether to use the QEMU guest agent, etc.The defaults are usually fine
DisksDisk size, storage location8–20GB is often plenty for a lab (follow whatever a specific article requires)
CPUCore count1–2 cores is often plenty for a lab
MemoryMemory (MB)1–2GB is often plenty for a lab
NetworkWhich bridge to attach (usually vmbr0)Choose vmbr0 if you want the VM directly on your home LAN

Once you’ve reviewed every tab, click “Confirm” to create the VM. It won’t be running yet at this point.

Step 2: Download and upload the OS installation media (ISO)

Download the ISO: Download the installation ISO from the distributing OS’s official site. For Ubuntu Server, for example, picking the LTS (long-term support) release from the official Ubuntu download page is a safe default.

Upload it to Proxmox: In the Proxmox UI, pick the storage where you want to keep ISOs (usually local), then use “ISO Images” → “Upload” to upload the file you downloaded. If your setup supports “Download from URL” (fetching the ISO directly by URL), that can be faster since it doesn’t route through your own connection.

Step 3: Install the OS from the ISO (using Ubuntu Server as an example)

Select the VM you created in Step 1, click “Start,” then open the “Console” tab to operate the VM’s screen right in your browser (this uses a technology called noVNC — think of it like remote desktop for the VM’s display).

Once the Ubuntu Server installer boots, you’ll generally go through this flow.

  1. Language selection: Leaving it as “English” is common (there’s less information out there for a Japanese UI, and English error messages are easier to search for).
  2. Keyboard layout selection: The layout you choose here affects both the rest of the install and how input works afterward. If your physical keyboard has a Japanese layout, choosing “Japanese” means what’s printed on the keys matches what actually gets typed. The gotcha with choosing “English (US)” instead is covered in Setting Up an Ubuntu Server for the First Time.
  3. Network configuration: If vmbr0 is bridged directly to your LAN, an IP address is usually assigned automatically via DHCP, and you can just continue.
  4. Storage configuration: Following the default guidance (something like “Use an entire disk”) is fine unless you have a specific reason not to.
  5. Profile setup: Set the server name, username, and password. The user you create here becomes the admin user who can use sudo after installation.
  6. Installing OpenSSH server: Strongly recommended — check “Install OpenSSH server.” This lets you connect to the VM over SSH once installation finishes (easier to copy-paste with than the Console screen), and every hands-on article on this blog assumes an SSH connection from here on. If you forget to check this, see Setting Up an Ubuntu Server for the First Time for how to fix it after the fact.
  7. Featured server snaps: Unless a specific lab tells you otherwise, it’s fine to select nothing here (you’ll install anything you need individually via apt later).

Installation finishes with a prompt to reboot. Before rebooting, don’t forget to eject the ISO image from the VM’s optical drive (or change the boot order). Forgetting this means the installer boots again every time you reboot (you can unmount the ISO from the VM’s “Hardware” tab → CD/DVD drive in Proxmox).

Once it’s back up, move on to Setting Up an Ubuntu Server for the First Time to check the basics after connecting over SSH.

Summary

References

Frequently Asked Questions (FAQ)

I tried installing a GUI desktop environment and ran out of disk space

On the roughly 8GB of disk typically allocated for a lab VM, installing a full desktop environment like ubuntu-desktop often runs out of space. Either expand the VM's disk to 20GB+, or check the specific hands-on article for a CLI-only path that skips the GUI entirely.

→ See a real example of a CLI-only setup
sudo apt update fails with an error

This is usually a networking issue (has the VM actually obtained an IP via DHCP?) or a DNS resolution issue. Check with ip a whether an IP address is assigned, and confirm connectivity with ping 8.8.8.8.

I accidentally selected a US keyboard layout during install — can I change it?

Yes. Run sudo dpkg-reconfigure keyboard-configuration and set "Country of origin" to "Japan" (or your own country) in the interactive prompt, and a keyboard with that physical layout will type exactly what's printed on its keys.

The VM I created in Proxmox can't reach the network

Check, in Proxmox's network settings, whether the VM's virtual NIC is attached to the correct vmbr (virtual bridge), and whether that bridge is correctly linked to the physical NIC.

→ Learn more about how the virtual bridge (vmbr) works
Is it okay to just stay in a root shell via sudo su - the whole time?

It works fine technically, but in practice, prefixing individual commands with sudo is recommended for the sake of auditability (a record of who did what, and when). This blog's hands-on articles are written that way for that reason.

I've finished this article — which hands-on lab should I start with next?

As of now, the self-built L2TP/IPsec server lab is this blog's published hands-on lab that involves building real infrastructure.

→ See the self-built L2TP/IPsec server hands-on lab

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).