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

Similar documents
Labtainer Student Guide

Setting up Ubuntu with VirtualBox

Parallel Programming

Steps to install Xubuntu on a Virtual Machine

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Sun VirtualBox Installation Tutorial

Install and Configure Ubuntu on a VirtualBox Virtual Machine

Comparative Bacterial Genomics

Installation of the DigitalSystemsVM virtual machine

How to Install Ubuntu on VirtualBox

VIRTUAL MACHINES. By Seth Lemanek

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

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

Ubuntu (Intrepid-Ibex) Installation Manual

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

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

Your Own Virtual Playground. CS 1585 :: Doug McGeehan

Preparation of a Cluster Node with Ubuntu

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

Written by: Mickey Nguyen

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

How to Install Oracle VM VirtualBox and Create a Virtual Machine

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

Installation of the DigitalSystemsVM virtual machine

Install and setup TrueCrypt

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

Lab E2: bypassing authentication and resetting passwords

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

Installation and Setup Guide

Download the current release* of VirtualBox for the OS on which you will install VirtualBox. In these notes, that's Windows 7.

How to install the software of ZNS8022

Installation and Setup Guide

Windows Download & Installation

Note: - the OS on which you will install VirtualBox is called the host OS. - the OS you will install on VirtualBox (later) is called the guest OS.

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

CTEC1863/2018F Bonus Lab Page 1 of 5

DUAL OS INSTALLATION

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

Installing MediaWiki using VirtualBox

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

Production Installation and Configuration. Openfiler NSA

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

Getting Started with Linux Development

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

This is Lab Worksheet 7 - not an Assignment

The Python Mini-Degree Development Environment Guide

This is Lab Worksheet/Installation 7

Resizing Virtual Appliances (Debian) in VirtualBox for Windows Shutdown your Virtual Box Machin before you start the following steps

KVM Guest Management With Virt-Manager On Ubuntu 8.10

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

Applied ICT Skills MS Windows

CIS 231 Windows 7 Install Lab #2

Due: February 26, 2014, 7.30 PM

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Installation Guide for Beginners

About the XenClient Enterprise Solution

VIRTUALBOX UBUNTU EBOOK

XD10004: How to Install VMware ESX Server 3.5 on VMware Workstation 6.5 as a VM

to arrive at the system information display. In MacOS X use the menus

Due: October 8, 2013: 7.30 PM

DesktopPlayer for Windows

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

IRONKEY D300S SECURE USB 3.0 FLASH DRIVE

Ubuntu installation alongside windows 8/8.1 and 10

Virtual Data Center (vdc) Manual

Oracle SOA Suite VirtualBox Appliance. Introduction and Readme

Getting Started with VMware Fusion VMware Fusion for Mac OS X Version 1.0

WA2592 Applied Data Science and Big Data Analytics. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Making a Bootable Linux USB Flash Drive with the Universal USB Installer.

Gnostice StarDocs On-Premises API Virtual Appliance

Virtualbox Mount Shared Folder Ubuntu Permission Denied

Arabic Ubuntu Support

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

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

Windows Password Reset 6.0 User Guide

LadibugTM Visual Presenter Image Software User Manual

WA2393 Data Science for Solution Architects. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Getting Started With Parallels Desktop 14

CIS 231 Windows 2012 R2 Server Install Lab #1

CHAPTER III PLANNING

VMware Horizon FLEX Client User Guide

Getting Started. Document Overview. What is Power Save Mac? Installing Power Save Mac. Using the Power Save Mac Preference Pane

Parallels Desktop for Mac

Configure Windows Server 2003 Release 2 Server Network File Share (NFS) as an authenticated storage repository for XenServer

CIS 231 Windows 10 Install Lab # 3

RocIT Defender User s Guide ViSoS TM Virtual System on a Stick

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

TinyNet. Creating Virtual Machines

Installing ModelSim. Fares Elsabbagh

Virtual Machines - Ubuntu Host with Windows Guest

WA2503 Hadoop Programming on the. Hortonworks Data Platform. Lab Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Hands-On Lab. Windows Azure Virtual Machine Roles. Lab version: Last updated: 12/14/2010. Page 1

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

L AB: W I N D O W S 7 V I R T U A L I Z A T I O N

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

DesktopPlayer for Windows

Creating A Virtual Machine for Microcosm

Title: Demonstrate the linux installation and administration settings.

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

Chapter 02: Working with Oracle VM VirtualBox 5

Transcription:

Operating Systems Lab 1 Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox Oracle VirtualBox is a cross-platform virtualization application. It installs on your existing Intel or AMD-based computers, whether they are running Windows, Mac, Linux or Solaris operating systems. VirtualBox can create and run a "guest" operating system (virtual machine) in a window of the host operating system. The virtual machine provides a self-contained environment in which to experiment with new software without risking damaging changes to the host operating system. We will give an instruction with step-by-step screenshots to show how to install VirtualBox with an example of installing Ubuntu OS as a guest machine. We also explain how to share files between the host and guest operating systems. 1. Downloads Note the instruction here is based on the latest version of the VirtualBox. If you have already installed an earlier version of VirtualBox, your experience may be different. It is recommended to use the latest version of VirtualBox to avoid issues. The VirtualBox forum is a good place to find a solution if you see any problems. Go to VirtualBox website here to download the binary for your current operating system. Since our host machine is running on Windows, I'll choose 'x86/amd64' from Windows hosts. When download is finished, run the executable file. Continue with the installation of VirtualBox with the defaults. This will open VirtualBox at the end of the installation. 1

