How to Install XCP-ng and XCP-ng Center Server

This brief tutorial shows students and new users how to install the XCP-ng virtualization server and XCP-ng management client.

XCP-ng is an open-source Hypervisor based on XenServer that started as a result of massive cooperation between individuals and companies, to deliver the best Hypervisor platform for free.

With XCP-ng, you can control your VMs on your bare metal servers in your environments, grow your cloud without limits, perform live migration amongst VMs without interruptions, and comes with a powerful web-based Xen Orchestra to manage your hosts.

If you want to run your cloud on your servers in your environments without unnecessary cost, you might want to look at the XCP-ng platform.

To get started with installing XCP-ng on Ubuntu, follow the steps below:

Install XCP-ng

First, grab the latest ISO image of XCP-ng from the link below.

Index of /isos/ (

After downloading the ISO image, create a bootable USB disk or CD/DVD by running the commands below from a Linux machine.

dd if=xcp-ng-8.2.0.iso of=/dev/sdX bs=8M oflag=direct

Or Use a Rufus to create a bootable disk on Windows machines.

After creating the bootable disk, insert it into your host server and boot from it.

You should see a Welcome to XCP-ng screen. Press the Enter key to begin the installation wizard. For more options, press F2.

Next, select the keymap you would like to use. The default is [qwerty] us.

Next, click Ok to use the setup tool to get XCP-ng installed on your system. To load additional drivers, press F9.

After that, accept the End User License Agreement to continue with the installation.

Next, select the virtual machine storage to use for storage. Our tutorial only had a single disk installed, so it defaulted to that.

If you want to use EXT instead of LVM for local storage, choose that and click Ok.

Then select the installation source. Since we’re installing from a local USB or CD, select local media and click Ok.

Next, you can choose to verify the installation media or skip it. Verification makes sure that the content on the disk is not corrupted.

After that, create a password for the root account. This is the administrator account that will be used to manage the server.

Next, choose how the server networking should be configured. In most cases, you may set a static IP configuration. However, in our case, we’re going to be using automatic configuration (DHCP).

We’ll also be using automatic DNS configuration. In a production environment, these would be static DNS servers.

When you’re done, choose the local time zone of the server.

Then select the city the server will be stationed.

Next, choose to use NTP to determine the server’s local time and continue.

Because we’re using automatic IP configurations, choose the have a DHCP server automatically assigned to the NTP servers. In production environments, these will statically be entered.

Next, click Install XCP-ng to begin the installation. This will erase all data on the disk you’re installing on.

Wait for the installation to complete.

When prompted if you want to install any supplemental packs, choose No. Many have complained that this might hang the installation.

You can also install these packages after the software is installed and working.

After that, the installation should be complete. Remove any disk in the computer and press Enter to reboot.

Login with the root password created above and start configuring your environment.

That should do it.

Install XCP-ng Center

To manage the server via a graphical client, you’ll need to install it. The official graphical client for XCP-ng is Xen Orchestra, which gets support from a team of several developers.

XCP-ng Center is maintained by community members in their free time and hosted by the XCP-ng project.

Download the latest release from the link below and install it on your Windows machine.

Releases · xcp-ng/xenadmin · GitHub


That should do it.


This post showed you how to install XCP-ng on your server. If you find any error above, please use the comment form below to report.