Proxmox VE logo

Build a Software Review Lab with Proxmox, Part 4: Installing Proxmox VE

Install Proxmox VE 9.2, log in to the web interface for the first time and find your way around the datacenter, the node and the two storages, then shut the node down cleanly.

In this part you install Proxmox VE 9.2 on the empty virtual disk from Part 2, boot it from that disk, log in to the web interface and learn the screens you use in Part 5. It ends with a clean shutdown from inside Proxmox.

The install is mostly reading each screen and clicking Next. The tour after it is short, so the screens in Part 5 aren’t new to you.

What you need from Parts 2 and 3

  • The launch script, ~/lab/start-proxmox.sh.
  • The empty virtual disk, ~/lab/proxmox/proxmox.qcow2.
  • The verified ISO, ~/lab/iso/proxmox-ve_9.2-1.iso.
  • A root password for Proxmox, decided before you start.

Decide the password now, not on the password screen. Root on Proxmox is root on the whole server, and on every VM that will ever run on it. I generated a long random one and kept it in a file only my user can read. A password manager does the same job.

Step 1: Boot the installer

Start the launch script with the ISO, the same command as in Part 3:

~/lab/start-proxmox.sh ~/lab/iso/proxmox-ve_9.2-1.iso
Terminal window with the command ~/lab/start-proxmox.sh ~/lab/iso/proxmox-ve_9.2-1.iso typed at the prompt.Open larger screenshot
The launch script from Part 2, started with the Proxmox VE ISO.

The QEMU window opens and the installer’s menu comes up, the same one from Part 3:

QEMU window titled proxmox-lab showing the Proxmox VE 9.2 welcome screen with Install Proxmox VE (Graphical) selected in the boot menu.Open larger screenshot
The Proxmox VE 9.2 boot menu, with Install Proxmox VE (Graphical) selected.

The first option, Install Proxmox VE (Graphical), is already selected. That’s the one you want. The two Terminal UI options install the same thing with a text interface, for machines where the graphical one doesn’t work. Advanced Options is for debugging the installer. Press Enter.

Step 2: Accept the license agreement

Proxmox VE installer showing the end user license agreement, with Abort, Previous and I agree buttons.Open larger screenshot
The installer’s end user license agreement, with Abort, Previous and I agree at the bottom.

The first real screen is the license. The part worth knowing is in point 1: you get Proxmox VE under the GNU Affero General Public License V3, which is free software. The paragraph above it also says the license gives you no right to the paid support subscriptions. That comes back after the first login. Click I agree.

Step 3: Choose the target disk

Proxmox VE installer disk screen with the target hard disk /dev/vda (200.00GiB) and an Options button.Open larger screenshot
The target hard disk screen, with /dev/vda (200.00GiB) selected.

The installer finds one disk, /dev/vda (200.00GiB). That’s the empty virtual disk from Part 2, and the size matches. The name is vda and not sda because the script attaches the disk as a virtio device.

The Options button is for changing the filesystem and how the disk is split up. Leave it. The default gives you ext4 for the system and an LVM-thin pool for VM disks, which you see in Step 13, and that’s enough for a one-server lab. Click Next.

Warning: The installer erases the disk you pick here, every partition on it. On a PC with more than one drive, read the disk name and size twice before you click Next. There is no undo.

Step 4: Set the location and time zone

Proxmox VE installer Location and Time Zone selection screen with the country, time zone and keyboard layout fields.Open larger screenshot
The Location and Time Zone selection screen, with fields for the country, time zone and keyboard layout.

Type your country, and the installer fills in a time zone for it. Check that the time zone is the one you’re in, and pick the keyboard layout you actually type on; it’s what the server’s console uses. Click Next.

Step 5: Set the root password and email

Proxmox VE installer password screen with masked password and confirm fields and the email root@pve.lab.internal.Open larger screenshot
The administration password and email screen, with the password typed twice (masked) and root@pve.lab.internal as the email.

Type the root password twice. It’s masked, so type it carefully, or paste it from your password manager. I typed mine from the file, so I couldn’t get it wrong.