2. Create Virtual Machine Click 'New' button to open a dialog. Type a name for the new virtual machine. Since I am planning to install Ubuntu 14.04, I'll enter 'ubuntu1404'. Note that VirtualBox automatically changes 'Type' to Linux and 'Version' to 'Ubuntu (64 bit)'. These two options are exactly what we need. 2

The memory size depends on your host machine memory size. In my case, I have 12GB physical RAM. I like to allocate as much as possible for Ubuntu but leave some for my Windows host machine. I pick 8192 MB for my Ubuntu. Note that VirtualBox will create a swap partition with the same amount of space as base memory you have entered here. So later when you are selecting the size of the virtual hard drive, make sure it is large enough since the hard drive will be splitted into root (/) and swap partitions. The root partition contains by default all your system files, program settings and documents. 3

Accept the default 'Create a virtual hard drive now' and click 'Create' button. 4

Change the storage type from the default 'Dynamically allocated' to 'Fixed size' to increase performance. For the virtual hard drive space, the default value is 8GB which is too little for RNA-Seq analysis. I'll pick 100GB since I have plenty of space in my hard disk. You want to choose a good size for your 5

RNA-Seq analysis. If you realize the drive space is not large enough, you'll need to go over these steps again to create another virtual machine. Click 'Create' button and VirtualBox will generate Ubuntu virtual machine. Now the virtual machine is created. We are ready to install Ubuntu in this virtual machine. Select your new virtual machine and click 'Settings' button. Click on 'Storage' category and then 'Empty' under Controller:IDE. Click "CD/DVD" icon on right hand side and select the ubuntu ISO file to mount. Note that if you have not downloaded 64-bit Ubuntu ISO file, you can check out this page for more information. When downloading Ubuntu ISO file, make sure to selecte 64-bit version. Also make sure the VT-x/Virtualization Technology has been enabled in your computer's BIOS/Basic Input Output System. 6

7

Since Tophat program can take an advantage of multiple processors/threads, it is a good idea to specify a large number of processors in virtual machine (default value is 1). You can change this number by clicking on 'System' category. In this case, I change the number of CPUs to 4 since 4 is the largest value shown on the green bar in my case. Now you can click 'OK' button to continue. 8

VirtualBox may pop up a message about 'Auto capture keyboard' option. Read the message there and check 'Do not show this message again' option before clicking OK. 9

3. Install Ubuntu Back to Oracle VM VirtualBox Manager, click on the new Ubuntu virtual machine and hit 'Start' button. Now you shall see a 'Welcome' screen. Click 'Install Ubuntu' button. Note that the installation process may differ a little bit from version to version. The screenshots here are based on Ubuntu 14.04.1. Click 'Continue' button. 10

Make sure 'Erase disk and install Ubuntu' option is selected and click 'Install Now' button. 11

Ubuntu will ask you a few questions. If the default is good, click 'Continue' button. 12

13

In 'Who are you?' dialog, enter your preferred name, username and password. Note that this user will have root/sudo privilege. Click 'Continue' button. 14

The installation will continue until it is finished. 15

After installation is complete, click 'Restart Now' button. When you see a screen with a black background saying 'Please remove installation media and close the tray (if any) then press ENTER:', just follow it. 16

Enter the password you have chosen and press 'Enter'. 17

The Ubuntu Desktop OS is ready. You may find the desktop screen is too small. Don't worry. You can solve this easily with "VirtualBox Guest Additions". 18

4. More About VirtualBox Guest Additions After the Ubuntu guest machine is installed, you will find the Ubuntu OS screen size is not extendable and you are not able to share folders between the host machine and Ubuntu. Guest Additions software provide additional capability to a guest virtual machine, including mouse pointer integration, better video support, share folders, share clipboard, et al. Before we proceed to install Guest Additions, make sure the current user has sudo/root privilege. If the current user does not have sudo/root privilege or it is not sure, run the following terminal command from an account (such as the user created when Ubuntu was first created; see the screenshot of 'Who are you?' above) with root privileges to enable the root privilege for the current user sudo adduser USERNAME sudo where USERNAME should be replaced by the current user's name. To install Guest Additions, click Devices > Insert Guest Additions CD images 19

Click 'Run' button (next to 'Cancel' button) to start the installation. Note that the version of VBOXADDITIONS should be matched with the one of VirtualBox you have installed. 20

Installing Guest Additions requires root privilege. Enter user's password (assume the current user has sudo privilege). 21

When the installation is finished, press Return key to close the terminal window. 22

Now prepare to restart the system to enable the change. Click 'Shutdown' on the menu and then the 'Restart' button. 23

24

After rebooting Ubuntu, you will see the desktop resolution is much better. 25

Share Folders Before you can enable shared folders on the host machine, make sure you have installed VirtualBox Guest Additions software on the guest machine. When Ubuntu guest machine is on, click on Devices > Shared folders settings 26

Select Machine Folders and hit the add button (plus sign). Browse to the folder you wish to access from the guest machine. Check Auto-mount and Make Permanent options and click OK button. 27

Click OK button once more. Now type 'terminal' in Dash to open a Terminal. 28

Type the following line in the Terminal to add a user to 'vboxsf' group. This step is necessary in order to use the VB's 'Shared Folder' feature. sudo adduser brb vboxsf Replace 'brb' with your account name in Ubuntu. When you are done, restart the Ubuntu guest machine and go to /media/ directory. From Nautilus (file manager in Ubuntu), click Computer > File System > Media folder and inside it you will see a folder beginning with sf_ (the folder name is sf_downloads in our example). Now you can transfer files between the Ubuntu guest machine and the Windows host machine in Nautilus. Although Shared Folder system in VirtualBox is a nice feature, using VirtualBox shared folder directly for fastq data, annotation or output directory can significantly reduce the performance compared to a native (Ubuntu) system or VirtualBox native system. 29