How to Create a Virtual Machine With Proxmox.

How to Create a Virtual Machine With Proxmox.



Step 1: Download the desired Linux distro ISO

Since Proxmox runs on a different server that you access using a browser, you can download the ISO on your local machine and upload it to your Proxmox server.

 

To do that, you need to download the ISO first. For example, I will be using Ubuntu 22.04. Head over to the Ubuntu website and download the Desktop ISO file.

 

You may use any other Linux distribution of your choice.

 

Step 2: Log in to Proxmox

You have a display like the one below, with a username and password prompt (We have already shared the logins). Enter those credentials in here:

Enter Proxmox

You'll end up on Proxmox's main console which looks like this:




The left side features a tree view of your network of virtual machines under the “datacenter” tab. This view also displays any storage you have attached to the network. The middle section features options for cluster creation, backups, and high-availability functions.

Step 3: Upload the ISO in Proxmox

You already have ISO downloaded to your system.

In Proxmox, click on your node (in my example it’s called test) and drill down to your local (test) datastore. To the right, you’ll see “ISO Images”. Click on that, and just above there will be an upload option. See the screenshots below for clarification here:

 

Go ahead and select the ISO that you downloaded earlier, and hit *upload*.

 

The way ProxMox indicates that an operation is successful is when it displays "TASK OK" as seen below:

 



With that accomplished, go ahead and click the X up at the top right hand corner of that task viewer window to close it.

Step 4: Start VM creation

You can now start creating your first virtual machine. Click “Create VM” up at the top right-hand corner as shown :



Go ahead and give your VM a name in the field provided. Notice the VM ID above - you can set this to anything you want, but do not go below 100 - those IDs are reserved by the system and doing so will break it. Resource Pool can be left as is right now because there’s only one server in our pool - the one I am currently using.

 



In the OS tab, you can leave everything as it is, except for the “ISO Image” field. Click the down arrow on that and you’ll see your ISO file. Go ahead and select it:

 



 And hit "Next"...



The "System tab" can be left as is - go ahead and click right on into the "Disks" tab.



The only thing to do here right now is tell ProxMox how much disk space the virtual machine will get. If you set ProxMox up to share storage on a NAS for instance, you could set that up here. For now, I'll be leaving the default 32 GB of disk space. Feel free to adjust this to your needs.

Moving on to CPU...



Go ahead and set the number of sockets and CPU cores to give the virtual machine. Do not exceed the number of sockets/cores that are physically in your server/machine. After that move on to Memory…

Make sure when you set your VM's memory, you leave some for the host machine as well. Otherwise, you'll notice sluggish behavior. Enter the amount of memory in megabytes (1024,2048,4096,8096, etc..)



The network tab can be left as-is unless you have special requirements, in which case I'll assume you know what you're doing here. You are just about there!



Go ahead and look everything over, and if all looks well you can click on "Finish". Notice the option down in the lower left corner of that box that you can start as soon as your VM is created. I want to show you how to do it the other way, so I'm leaving that unchecked for now.



Step 4: Start the newly created VM

The only thing left to do now is start it up!



From this point on, it's like a normal installation of Ubuntu, or whatever guest operating system you have selected.



Next, proceed with the OS installation, assign the IP address, and partition the disk as per your preference.

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 182