The email is where Proxmox sends system mail to root, like failed backups. The installer starts with mail@example.invalid, which goes nowhere. I put root@pve.lab.internal. This lab has no mail server, so that goes nowhere either. If you have a real address you check, use that. Click Next.

Step 6: Configure the network

Proxmox VE installer network screen with interface nic0, hostname pve.lab.internal, IP 10.0.2.15/24, gateway 10.0.2.2 and DNS 10.0.2.3.Open larger screenshot
Management network configuration: nic0, hostname pve.lab.internal, IP 10.0.2.15/24, gateway 10.0.2.2 and DNS 10.0.2.3.

This is the screen that confuses people the most, so take it slowly.

The installer asks the network for an address and gets one. The Management Interface is nic0, the virtual network card from the script. IP Address 10.0.2.15/24, Gateway 10.0.2.2 and DNS Server 10.0.2.3 all come from QEMU. They’re the fixed addresses of QEMU’s built-in “user” network: a small private network that only this VM is on, with QEMU itself playing the router. Leave them as they are.

The only field to change is Hostname (FQDN). It wants a full name, with a dot in it. Type pve.lab.internal: pve is the server’s name, and lab.internal is a made-up domain for the lab. The .internal ending is reserved for private networks, so it never clashes with a real website.

Pin network interface names is already checked. It keeps the card’s name as nic0 even if the hardware changes later. Leave it on. Click Next.

Note: You can’t reach 10.0.2.15 from the host. That address only exists inside QEMU’s private network. How the browser gets to Proxmox anyway is in Step 9.

Step 7: Check the summary and install

Proxmox VE installer summary table listing ext4, /dev/vda, the country, time zone and keyboard layout, the email, nic0, pve and the network settings.Open larger screenshot
The installation summary: ext4 on /dev/vda, the location settings, root@pve.lab.internal, nic0, hostname pve and 10.0.2.15/24, with Automatically reboot unchecked.

This is the last screen before anything is written. Check every line: filesystem ext4, disk /dev/vda, your country, time zone and keyboard layout, the email, nic0, the hostname, the IP, the gateway and the DNS. The hostname row shows only pve; the rest of the name is the domain.

At the bottom is Automatically reboot after successful installation, checked by default. Leave it checked and the server restarts by itself. I unchecked it, so the installer waited on the finished screen until I clicked Reboot.

Click Install.

Proxmox VE installer progress screen at 59 percent, extracting a .deb package.Open larger screenshot
The installer at 59%, extracting a .deb package, with a page about Proxmox VE above the progress bar.

The installer partitions the disk, then unpacks and sets up the packages. The line above the bar says what it’s doing. Here it’s extracting a .deb file. Proxmox VE is built on Debian, and what’s being installed is a Debian system with the Proxmox packages on top. The pages above the bar are just Proxmox talking about itself while you wait.

On my machine it took about two minutes from Install to done. A slow disk takes longer.

Proxmox VE installer showing Installation successful with the address https://10.0.2.15:8006 and a Reboot button.Open larger screenshot
Installation successful, with the address https://10.0.2.15:8006 and a Reboot button.

Expected result: Installation successful! The screen tells you to reboot and open https://10.0.2.15:8006 in a browser. Remember the :8006; that’s the port Proxmox’s web interface uses. The address itself doesn’t work from the host, but the port matters.

Click Reboot.

Step 8: Boot Proxmox from its disk

The script boots the ISO with -boot once=d. The once means exactly that: only the first boot uses the CD. So when the installer reboots, the VM starts from the new disk, even with the ISO still attached, and Proxmox comes up on its own.

Detach the ISO for good. Shut the VM down cleanly from the QEMU window’s Machine menu, Power Down. That sends the same signal as a short press of a PC’s power button, and Proxmox shut down properly in about ten seconds. Then start it again, this time without the ISO:

~/lab/start-proxmox.sh
Terminal window with the command ~/lab/start-proxmox.sh typed at the prompt, without an ISO.Open larger screenshot
The launch script started with no argument, so the VM boots from its disk.

