How to Install XCP-ng and XCP-ng Center

man 1351761 640

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

XCP-ng is an open source Hypervisor based on XenServer and 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 own bare metal servers in your own environments, grow you own 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 own cloud on your own servers in your environments without the unnecessary cost, then you might want to take a look at XCP-ng platform.

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

Install XCP-ng

First, go and 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 disc 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 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.

xcp ng begin installation

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

xcp ng keymap

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

xcp ng setup tool

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

xcp ng eula

Next, select the virtual machine storage to use for storage. In our tutorial, we 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 as well and click Ok.

xcp ng virtual machine storage

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

xcp ng installation source

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

xcp ng media verification

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

xcp ng root password

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).

xcp ng networking

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

xcp ng dns

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

xcp ng time zone

Then select the city the server will be stationed.

xcp ng time zone city

Next, choose to use NTP for how the server local time should be determined and continue.

xcp ng ntp

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

xcp ng ntp dhcp

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

xcp ng install

Wait for the installation to complete.

xcp ng install progress

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.

xcp ng supplimental packs

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

xcp ng complete

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

xcp ng configuration

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 on 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


xcp ng center

That should do it.


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

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.