After the initial settings have been made in VirtualBox, do the following as you're installing and after you've installed Fedora.
In the Software Selection page, choose both the following. This will install some packages we'd like to use:
Mount points -- same as book, but choose ext4 filesystems (except for swap)
After the OS has installed, do the following from the command line:
In VirtualBox, under Settings, System, Boot Order:
Restart the machine/OS, then:
SSH should be installed by default, but if not, install, enable, and start it. Then check to see its status:
sudo dnf -y install openssh sudo systemctl enable sshd sudo systemctl start sshd sudo systemctl status sshd
We want to be able to SSH to our machines without having to use the VirtualBox GUI. Since we're using wireless, we can't easily set up bridged networking in VirtualBox, and so we have to use NAT. To do that:
Go to Settings, Network, Advanced, Port Forwarding, and enter the following in the table:
|Name||Protocol||Host IP||Host Port||Guest IP||Guest Port|
The Host IP should be the IP address for your physical machine. Now you should be able to SSH into your virtual machine, if it's running (of course). In Mac Terminal, parameters are (configure appropriately for PuTTY):
$ ssh -p 2222 firstname.lastname@example.org
To do: Launch VirtualBox server in headless mode, and then configure NAT to port forward SSH to localhost.
After checking the IP address of the installed server (*ip addr*), the set up involves:
List, load, and connect to the host OS from my Linux box.
# Get UUID on install virtual servers VBoxManage list vms # Start identified server in headless mode VBoxManage startvm "Ubuntu server" --type headless # SSH into server ssh email@example.com -p 2222