With no argument, the script’s if block is skipped, so there’s no CD at all. This is the command for every normal start from now on.

QEMU window showing the Proxmox VE console welcome message with https://10.0.2.15:8006/ and the pve login prompt.Open larger screenshot
The Proxmox VE console after boot: the welcome message with https://10.0.2.15:8006/ and the pve login prompt.

Expected result: when it’s done booting, the QEMU window shows the console: “Welcome to the Proxmox Virtual Environment”, the address to connect to and pve login:. You could log in here as root, but you don’t need to. Everything else in this series happens in the browser. Leave the window open; closing it is pulling the plug.

Step 9: Understand why localhost:8006 works

This is where the script from Part 2 earns its keep. One line in it:

-netdev user,id=net0,hostfwd=tcp:127.0.0.1:8006-:8006,hostfwd=tcp:127.0.0.1:2222-:22

Each hostfwd is a port forward. tcp:127.0.0.1:8006-:8006 means: when something on the host connects to port 8006 on 127.0.0.1, QEMU passes it through to port 8006 inside the VM. So the host can’t see 10.0.2.15, but it doesn’t need to. https://localhost:8006 on the host ends up at Proxmox’s web interface. The second forward does the same for SSH, port 2222 on the host to port 22 in the VM.

The 127.0.0.1 matters too. It means only this computer can use the forwards. Other machines on the network can’t reach this Proxmox at all, which is what you want for a lab that runs software under test.

Step 10: Open the web interface

In Firefox on the host, open https://localhost:8006. Type the https://; Proxmox doesn’t answer plain HTTP on that port.

Firefox security warning page for localhost:8006 with Advanced and Go back (Recommended) buttons.Open larger screenshot
Firefox warns that something doesn’t look right at localhost:8006, with Advanced and Go back (Recommended) buttons.

Firefox warns you. That’s expected. HTTPS uses a certificate to prove that the server is who it says it is, and the certificate has to be signed by someone your browser trusts. Proxmox made its own certificate and signed it itself, so Firefox has no way to know it.

Click Advanced:

Firefox warning details saying the certificate is self-signed, error code SEC_ERROR_UNKNOWN_ISSUER, with Proceed to localhost:8006 (Risky).Open larger screenshot
The Advanced details: the certificate is self-signed, error SEC_ERROR_UNKNOWN_ISSUER, with Proceed to localhost:8006 (Risky).

“It’s self-signed”. Error code SEC_ERROR_UNKNOWN_ISSUER. That’s the whole problem. It’s your own server, installed minutes ago, so click Proceed to localhost:8006 (Risky). The connection is still encrypted. Firefox just can’t vouch for who is on the other end.

Warning: Accept this warning for your own lab on localhost, and nowhere else. On a website on the internet, the same warning can mean someone is in the middle of your connection. If you didn’t set up the server yourself, click Go back.

Step 11: Log in

Proxmox VE login dialog with user name root, a masked password, realm Linux PAM standard authentication and language English.Open larger screenshot
The Proxmox VE login: user root, the password masked, realm Linux PAM standard authentication, language English.
  • User name: root
  • Password: the one from the installer.
  • Realm: Linux PAM standard authentication.

The realm is where Proxmox checks the user name and password. Linux PAM means the server’s own Linux accounts, and root is one of them, with the password you gave the installer. It’s the default, so you only need to check it. Click Login.

Proxmox VE web interface with the No valid subscription popup and an OK button.Open larger screenshot
The No valid subscription popup over the Proxmox VE 9.2.2 web interface.

The first thing Proxmox shows you is a popup: No valid subscription.

Note: This popup is normal for the free version. Proxmox VE is free and complete without a subscription. The subscription is for paid support and the enterprise update repository, and the web interface reminds you at every login. Click OK.

Step 12: Check the datacenter and the node

Proxmox VE Datacenter view with the Search panel listing localnetwork, node pve, storage local and storage local-lvm, and the task log below.Open larger screenshot
The Datacenter view, with the Search panel listing the localnetwork zone, the node pve, and the local and local-lvm storages.

