Table of Contents

Proxmox Setup Tutorial

Links

Other Tutorials

Installation

Proxmox installation is straight forward - burn a flash drive, boot from it.

First thing after agree terms is to select proxmox filesystem. Default is ext4, but if you switch to zfs (use raid0 if you only have one disk for the os) you proxmox can use special features like compression and snapshots. Make sure to only select the disks that are meant for the proxmox os - where virtual machines will be located.

On next screen you type country, select time zone and select keyboard layout (just leave it U.S. English if you are unsure).

On next screen enter password and type a valid email. The email will receive notifications about proxmox events.

On next screen Select network card (if you have more than one), type hostname - example proxmox.local. The first part will be used for the node name. so if you set hostname to myvms.example.com your proxmox machine will be called myvms. You also need to add a static IP. Proxmox doesn't work with DHCP.

And that's it. Click install and you are done.

Accessing proxmox and first tasks

Once the installation is done you can login to https://<yourip>:8006/ with user root and the password you entered.

You can access the console by:

  1. going to your node → shell in the webinterface
  2. logging in with root on the actual machine
  3. ssh to the proxmox ip using an ssh client - ssh, putty, etc

Disable enterprise repos

If you are not paying for proxmox, you should disable enterprise repos.

you can do it in command line - edit file

/etc/apt/sources.list.d/pve-enterprise.list

and comment out the line by adding a # at the beginning. Then, update the package list with:

apt update

Update proxmox

1. Update proxmox packages

First thing you should update proxmox. In shell type these commands:

apt update
apt upgrade

Or from node menu click on refresh, then upgrade.

If kernel upgrade was installed you should restart.

2. Update LXC templates

To update Proxmox LXC templates, follow these steps:

Download the latest templates: Use the Proxmox web interface or the command line to download the latest templates.

For command line:

pveam update

List available templates:

pveam available

Download the desired template: Replace <template-name> with the actual template name you want to download.

pveam download local <template-name>

Update existing containers/VMs: For LXC containers, start them and use the package manager inside the container to update them. For VMs, boot them and do the same.

Cleanup (optional): Remove outdated templates if necessary using:

pveam remove <template-name>