1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Running a Ubuntu Server VM in Virtualbox</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Linux,Virtualbox,Virtual Machine,VM,i12bretro,Tutorial,How To,Ubuntu Server,Ubuntu">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Running a Ubuntu Server VM in Virtualbox">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Running a Ubuntu Server VM in Virtualbox</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>Download Ubuntu Server <a href="https://ubuntu.com/download" target="_blank">Download</a></li>
- <li>Launch Virtualbox</li>
- <li>Create a New VM by selecting Machine > New
- <p>Name: Ubuntu Server<br />
- Machine Folder: C:\VMs<br />
- Type: Linux<br />
- Version: Ubuntu (64-bit)<br />
- Memory Size: 2048MB<br />
- Hard disk: Create a virtual hard disk now</p>
- </li>
- <li>Click Create</li>
- <li>On the Create Virtual Hard Disk dialog
- <p>Name the virtual disk image Ubuntu Server.vdi<br />
- File size: 30 GB<br />
- Hard disk file type: VDI<br />
- Storage on physical hard disk: Dynamically Allocated</p>
- </li>
- <li>Click Create</li>
- <li>Select the VM and Click Settings</li>
- <li>Select System > Processor</li>
- <li>Give the VM at least 2 processors</li>
- <li>Select Network</li>
- <li>Set the attached to dropdown to Bridged Adapter</li>
- <li>Select Storage</li>
- <li>Click on the CD-ROM drive</li>
- <li>Select the disc dropdown to the right > Choose a virtual optical disc file...</li>
- <li>Browse to and select the downloaded Ubuntu Server .iso file</li>
- <li>Click OK</li>
- <li>Make sure the Ubuntu Server VM is selected and click Start > Normal</li>
- <li>Select a language > Press Enter</li>
- <li>Select a keyboard layout > Arrow down to select Done > Press Enter</li>
- <li>Press Enter to accept the network configuration</li>
- <li>Leave the proxy address empty > Press Enter</li>
- <li>Leave the mirror address the default value > Press Enter</li>
- <li>Leave the storage configuration default > Arrow down to select Done > Press Enter</li>
- <li>Press Enter to accept the storage configuration</li>
- <li>Arrow down to select Continue > Press Enter</li>
- <li>Complete the profile form > Arrow down to select Done > Press Enter</li>
- <li>Press spacebar to select installing the SSH server > Arrow down to select Done > Press Enter</li>
- <li>Use spacebar to select any additional software installations > Arrow down to select Done > Press Enter</li>
- <li>Wait while Ubuntu copies files and installs</li>
- <li>Once the installation completes > Arrow down to select Reboot Now > Press Enter</li>
- <li>If the reboot gets stuck, manually restart the VM by select Machine > Reset</li>
- <li>Welcome to Ubuntu Server</li>
- </ol>
- <h2>Optional Steps</h2>
- <ol>
- <li>Log in with the credentials setup during the installation</li>
- <li>Run the following commands to install updates
- <div class="codeBlock">sudo apt update<br />
- sudo apt upgrade -y<br />
- sudo apt clean</div>
- </li>
- <li>Select Devices > Insert Guest Additions CD image...</li>
- <li>Run the following commands to install VirtualBox Guest Additions
- <div class="codeBlock">sudo mkdir /media/cdrom<br />
- sudo mount /dev/cdrom /media/cdrom<br />
- sudo apt dkms build-essential linux-headers-generic linux-headers-$(uname -r)<br />
- sudo /media/cdrom/VBoxLinuxAdditions.run<br />
- sudo reboot</div>
- </li>
- <li>The VM will reboot</li>
- <li>Log back into Ubuntu Server</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|