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:
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.
3. In the dialog box under the ISO Library section, select Windows File Sharing (SMB/CIFS) then click the Next button.
4. Name your ISO Library whatever you like. I will name mine “My_ISO_Library.” After naming your ISO library, click the Next button.
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.
7. Your new ISO library should now be visible in the pane on the left of the XenCenter application.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
19. Now we must select our language. Select yours and press Enter on your keyboard.
20. Select your keyboard layout and variant, then press Enter on your keyboard.
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.
22. Next, configure your network interface. Usually the default is eth0 and this is what we want. Press Enter on your keyboard to continue.
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.
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.
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.
26. A summary of the filesystem structure is now shown. This is all fine so press Enter on your keyboard.
27. Select Continue on this prompt to partition and format the virtual disk for installation.
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.
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.
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.
31. Congratulations, you have successfully installed Ubuntu Server 18.04 as a virtual machine in Citrix XenServer!