This is the main screen. The header says Virtual Environment 9.2.2, the version that’s running. The ISO’s name says 9.2-1, but that’s the ISO release. 9.2.2 is the version of the Proxmox packages on it.

On the left is the tree. At the top is Datacenter. With one server it feels like an odd name, but Proxmox is built for clusters, where several servers are managed together, and the datacenter is the whole group. Under it is pve, the only node (server) in this lab. The green check means it’s up.

The middle column changes with what’s selected in the tree. For the datacenter, Search lists everything at once: one network zone, one node and two storages, local and local-lvm. The bottom panel is the task log. Everything Proxmox does is a task, with a start time, an end time and a status.

One line is red: Update package database, and its status starts with Error: command 'apt-get upd, cut off by the column. Proxmox tried to check for updates, and it’s set up to use the enterprise update repository, which needs a subscription.

Click pve in the tree, then Summary:

Proxmox VE node pve Summary with CPU, load, RAM, disk and swap usage, the AMD Ryzen 9 7950X CPU, kernel 7.0.2-6-pve and pve-manager 9.2.2.Open larger screenshot
The Summary of node pve: CPU, load, memory, root disk, swap, the CPU model, kernel, boot mode and manager version.

This is the server’s dashboard. Expected result, on my machine:

  • CPU usage: 0.31% of 12 CPUs. Twelve, because the script gives the VM -smp 12.
  • RAM usage: 1.63 GiB of 23.47 GiB. The script gives it 24G, and the kernel keeps a little of that for itself before Proxmox counts what’s left.
  • / HD space: 4.10 GiB of 58.51 GiB. That’s the root filesystem, where Proxmox itself lives.
  • SWAP usage: 0 B of 8.00 GiB.
  • CPU(s): 12 x AMD Ryzen 9 7950X 16-Core Processor. That’s the host’s CPU, passed through by -cpu host.
  • Kernel Version: Linux 7.0.2-6-pve, Proxmox’s own kernel.
  • Manager Version: pve-manager/9.2.2.

Repository Status has the same story as the red task: the enterprise repository is enabled and needs a valid subscription.

Under the node in the tree there are three more entries now: localnetwork, local and local-lvm. Across the top of the node view are Reboot, Shutdown and Shell. Shell opens a root terminal in the browser, so you don’t need the QEMU window for that. You use Shutdown in Step 15.

Step 13: Check the two storages

Proxmox splits the 200 GiB disk into three main parts: the root filesystem, swap and a big pool for VM disks. Two of them show up as storages.

Proxmox VE storage local summary: enabled, active, directory type, content Backup, Import, ISO image and Container template, 7.01% used of 62.82 GB.Open larger screenshot
Storage local on node pve: a directory for backups, imports, ISO images and container templates, 4.40 GB of 62.82 GB used.

local is a plain folder on the root filesystem. Its content types are Backup, Import, ISO image and Container template. Files, in other words. It says 62.82 GB where the node said 58.51 GiB, and it’s the same space: this page counts in units of 1,000, the node page in units of 1,024.

Proxmox VE storage local-lvm summary: enabled, active, LVM-Thin type, content Disk image and Container, 0 B used of 121.27 GB.Open larger screenshot
Storage local-lvm on node pve: LVM-Thin for disk images and containers, 0 B of 121.27 GB used.

local-lvm is the big pool, 121.27 GB, type LVM-Thin, for Disk image and Container. This is where VM disks go. “Thin” means a VM’s disk only takes the space it has actually written, not the size you give it. It’s empty, because there are no VMs yet.

So the rule is simple. Files like ISOs go to local. VM disks go to local-lvm.

Step 14: Find where ISOs go and where VMs start

Click local, then ISO Images:

Proxmox VE storage local ISO Images list, empty, with Upload, Download from URL and Remove buttons.Open larger screenshot
The ISO Images list of storage local, empty, with the Upload and Download from URL buttons.

