Setting up Ubuntu with VirtualBox

Similar documents
Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

Install and Configure Ubuntu on a VirtualBox Virtual Machine

CHAPTER III PLANNING

Labtainer Student Guide

Installing MediaWiki using VirtualBox

Parallel Programming

Installing Virtualbox Guest Additions Vboxadditions on CentOS 7, Fedora 19 / 20 and RHEL 6.5 / 5.10 on Windows host

The Python Mini-Degree Development Environment Guide

Installation and Setup Guide

Setting Up U P D AT E D 1 / 3 / 1 6

Comparative Bacterial Genomics

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

Sun VirtualBox Installation Tutorial

Tutorial for virtual machine creation and installation of Linux C4Sys iso file in Windows.

Your Own Virtual Playground. CS 1585 :: Doug McGeehan

VIRTUAL MACHINES. By Seth Lemanek

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

Installation of the DigitalSystemsVM virtual machine

Preparation of a Cluster Node with Ubuntu

Written by: Mickey Nguyen

DUAL OS INSTALLATION

Steps to install Xubuntu on a Virtual Machine

Quick Deployment Step-by-step instructions to deploy Oracle Big Data Lite Virtual Machine

How to Install Oracle VM VirtualBox and Create a Virtual Machine

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

Installation and Setup Guide

Installing VirtualBox and Ubuntu

Due: February 26, 2014, 7.30 PM

How to Install Ubuntu on VirtualBox

Installation of OEL5.4 in windows machine (64 bit)

CTEC1863/2018F Bonus Lab Page 1 of 5

bitcurator-access-webtools Quick Start Guide Last updated: May 8th, 2018 Release(s): and later

Your desktop or laptop computer consists of several hardware components:

VirtualBox. Turning one computer into many. 0. Contents. 1. What is Virtualization? 2. Uses for Virtualization. Jonathan Marsden.

CIS 76 Ethical Hacking Building an open source Pentest Sandbox, carrying out a Remote Code Execution exploit, and Remediating the RCE vulnerability.

Android Studio Setup Procedure

Ubuntu Manually Mount Cdrom Drive Command Line Vmware

Lab E2: bypassing authentication and resetting passwords

Due: October 8, 2013: 7.30 PM

Getting Started with Linux Development

Click on the VM IMAGES drop-down menu and select VirtualBox Images

Install the Marionnet network simulator on Kali Linux Light vbox-i686

Installation of the DigitalSystemsVM virtual machine

QUICK START GUIDE Seawolf Bootable and Seawolf VA (Virtual Appliance)

Virtualbox Mount Shared Folder Ubuntu Permission Denied

Get VirtualBox. VirtualBox/Ubuntu Setup. Go to and select Downloads.

Installing ModelSim. Fares Elsabbagh

1. Install a Virtual Machine Download Ubuntu Create a New Virtual Machine Seamless Operation between Windows an Linux...

Virtual Pc Manual Windows 7 64 Bit Guest Os

Quick Deployment Step- by- step instructions to deploy Oracle Big Data Lite Virtual Machine

Ubuntu Install Partition Server On. Virtualbox 4.2 >>>CLICK HERE<<<

Installing Ubuntu 8.04 for use with ESP-r 8 May 2009 Jon W. Hand, ESRU, Glasgow, Scotland

Parallel Programming Pre-Assignment. Setting up the Software Environment

Send the Ctrl-Alt-Delete key sequence to the Guest OS one of two ways: Key sequence: Ctlr-Alt-Ins Menu Sequence: VM / Guest / Send Ctrl-Alt-Delete

Guideline for the installation of the free C-MOR Video Surveillance Virtual Machine on VirtualBox

Lab00: Software Environment Setup

Addonics T E C H N O L O G I E S. mini NAS. Model: NAS25HDU Key Features

Linux Development Getting Started

Manual Of Virtualbox Additions Linux Mint 12

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

TROUBLESHOOTING. Sylvia MATE /dev/sda36 Linux Mint Artful GNOME /dev/sda27 Ubuntu 17.10

USB Type-C Dual Port Gigabit. Ethernet Cable

TinyNet. Creating Virtual Machines

Manually Mount Usb Flash Drive Ubuntu Server

Oracle Communication Policy Controller. Lab Environment Preparation

1.1 Introduction. 12c (12.1.3)

USB Type-C Gigabit Ethernet. Adapter

How to Recover Data with Linux

Oracle Fusion Middleware

Creating a Windows Server 2012 R2 virtual instance Maher Saad, Chestnut Residence, University of Toronto

ViCAR Linux VM. For Microsoft Windows 7. Using Oracle VirtualBox and OpenSuSE Leap 42.2

USB 3.0 Dual Port Gigabit. Ethernet Cable

Quick Installation Guide TU-S9

How to securely isolate Damn Vulnerable Linux with VirtualBox

TIBCO FTL Message Switch Installation

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

Uninstalling And Manually Install Vmware Tools Ubuntu Guest

IRONKEY D300S SECURE USB 3.0 FLASH DRIVE

This is Lab Worksheet/Installation 7

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

Parallel Programming Pre-Assignment. Setting up the Software Environment

Virtual Data Center (vdc) Manual

Mac Os X Snow Leopard Virtualbox Image And Linux Host

RNG-406Uv2. USB 3.0 to Gigabit Ethernet Cable

Installing Oracle VirtualBox on Windows 10 and Creating a Starter Boot Disk for a Custom Operating System

Upgrading Software and Firmware

Guideline for the installation of C-MOR Video Surveillance Virtual Machine on VMware ESX Server

Manual Of Virtualbox Additions Ubuntu Server 12.04

Installing Packet Tracer 7.1 on Mac

Oracle SOA Suite VirtualBox Appliance. Introduction and Readme

Installation of Lubuntu Linux, Koha, DSpace and other software using LibLiveCD

Texas Tech University Spring 2017 Digital Forensics Enviornment Setup

Perl Install Module Windows Xp Without Cd >>>CLICK HERE<<<

Step-by-step guide for the libradtran virtual machine. A) Installation

Oracle SOA Suite/BPM Suite VirtualBox Appliance. Introduction and Readme

KVM Guest Management With Virt-Manager On Ubuntu 8.10

Installing the Product Software

Virtualbox Install Guest Additions Windows 7 Not Working

USING NGC WITH AZURE. DU _v01 September Setup Guide

Transcription:

Setting up Ubuntu with VirtualBox Following is an install guide for setting up VirtualBox with Ubuntu 16.04.3 on your system. If you have problems, more detailed instruction and troubleshooting tips can be found on the Ubuntu site. 1. Download the version of VirtualBox (https://www.virtualbox.org/wiki/downloads) for your machine (under VirtualBox platform packages, choose the host package that corresponds to your operating system (i.e. if you re installing on Mac, choose the package VirtualBox 5.2.0 for OS X hosts, if you re installing on Windows, choose the package VirutalBox 5.2.0 for Windows Hosts ). 2. Download the 64 bit version of Ubuntu Linux 16.04.3 LTS (http://releases.ubuntu.com/releases/). 3. If your system has less than 2GB RAM select the 32 bit version 4. Run the VirtualBox-5.2.0-118431-Win.exe file and follow the Installer wizard 1

5. After the installation, open the VirtualBox application 6. Select New from the application ribbon, choose a name for your system, and select Type: Linux and Version Ubuntu (64bit). Remember to select Version: Ubuntu (64-bit) 7. Select the amount of memory for your virtual machine (If you have 4GB of RAM or more, generally set this to 2048MB or half your system RAM, whichever is greater). 2

8. Select the Create a virtual hard drive now option: Note: your grayed area may say Empty instead of Ubuntu as shown in the figure. 3

o Select the VDI (VirtualBox Disk Image) option for Hard disk File Type o Select Dynamically allocated for Storage on physical hard disk 4

Select the starting drive size (it is recommended to allot at least 128GB). Note: you may be unable to get exactly 128GB. 9. With your new instance selected, select start from the application ribbon. 5

10. When prompted, select the previously downloaded Ubuntu iso file as the virtual optical disk file by clicking on the folder icon and click on Start 11. Click on Install Ubuntu 6

Click on Continue and select Erase disk and install Ubuntu and click on Install Now. Messages may appear indicating Auto capture of keyboard and mouse pointer. The messages can be removed 12. Follow the prompts to install Ubuntu. Select Location and Language. Enter your username and Password for the Ubuntu system. Select either Log in automatically if you want to log in without password when the Ubuntu machine is started from VirtualBox 7

Ubuntu Installation will begin after you click on Continue. This will take a while, be patient. 8

13. After the installation, system will prompt you to restart the system. 14. Adding Guest Additions (extensions to help Ubuntu run better when virtualized). 1. After restarting your system, open a terminal and run "sudo apt-get install buildessential module-assistant linux-headers-generic". 2. From the menu, select Devices > Insert Guest Additions CD Image. 3. Select "Run" when prompted and enter your password. You should see the following screen if it is running successfully 9

Note: If you get an error Unable to mount CD.., then follow these instructions 1. Install kernel headers and build tools Virtualbox guest additions are compiled for the target system, so it needs the necessary kernel headers and related programs. Install the following 2 packages. $ sudo apt-get install build-essential module-assistant Now run $ sudo m-a prepare Mount manually If it does not mount by itself, then you can manually mount it. Find out the device using blkid and then use the mount command to mount it somewhere in your home directory # find out the device $ sudo blkid /dev/sr0: LABEL="VBOXADDITIONS_4.3.10_93012" TYPE="iso9660" 10

# Or use the lsblk command $ sudo lsblk -o NAME,TYPE,SIZE,LABEL,MOUNTPOINT,MODEL NAME TYPE SIZE LABEL MOUNTPOINT MODEL sda disk 8G VBOX HARDDISK sda1 part 6G / sda2 part 1K sda5 part 2G [SWAP] sr0 rom 61.7M VBOXADDITIONS_4.3.10_93012 CD-ROM Note down the device name which is "/dev/sr0" here. Next we have to mount this device (cdrom) to access the contents. # create directory to mount $ mkdir cdrom # mount the cd $ sudo mount /dev/sr0 ~/cdrom/ [sudo] password for silver: mount: block device /dev/sr0 is write-protected, mounting read-only # get inside the mounted directory $ cd cdrom/ ~/cdrom$ ls 32Bit cert VBoxSolarisAdditions.pkg 64Bit OS2 VBoxWindowsAdditions-amd64.exe AUTORUN.INF runasroot.sh VBoxWindowsAdditions.exe autorun.sh VBoxLinuxAdditions.run VBoxWindowsAdditions-x86.exe Start compiling Navigate to the directory and run the script named VBoxLinuxAdditions.run /media/silver/vboxadditions_4.3.10_93012$ ls 32Bit cert VBoxSolarisAdditions.pkg 64Bit OS2 VBoxWindowsAdditions-amd64.exe 11

AUTORUN.INF runasroot.sh VBoxWindowsAdditions.exe autorun.sh VBoxLinuxAdditions.run VBoxWindowsAdditions-x86.exe /media/silver/vboxadditions_4.3.10_93012$ sudo./vboxlinuxadditions.run [sudo] password for silver: Verifying archive integrity... All good. Uncompressing VirtualBox 4.3.10 Guest Additions for Linux... VirtualBox Guest Additions installer Copying additional installer modules... Installing additional modules... Removing existing VirtualBox DKMS kernel modules...done. Removing existing VirtualBox non-dkms kernel modules...done. Building the VirtualBox Guest Additions kernel modules...done. Doing non-kernel setup of the Guest Additions...done. Starting the VirtualBox Guest Additions...done. Installing the Window System drivers Installing X.Org Server 1.15 modules...done. Setting up the Window System to use the Guest Additions...done. You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions. Installing graphics libraries and desktop services components...done. Note the line Building the VirtualBox Guest Additions kernel modules...done. If it shows done, then virtualbox guest additions are compiled successfully. Now restart the guest OS. 12

3. Verify that guest additions are working After rebooting the OS, the screen resolution of the guest OS should adjust with the window size of virtualbox. Other things like mouse scroller, copy paste from guest to host should also work. You can verify that the guest additions are loaded with the following command # check loaded modules $ lsmod grep -io vboxguest vboxguest # check module $ modinfo vboxguest filename: /lib/modules/3.13.0-24-generic/updates/dkms/vboxguest.ko version: 4.3.10 license: description: author: GPL Oracle VM VirtualBox Guest Additions for Linux Module Oracle Corporation... $ lsmod grep -io vboxguest xargs modinfo grep -iw version version: 4.3.10 15. After installing guest additions, you can share folders across the guest and host OS, allowing each of them to access each other's files. The folder exists on the host OS and is shared to the guest OS. The guest may or may not be given the permission to write to the shared folder. Click Devices > Shared folder settings on the VirtualBox window. Click the plus icon on the right side and select the directory from the host OS that you want to share with the guest OS. If you choose "Make permanent" it becomes a Machine folder, else it is a Transient folder. You also have the option to make it read only, so that the guest OS cannot make modifications to the folder. 13

16. Once you have specified the shared directory, it is time to mount it inside the guest OS. The list of shared folders would show you the name and path of the shared directory. Note down the name, and mount it using the following command 17. # create a directory in your home directory 18. $ mkdir shared 19. 20. # mount using the mount command. SHARENAME is the name of the shared directory 21. $ sudo mount -t vboxsf SHARENAME ~/shared 22. 23. # or 24. $ sudo mount.vboxsf SHARENAME ~/shared Tips: 1. To enable copy-paste between guest and host: 14

2. Apache Solr runs on Java 8 or greater. You may use this document for instructions on how to install java 8 in Ubuntu: (Please make sure to download Java 8 jdk before proceeding to the tutorial) https://www.wikihow.com/install-oracle-java-on-ubuntu-linux 15