In the last post of this series, I described how to prepare your VirtualBox environment. In today’s post, I’ll show you how to install the Ubuntu server with the help of the netboot.xyz iPXE .iso.

Click OK, and then Start/Power-On your DC1 virtual machine. The VM will start and immediately boot into the netboot iPXE installer. Click your mouse onto the VM screen to take control of the console, and arrow-down until Linux Installers is selected. Take note of the console release key, which is normally the right Ctrl key.

Netboot – select Linux installers

Netboot – select Linux installers

Netboot – select Ubuntu

Netboot – select Ubuntu

  1. Choose Ubuntu
  2. Choose 14.04 LTS
  3. Confirm architecture is correct (64-bit)
  4. Distro downloads
  5. Installer begins
  6. Provide Hostname DC1
  7. Provide the language, time zone, and default username and password
  8. For the partitioning method, select Guided - use entire disk

Ubuntu partition disks guided - use entire disk

Ubuntu partition disks guided – use entire disk

Accept the default partition layout, and then confirm the changes.

Write changes to disk? <Yes>

Ubuntu – write changes to disk

Ubuntu – write changes to disk

Ubuntu will install the base image.

Ubuntu – install base system

Ubuntu – install base system

Choose whether you want to install updates automatically (recommended) or manually.

In the software selection screen, use the up/down arrows to move between the components. Press the space bar to select them. Choose Basic Ubuntu server, OpenSSH server, and SAMBA file server. Press the tab key to continue, and then press enter.

Ubuntu – software selection

Ubuntu – software selection

Install the GRUB boot loader:

Ubuntu – install GRUB boot loader

Ubuntu – install GRUB boot loader

Select <Yes> when asked, “Is the system clock set to UTC?”

Select Continue to finish the installation.

The system will automatically restart and enter the iPXE loader again. We want to prevent this from occurring, so close the console and power off the machine. Next, go into the settings for the virtual machine. Then go to Storage and then Controller IDE, and select the netboot.xyz-dhcp.iso. Click on the icon at the bottom to Remove Selected Storage Attachment.

Remove storage attachment

Remove storage attachment

Confirm the removal, and click OK. Select the System settings, change your Processor(s) to two, and set the Execution Cap to 50%.

DC1 system settings processor(s) and execution cap

DC1 system settings processor(s) and execution cap

Select the Network settings, and change your Adapter 1, to Enable Network Adapter, Attached to Bridged Adapter. Supply the name of the local adapter connected to the internet (in my case, I’ll use my Intel Dual Band Wireless-AC 7265 adapter). This is the name of the Ethernet connection the virtual machine will use.

Click the Advanced drop-down, and ensure the Local Host Adapter Type is associated with your Local Host. In this example, I’ll use the Intel Pro/1000 MT, but my router will think it’s using MAC Address: 080027BFB5F3. The bridged mode will allow my local Windows 10 Professional host (which is running VirtualBox and the virtual machine) to communicate on the same network. It’ll also allow the virtual machine to connect to the internet. The virtual machine should receive its DHCP address from the router. Place a checkmark in the Cable Connected checkbox. Then click OK.

VirtualBox network adapter setup

VirtualBox network adapter setup

Start the new DC1 virtual machine again. At the login, enter your credentials.

At the login prompt, issue the command ifconfig, and take note of your IP address. This can be used later to hardcode or assign a static IP address for our domain controller. In this example, my virtual machine received the IP Address: 192.168.1.7, broadcast address: 192.168.1.255, subnet mask: 255.255.255.0.

ifconfig results

ifconfig results

Your Ubuntu server is now up and running. In the next post of this series, we’ll configure SAMBA and the domain controller.

avatar
0 Comments

Leave a reply

Please enclose code in pre tags

Your email address will not be published.

*

© 4sysops 2006 - 2023

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account