
To enable us to easily access the adminbox from the host OS for system administration, we can easily setup a SSH key-pair as follows:įrom the host OS, create the ssh key-pair as follows: ssh-keygen -t rsa -b 4096 Change the hosts file on your local machine as follows: sudo vi /etc/hostsĪdd the ip address for your enp0s8 adapter which you can get from the ip addr show command: # adminbox ip Updating the hosts files on your local machine allows for communication over hostname rather than IP address. Once you have booted up and logged into Ubuntu for the first time, update it as follows: Note: You may want to shutdown the server upon first boot due to unmount /cdrom errors.
Do not select any other Feature Server Snaps. Select to use the entire disk and confirm to contine the install process. The ethernet adapter enp0s3, we’ll want to set a static IP for. Choose whether to update to the new installer or not (I do). Power on adminbox and when prompted, browse to the Ubuntu iso you just downloaded and click Start. Once you have created adminbox, select it and click Settings > Network > Adapter 1ĭownload the latest version of Ubuntu server from here, and then complete the following: Storage on Physical hard disk: Dynamically allocated. Select the machine folder or leave as default. I named mine KubeNatNetwork as I plan to use it for a Kubernetes cluster.Ĭreate a new Virtual Machine with the following: And then click the add new nat network button. Sudo add-apt-repository "deb $(lsb_release -cs ) contrib" sudo apt update & sudo apt install virtualbox-6.1 -yįirst I had to create a Nat Network by opening VirtualBox, selecting Tools > Preferences > Network. To install VirtualBox on an Ubuntu host, open the terminal and enter the following: Jump box from host with SSH access to all on the Nat network The whole solution will eventually consist of the following: The adminbox server will have a bridged adapter to the host and will be used to SSH onto the other VMs via the VirtualBox NAT network. Installing & configuring the adminbox server. The lab environment is designed to be used for any of the following: This is a follow on from my old Centos 8 post, but this time I will be using Ubuntu LTS servers running on a Linux host with VirtualBox.