How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

June 10, 2018
How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

“How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer” covers the entire process of creating an Ubuntu Server 18.04 virtual machine using Citrix XenServer as our hypervisor and Citrix XenCenter as our client application. Citrix XenCenter allows us to connect remotely to our XenServer and perform all necessary operations. XenCenter is made specifically for Windows machines, so this tutorial will be performed on a Windows 10 machine. Citrix XenCenter can be downloaded for free here after creating an account. There is a Linux alternative to XenCenter called OpenXenManager. Their github page can be found here.

1. Begin by opening the Citrix XenCenter application on your Windows 10 machine. Connect to your XenServer if not connected. The interface should look similar to this:

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

2. The easiest way to access ISOs from XenServer is to add an ISO Library. First, create an SMB share on your network. Once the ISO Library SMB share is configured, return to XenCenter and click the New Storage button on the ribbon at the top of the application window. The New Storage Repository dialog box will open.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

3. In the dialog box under the ISO Library section, select Windows File Sharing (SMB/CIFS) then click the Next button.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

4. Name your ISO Library whatever you like. I will name mine “My_ISO_Library.” After naming your ISO library, click the Next button.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer
5. There are two things that must be done at this step. First we must enter path to our SMB share on our network. An example of what the path will look like is given under the Share Name input. My Share Name will be \\NAS\OperatingSystems.
How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

6. Check the box next to Use different user name and enter the credentials to your ISO Library SMB share and click the Finish button.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

7. Your new ISO library should now be visible in the pane on the left of the XenCenter application.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

8. Ensure that your Ubuntu Server 18.04 ISO is in your ISO Library SMB share. If it is not, download the ISO here. then copy it to the SMB share.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

9. We can now begin the Ubuntu Server 18.04 installation. To begin, click the New VM button on the ribbon at the top of the application window.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

10. We are presented with a long list of operating systems. We will scroll to the bottom of the list and choose the option for Ubuntu Xenial Xerus 16.04. This is our best option because at the time of this tutorial, an update that offers Ubuntu 18.04 as an option hasn’t been released. Click the Next button after selecting the Ubuntu 16.04 option.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

11. Name your VM whatever you like. I will call mine “Tutorial_VM.” You may also give your VM a description, though I will not. Click Next when complete.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

12. Here is where we select our Ubuntu Server 18.04 ISO from the ISO Library that we configured in the previous steps. Ensure that the Install from ISO library or DVD drive option is checked and click the arrow on the dropdown. You should see your ISO library in the dropdown, along with the ISOs that are located in the SMB share. Select your Ubuntu Server 18.04 ISO and click the Next button.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

13. The default on this step selects our XenServer as the destination location of our VM. This is fine so click the Next button to continue.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

14. Configure the amount of resources for your new VM. I will use 1 vCPU with 1 socket with 1 core per socket and I will give my VM 1024 MB of memory. Click the Next button when complete.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

15. We must now configure the virtual disk for our VM. I will use the defaults but you can edit yours how you see fit by clicking the Edit button on the right. Click the Next button when complete.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

16. You can configure your network connection in this step. Usually the default option will be perfect, but you may need to configure yours differently. I will accept the default. Click Next to continue.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

17. We are now presented with a summary of our selections. If it all looks good to you, ensure the box beside Start the new VM automatically is checked and click the Create Now button.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

18. Once the new virtual machine starts, click the Console tab beneath the ribbon to view the console. You will see Ubuntu Server 18.04 begin.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

19. Now we must select our language. Select yours and press Enter on your keyboard.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

20. Select your keyboard layout and variant, then press Enter on your keyboard.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

21. Since we want to install Ubuntu Server 18.04, the first option to Install Ubuntu is what we need. Go ahead and press Enter on your keyboard.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

22. Next, configure your network interface. Usually the default is eth0 and this is what we want. Press Enter on your keyboard to continue.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

23. We are now asked of we are using a proxy address. If you are, enter the address here. I am not so I will simply press Enter on the keyboard.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

24. Disk partitioning is up next. We will use the entire disk for this tutorial, so select the first option and press the Enter key on your keyboard.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

25. Now we select the disk to install to. It will choose the disk that we configured in step 15 by default and that is what we want. Press Enter on your keyboard.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

26. A summary of the filesystem structure is now shown. This is all fine so press Enter on your keyboard.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

27. Select Continue on this prompt to partition and format the virtual disk for installation.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

28. Next, Enter your name, the server or host name, a username, and a password and press Enter on your keyboard. After pressing Enter, you will see some output from the installation in the console. Installation will take a few moments.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

29. When installation completes, make sure Reboot Now is selected and press Enter on your keyboard to reboot and user your new VM for the first time.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

30. After a moment our new Ubuntu Server 18.04 virtual machine reboots and we can login with the credentials that we created in step 28.

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer

31. Congratulations, you have successfully installed Ubuntu Server 18.04 as a virtual machine in Citrix XenServer!

How to Create an Ubuntu Server 18.04 Virtual Machine on Citrix XenServer