It’s empty, with two buttons: Upload, to send an ISO from the computer you’re browsing from, and Download from URL, to let Proxmox fetch it itself. This is where the Windows ISO goes in Part 5. Don’t upload anything yet.

Top right of the Proxmox VE header with the Documentation, Create VM and Create CT buttons and the root@pam user menu.Open larger screenshot
The top right of the Proxmox web interface: Documentation, Create VM, Create CT and root@pam.

The Create VM button is at the top right, on every screen. Create CT next to it makes a container. root@pam is you: user root, realm PAM. That menu is where you log out.

Create VM starts a wizard, and that wizard is most of Part 5.

Step 15: Shut Proxmox down cleanly

In Part 3 you closed QEMU at the boot menu with Ctrl+Alt+Q, which is like pulling the power cable. Now there’s an installed system on the disk, so shut it down from Proxmox itself.

Click pve in the tree, then Shutdown at the top right:

Proxmox VE Confirm dialog asking Shutdown node pve with Yes and No buttons.Open larger screenshot
The Confirm dialog asking Shutdown node ‘pve’? with Yes and No.

Proxmox asks once: “Shutdown node ‘pve’?” Click Yes.

Proxmox VE web interface showing a Connection error message, with a Bulk shutdown VMs and Containers task at the top of the task log.Open larger screenshot
Connection error in the web interface, and a new Bulk shutdown VMs and Containers task at the top of the task log.

The task log shows Bulk shutdown VMs and Containers, which is Proxmox stopping its guests first. There are none, so that’s quick. Then the server goes away, and the web interface says Connection error, because there’s nothing left to connect to. That’s expected.

About ten seconds after you click Yes, the QEMU window closes by itself, and the terminal is back at the prompt:

Terminal window back at the prompt below the ~/lab/start-proxmox.sh command after QEMU closed.Open larger screenshot
The terminal back at the prompt after Proxmox shut down and QEMU closed.

Expected result: no error under the command. Because the script ends with exec, QEMU closing means the script is done too. The virtual disk file on the host grew from almost nothing to about 5.5 GB. That’s the whole install.

Warning: From now on, don’t stop Proxmox by closing the QEMU window or with Ctrl+Alt+Q. Use Shutdown in the web interface, or Machine, Power Down in the QEMU window if the web interface isn’t reachable. Both let Proxmox finish writing to the disk first.

If something goes wrong

  • The installer shows no disk, or the wrong size: check that ~/lab/proxmox/proxmox.qcow2 exists and that the -drive line in the script points at it.
  • The VM boots the installer again after the install: you started the script with the ISO. Shut the VM down from Machine, Power Down, and start the script with no argument.
  • Firefox says it can’t connect to localhost:8006: the VM isn’t up yet. Wait until the QEMU window shows pve login:, then reload. If the QEMU window isn’t there, the VM isn’t running; start the script again.
  • The login fails: check the realm. It has to be Linux PAM standard authentication for root. The password is the one you typed twice in the installer, and it’s case-sensitive.
  • The No valid subscription popup or the red Update package database task: both are normal without a subscription.

What’s next

Proxmox VE 9.2.2 is installed, it boots from its own disk, the web interface works on localhost:8006 and it shuts down cleanly. Everything from here happens inside it.

In Part 5, “Downloading the ISOs and Creating the Windows 11 VM”, you get the Windows ISO onto local and go through Create VM, one setting at a time.

Discussion

Was this helpful?

Your first vote needs no account.

Open a fresh voting form

Leave a Reply

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

You can post one comment as a guest across the site.

Related posts

BUILDASO.PCX

Search

Press / or Ctrl K to search from any page. Esc closes.

Your account

Necessary Always active

Shareware Press stores your cookie choices for 180 days in sp_consent. Opening the rating form sets sp_voter for one year to retrieve and update your vote. Starting an article Discussion or Helpful action sets sp_article_receipts for one year to prove that specific submission; linking it also needs a matching verified account. WordPress uses login and settings cookies for signed-in users, and comment-author cookies for one year when you ask it to remember your details.

Cookie Policy · Privacy Policy

Consent record reference