Skip to content

Installing Your First VM (Ubuntu) on Proxmox

This episode will go over how to setup your first virtual machine (VM) inside Proxmox.

Informative Section
!

This is a beginner-friendly course, so we understand many of you may find this lesson to be a review, but these fundamental concepts are very important for beginners when using Proxmox.


Installing your VM

Step 1. head over to https://ubuntu.com/download/server and download Ubuntu Server 22.x (x= whatever the latest version is). Description of your image Step 2. After you have downloaded it, navigate to the IP address of your server or mini PC where you installed Proxmox on it. You should be presented with a screen like this: Description of your image Step 3. Select your server (our case pve), then local (pve), and ISO images. Upload your Ubuntu Server .iso image there. Description of your image Step 4. Select iso images, upload, select file, and upload. After exit out of the pop up. Description of your image Step 5. We can now select create a vm, and follow the install process. Description of your image

VM settings for Proxmox

Settings:


-General Tab. Node: (select whatever Proxmox server or mini-PC you want to install to (our case, it is still pve). VM Id: does not matter (you can leave default). Name: (Describe what you install on the Ubuntu server (Wiki.Js, ARK server, Minecraft, Zabbix, etc).


-OS Tab: ISO image: select the ubuntu file we just uploaded.


-System Tab: All settings can stay default here.


-Disk Tab: Disk Size (GiB): (set based on the requirement of whatever software we are installing), i.e., Wiki.Js recommends at least 1gig of storage, and Ubuntu Server requires 20gigs, so we should have no less than 22gigs. (I would recommend going up at least 5 gigs for small installs and at least double for other applications where you know you will be uploading lots of content, i.e., mods, pictures, user accounts, etc.


-CPU Tab: Again, this will be based on the requirements of what you are installing. Wiki.js requires 2 cores and Ubuntu Server so that we will select 2 cores.


-Memory Tab: Again, based on system requirements. Wiki.js wants 2 gigs of RAM. Ubuntu Server recommends 4 gigs of RAM, but you can get away with 1-2, depending on your installation. In our case, for Wiki.js, we are going to keep 2gigs.


-Network Tab: This can stay default.


-Confirm Tab: Please check over all your settings and click finish.


Installing Ubuntu Server on your Proxmox VM

  1. Now we can boot the new virtual machine by selecting the console tab and then start now. Description of your image
  2. Select the top option, install Ubuntu Server. Description of your image
  3. Now Select your language. Description of your image
  4. Pick your Keyboard layout/variant. Description of your image
  5. We are selecting the Ubuntu Server Description of your image
  6. We can leave this default because most of you will use DHCP. Description of your image
  7. We can skip this because we are not using a proxy. Description of your image
  8. Our Ubuntu server is testing the mirror (a way to grab updates), after the mirror connection is confirmed you can select done. Description of your image
  9. In the case of Proxmox, we are creating a virtual machine, and during the setup of our Proxmox VM, we set the disk drive size, meaning our VM can only see the virtualized partitioned disk drive (this prevents you from overwriting any other VM disk partitions on your server). You are good to go ahead and use the WHOLE disk drive in this case. Description of your image
  10. This is just giving you a breakdown of that partitioned disk and how much space is going to each resource. Description of your image
  11. Your name can be set to the same as the username. The username and password is what will be used when we SSH into this (VM SO DO NOT FORGET THEM!). Setting the server name is very important, this is how your VM will appear to all other devices on your network, make is something memorable that explains what this VM is. Description of your image
  12. You can skip this and select done. Description of your image
  1. This part is so important, make sure you click enter on your keyboard and there is a 'X' in the openssh box. This allows us to SSH into your server. {.is-warning} Description of your image
  2. You can skip all this content. Description of your image
  3. Wait for the VM to finish installing. Description of your image
  4. Reboot now after that is complete. Description of your image
  5. Now you can login to your VM with the credentials you made earlier, this will allow you to see the IP address of your VM so we can use Putty and SSH to control it. Description of your image
  1. If you are on Windows 11 or newer we reccomend using Windows command line (CLI) to SSH into your machines, this allows you to copy and paste.
  2. You can also login with SSH on Linux.
  3. If you are on Windows 10 or prior we reccomend using Putty

The command to use SSH in the CLI is:

ssh username@server_ip_address

Example:

ssh learn@192.168.1.1

Description of your image

Using SSH is important for future videos because it allows you to copy and paste content into your CLI and important data from your local machine to your VM.