How to Create and Setup a Debian KVM VPS with Proxmox VE 6 — Part II — Debian Install

proxmox logo

Introduction

In Part I of this series, we downloaded the Debian netinst install iso. We then created a KVM VPS with the iso attached, and, finally, we successfully booted the iso.

In today’s post, we’re going to install our KVM with Debian 10 from the newly booted iso. But first, a bit of context on installing.

Context

  • Why the Debian minimal netinst iso?

Debian themselves say, “we think that in many cases the minimal CD image is better — above all, you only download the packages that you selected for installation on your machine. . . .”

What we gain from this series is a well-proven, widely used, minimal, highly extensible, open-source server operating system.

  • What about networking?

The biggest difference between installing on our VPS and installing on our personal laptop or desktop might be network configuration. On personal devices, we are used to automatic network configuration happening behind the scenes via Dynamic Host Configuration Protocol (DHCP). We turn on our device, it gets its own IP address and internet connection without our having to do much.

On servers, however, the server’s IP address and internet connection sometimes are set by hand instead of automatically via DHCP. Traditionally, server network settings are done from a console physically connected to the running server. Obviously, however, if our server is at a remote location, we cannot have a wired connection. Also, since networking hasn’t yet been set up inside the server, we can’t connect directly to our remote server over the internet, either.

As might be expected, the Debian minimal netinst iso is set up to configure networking automatically via DHCP. Thus, when we try the networking step of the install, that step will fail. The netinst iso will succeed, however, in installing a minimal Debian system without networking. In Part III of this series, covering Post Install Configuration, we will use the Proxmox web GUI and VNC to go inside our minimal system and set up networking by hand.

  • Alternative installation methods

It might be worth mentioning a few of the many other excellent methods of server installation which, although frequently used, are not selected here because they might be even more complex than our “simple” :) method.

Before We Start

We need to begin today at the exact stage where we left Part I. Our Debian Installer should be booted and running on our VPS.

We also will need the server’s hostname (which can be Debian) plus the username (which also can be Debian) and the real name for the user account which the installer will create. It’s also convenient to have on hand two previously generated good passwords, one for the root account and another for the new user account.

Debian Installer Steps

  • Select Install

 

  • Language

  • Location

  • Keyboard

  • DHCP Tries and Fails

  • Select “Do Not Configure Network at this Time”

  • Hostname

  • Enter and Confirm the Root Password

  • User’s Real Name

  • Username

  • User Password

 

  • Time Zone

  • Partitioning Method

  • Disk to Partition

  • Partitioning Scheme

  • Confirm Partitioning

  • Write Changes to Disks

  • Confirm No Additional Install Media

  • Confirm No Network Mirror

  • Package Usage Survey

  • Choose Additional Software

  • Dual Boot

  • Grub

  • Installation Complete

In the Proxmox web GUI, we select VPS > Hardware > CD/DVD Drive. Press edit and select “Do not use any media.” Then, we return to our “Installation Complete” screen by selecting Console, which should reappear just as we left it. Finally, we click the “Continue” button, which should reboot the VPS.

In Part I, we did not install Qemu Agent. Therefore, rebooting from the Proxmox web GUI (outside our VPS) as opposed to rebooting from the console (inside our VPS) might not work. However, if it is necessary to stop the server from the web GUI, we can use the web GUI’s Stop command found on the drop-down menu of the Shutdown button.

  • Successful Reboot

Default image
Not_Oles
Tom, not Oles. Happy New York City guy visiting in Mexico!
Articles: 2

Leave a Reply