User Tools

Site Tools


linux:virtualbox-set-up-fedora-server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:virtualbox-set-up-fedora-server [2019/01/21 10:57]
seanburns created
linux:virtualbox-set-up-fedora-server [2019/02/11 15:35] (current)
seanburns
Line 1: Line 1:
 <​markdown>​ <​markdown>​
-# VirtualBox Setup +# VirtualBox SetupFedora Server 28
-## Fedora Server 28+
 ## Date: Wed Aug  4 2018 ## Date: Wed Aug  4 2018
  
Line 7: Line 6:
 you're installing and after you've installed Fedora. you're installing and after you've installed Fedora.
  
-## Within Fedora+### Within Fedora
  
 In the Software Selection page, choose both the following. This will install ​ In the Software Selection page, choose both the following. This will install ​
Line 17: Line 16:
 Mount points -- same as book, but choose ext4 filesystems (except for swap) Mount points -- same as book, but choose ext4 filesystems (except for swap)
  
-## Post install+### Post install
  
 After the OS has installed, do the following from the command line: After the OS has installed, do the following from the command line:
Line 42: Line 41:
 sudo systemctl status sshd sudo systemctl status sshd
 ``` ```
- +### Set up NAT
-## Set up NAT+
  
 We want to be able to SSH to our machines without having to use the VirtualBox We want to be able to SSH to our machines without having to use the VirtualBox
Line 64: Line 62:
 ``` ```
 </​markdown>​ </​markdown>​
 +
 +====== Virtual Machine Headless Mode Setup ====== ​
 + 
 +**date: 2018-07-19**
 +
 +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:
 +
 +  - Open VirtualBox
 +  - Click on identified server image
 +  - Click on Settings and then on Network
 +  - Make sure "​Attached to: NAT" is selected, then click on Advanced
 +  - Click on Port Forwarding, and configure the following settings:
 +
 +Settings:
 +
 +  * Name: SSH
 +  * Protocol: TCP
 +  * Host IP: 127.0.1.1 # IP for the FQDN of host machine
 +  * Host Port: 2222
 +  * Guest IP: 10.0.2.15 # on my system
 +  * Guest Port: 22
 +
 +List, load, and connect to the host OS from my Linux box.
 +
 +<code bash>
 +# 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 user@127.0.1.1 -p 2222
 +</​code>​
linux/virtualbox-set-up-fedora-server.txt · Last modified: 2019/02/11 15:35 by seanburns