Installing Proxmox

Proxmox – an open source virtualization system based on the Debian operating system.

On the test, I will install Proxmox in Debian 9.

Switch to the root user:

Open the /etc/hosts file in a text editor:

nano /etc/hosts

Let’s name the server test, replace with the IP-aders server, or comment out the line with and add a new one below. If this is not done, an error is likely to occur during the installation process.

#      test   test

Add the Proxmox VE repository:

echo "deb stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

Add the Proxmox VE repository key:

wget -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

Let’s update the list of repositories and the system:

apt update
apt dist-upgrade

Install the packages Proxmox VE:

apt install proxmox-ve postfix open-iscsi

Let’s check:

lsof -i tcp:8006

After installation, open the Proxmox VE https://IP:8006/ interface in the browser, select “Linux PAM standard authentication” and log in with a root account and a password from Debian.
Add the network bridge to the server.

It is also recommended to remove os-prober if it is installed and on the disk one operating system:

apt remove os-prober

Ready images can be downloaded from to the /var/lib/vz/template/cache directory.
ISO files for installing operating systems must be placed in /var/lib/vz/template/iso.

The Proxmox system can also be downloaded in an ISO ready form from the official website and perform a clean installation.

Leave a comment

Leave a Reply