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:
su

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

nano /etc/hosts

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

#127.0.1.1      test
192.168.0.101   test

Add the Proxmox VE repository:

echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

Add the Proxmox VE repository key:

wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -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 download.openvz.org/template/precreated 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 proxmox.com website and perform a clean installation.

Leave a comment

Leave a Reply

Discover more from IT Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading