Proxmox VE 4

Proxmox VE 4 is a very easy to use web based panel to manage virtual machines using either LXC containers or KVM based virtual machines.

Requirements

Proxmox VE is a solution to manage virtual servers, therefore it is recommend to have at least one failover IP available

Connecting to the Proxmox panel

Once the installation of your Dedibox has completed you can access Proxmox directly from your control panel:

The URL to access the interface is https://sd-xxxxx.dedibox.fr:8006 When you connect to it for the first time, you may see an error message, that the connection is not trusted. You can validate this notification, it is caused by the self-signed SSL certificate of your server.

Enter the password of the root user to connect to the panel:

You are now connected to the Proxmox interface:

Creating a LXC container

As explained Proxmox offers two different virtualization technologies. We will start by creating an LXC container which is very easy and can be configured completely from the Proxmox panel.

At first we have to download an OS image from Proxmox.

  • Go to the storage of your server:

  • Click on “Templates”

  • Proxmox offers us several installation images, from basic installation to pre-installed environments like a mail server or a groupware (it is also possible to manually add images to the directory /var/lib/vz/template/cache)

  • Download the image you want to use for your virtual server.

Now, as we have downloaded an image for our server, it is time to create a new container.

  • Click on “Create CT” to launch the installation of your new virtual server:

  • Enter the hostname and the root password of your new server:

  • Select the image you have downloaded before:

  • Select the storage of your new server: local and define the size of the disk:

  • Select how many virtual CPUs you want to use with your VPS and how much power you want to allocate to them:

  • Enter the amount of RAM you want to use with your new virtual server:

Enter all the parameters of your IP address in the corresponding textboxes.

When you have the failover IP 62.210.123.123, you have to enter it as 62.210.123.123/32. The gateway for your virtual server is your main server IP ending on .1

  • Now enter your servers DNS domain and the DNS resolvers you want to use. Our resolving DNS (or cache DNS) servers are 62.210.16.6 and 62.210.16.7:

  • You will now see a summary of your configuration. Click on finish to start the creation of your server. Depending on the resources you have allocated it may take some minutes until it this is completed.

As you have now created your server, it is time to start your new LXC container

  • Select your server in the Datacenter view of Proxmox:

  • Now Start your server in the Proxmox panel:

  • You can access your server now by clicking on Console or, depending on your image directly in SSH:

  • Now your server is ready to use and you can configure it towards your needs:

Creating a KVM machine

If you require a full virtualization, you can create a virtual machine, based on KVM. The creation of a KVM virtual server requires some manual configuration and is recommended for expert use.

You can install any OS in KVM mode using your an ISO file.

At first you have to upload your ISO to the directory /var/lib/vz/template/iso on your server.

  • Start by clicking on Create VM:

  • Enter the hostname of your VM:

  • Select the type of VM you want to create:

  • Select the ISO file you want to use:

  • Configure the disk of the VM:

  • Configure the CPU of the VM:

  • Set the memory allowances of the VM:

  • Configure the network of the VM:

  • Start your VM:

  • Access the console of your VM:

  • Installation of your OS:

Once the installation has finished you have to configure the network of your VM:

Network configuration

You can find all information about the configuration of a failover IP on a virtual machine in our dedicated documentation.