Step-by-Step Guide to Install XCP-ng on Your Server
XCP-ng is free, open-source server software that lets you run multiple virtual machines on a single physical computer. Based on the proven XenServer platform, it turns your spare hardware into a powerful virtual machine manager without costing anything in licensing fees.
You can set up XCP-ng on any compatible server using a standard USB installation drive. Once installed, you manage your virtual computers through a web tool called Xen Orchestra, which lets you handle backups, storage drives, and live server moves all in one place.
Download the XCP-ng ISO, create a bootable USB or CD, boot your server from it, and follow the on-screen prompts in the installation wizard. Accept the license, configure storage and networking, set a root password, and confirm the installation.
Install XCP-ng
Start installing XCP-ng server by downloading the latest installation file, known as an ISO, from the official XCP-ng website. Then, turn this file into a bootable USB drive or CD/DVD. This allows your computer to start up from the disc or stick, beginning the XCP-ng setup process.
After downloading the ISO image, create a bootable USB disk or CD/DVD. On Linux, you can use commands like:
dd if=xcp-ng-8.2.0.iso of=/dev/sdX bs=8M oflag=direct
For Windows, Rufus is a great option. Once your bootable disk is created, insert it into your 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.

Click Ok to use the setup tool to install XCP-ng on your system. To load additional drivers, press F9.

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

Select the virtual machine storage for your XCP-ng server. Since this tutorial installed only one disk, XCP-ng defaulted to using that single disk for virtual machine storage.
If you prefer EXT over LVM for your local storage, select that option and click Ok.

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

You can choose to verify the installation media or skip this step. Verifying the installation media ensures the content on the disk is not corrupted before proceeding with the XCP-ng installation.

Creating the root account password is the next step. This root account serves as your main administrator access for managing the server.

Server networking requires configuration. This guide uses Dynamic Host Configuration Protocol (DHCP) to assign the server an IP address automatically, rather than requiring a static IP.


Next, select your server's local time zone and then the city it's located in.

Next, pick the city where the server lives. Network Time Protocol (NTP) will handle syncing the clock.

We'll use NTP to set the server's local time and then continue.

Since we're using automatic IP settings, select the option for a DHCP server to assign NTP servers automatically. For production, you would enter these statically.

Click the Install XCP-ng button to start the XCP-ng installation process. This action will erase all data on the disk chosen for installation, so ensure you have backed up any important information from that disk before proceeding.

Wait for the installation to complete.

You can install these packages later, after the software is up and running.

After the XCP-ng installation finishes, remove the installation disk from the server. Press Enter to reboot the computer and start XCP-ng.

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

That should do it.
Install XCP-ng Center
Once your XCP-ng server is running, install XCP-ng Center on your Windows computer to manage it. XCP-ng Center acts as a control panel, making it simple to handle your server and any virtual machines you create. Download the latest version from GitHub and then run the installer on your PC.
XCP-ng Center, the management software for XCP-ng servers, receives updates from community members who contribute their free time to its development. The XCP-ng project hosts these contributions.
Download the latest XCP-ng release (version 8.3) from the provided link. Install XCP-ng on your Windows machine to begin setting up your virtualization environment.
Releases · xcp-ng/xenadmin · GitHub
Enjoy!

That should do it.
Conclusion:
- XCP-ng is a powerful open-source virtualization platform based on XenServer, enabling efficient management of virtual machines.
- The installation process on bare metal servers is straightforward, requiring only a few steps to get started.
- Users have the flexibility to choose between different storage options and network configurations during installation.
- After installation, managing your virtual environment is simplified with the use of graphical clients like Xen Orchestra and XCP-ng Center.
- XCP-ng offers a cost-effective solution for building and managing cloud infrastructure without sacrificing features or performance.
- Community support and ongoing development ensure that XCP-ng remains a reliable choice for virtualization needs.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!