TinyNet. Creating Virtual Machines

Similar documents
Lab E2: bypassing authentication and resetting passwords

DUAL OS INSTALLATION

Partitioning and Formatting Guide

Sun VirtualBox Installation Tutorial

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

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

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

Lab - Manage Virtual Memory in Windows 7 and Vista

IT Essentials v6.0 Windows 10 Software Labs

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

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

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

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

Installing MediaWiki using VirtualBox

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

Installing caos with Cinch on Floppy Disk

Disk Imaging with Knoppix

Your Own Virtual Playground. CS 1585 :: Doug McGeehan

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

AMD RAID Installation Guide

Creating A Virtual Machine for Microcosm

How To Make A Pen-Drive Bootable?

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

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

This is Lab Worksheet 7 - not an Assignment

This is Lab Worksheet/Installation 7

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

Building a virtual network Maher Saad, Chestnut Residence, University of Toronto

Due: February 26, 2014, 7.30 PM

Wavestore VMS v6 Installation Instructions

How to Back-Up a fit-pc2 Using Only a USB Stick (and some creative partitioning)

Setting Up a Linux Operating System

v5: How to restore a backup image

Lab - Install Windows 7 or Vista

AMD RAID Installation Guide

Reset the Admin Password with the ExtraHop Rescue CD

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

AMD RAID Installation Guide

How to Dual-Boot OS X and Ubuntu

SOLD II (v3.5 or greater) Installation & Setup Instructions for Linux Version CD. Table of Contents. Installation Instructions 2-7

JCCC Virtual Labs. Click the link for more information on installing on that device type. Windows PC/laptop Apple imac or MacBook ipad Android Linux

Chapter 02 Linux Installation and Usage

Installing FreePBX Official Distro

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Dark Web Investigation Setup Guide.

Installation of the DigitalSystemsVM virtual machine

2. INSTALLATION OF SUSE

AMD RAID Installation Guide

AMD RAID Installation Guide

SANS Institute - Operations Essentials. Operating System Installation Guidelines. Windows XP Professional Installation. Creating Boot Disks

Lab Working with Linux Command Line

FreeBSD Installation ISOC/AfNOG

Installation of the DigitalSystemsVM virtual machine

MBB100 / DSM800 Update Instructions

OneRoof CyberCafePro Client Installation, Setup and User Manual

XenClient Upgrade Guide

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

Start Up and Shutdown Procedures (Unix)

Tutorial - How to upgrade firmware on Phison S9 controller MyDigitalSSD using a Windows PE environment

CTEC1863/2018F Bonus Lab Page 1 of 5

SANOG VI IP Services Workshop: FreeBSD Install

Lab 03. Windows Operating Systems (Cont.)

Tutorial How to upgrade firmware on Phison S9 controller MyDigitalSSD using a Windows PE environment

Key File Generation. November 14, NATIONAL STUDENT CLEARINGHOUSE 2300 Dulles Station Blvd., Suite 220, Herndon, VA 20171

Reborn software ADV 9.01 installation guide custom installation

Changing user login password on templates

For my installation, I created a VMware virtual machine with 128 MB of ram and a.1 GB hard drive (102 MB).

Partitioning and Formatting Reference Guide

Chapter 6. Linux File System

Tutorial How to upgrade firmware on Phison S8 controller MyDigitalSSD using a Windows PE environment

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

TSM800 / TSM1330 Update Instructions

Installation of Fedora 12 with CD

Using UCS-Server Configuration Utility

Partitioning a disk prior to Linux Installation

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Installing the Operating System or Hypervisor

SWITS User Manual. Accessing SWITS. This document focuses on the elements required to Access SWITS. Total Pages: 5

1 Overview. 2 Installation. exacqvision-entrapass Installation Guide.

Power IQ DCIM Monitoring Evaluation Copy A Step-By-Step Guide

How to Install Ubuntu on VirtualBox

'phred dist acd.tar.z'

How to securely isolate Damn Vulnerable Linux with VirtualBox

Reinstalling the Operating System on the Dell PowerVault 745N

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

Instructions PLEASE READ (notice bold and underlined phrases)

Linux Mint 18. Cinnamon Edition

Macrorit Partition Expert 4.3.5

Windows Server 2003 Installation and Configuration Lab Manual Presented by

The Flexischools Online Order Management System Installation Guide

Documentation. OTRS Appliance Installation Guide. Build Date:

INSTALLATION INSTRUCTIONS

VDI User s Guide: Using VDI from a Web Browser

Build your own NAS with OpenMediaVault

What this Guide Covers. Additional Info. 1. Linux based Servers. 2. Windows Servers. 3. GoldLite and Virtual Servers. 4. Other servers. 5.

This option lets you reset the password that you use to log in if you do not remember it. To change the password,

Installing the UnixWare Package. Installing the UnixWare Package - 1

Installing and Upgrading Cisco Network Registrar Virtual Appliance

CS Fundamentals of Programming II Fall Very Basic UNIX

Transcription:

TinyNet Creating Virtual Machines

VirtualBox is a little funny about its configuration files, so we need a separate utility to run VirtualBox using non-standard locations for our virtual machines (VMs) You can get RunVBox from www.my-tiny.net in the Windows Utilities section While you are there get the My-IP utility as well, and unzip them someplace convenient. Since we are making our own VMs, the next thing to do is decide where to store them. A USB drive is probably best make a folder and call it something like TinyNet VirtualBox will create a folder under this one for every machine you create. Now you need to copy VirtualBox-NoDHCP.xml to the folder you just created. This is the main configuration file for VirtualBox, You downloaded it with the RunVBox utility. Rename it VirtualBox.xml Now you can use RunVBox to navigate to the folder you just created and start VirtualBox. Create a shortcut and put RunVBox on your desktop!

Use the RunVBox icon on the desktop to start VirtualBox Click the New Icon, and go past the Welcome screen Give the machine a meaningful name (Gateway, WebServer, MailHost, or LDAPhost) Specify Linux 2.6 (32 bit) as the operating system

Our memory requirements are very low 80mb is fine, but 96mb is better This can be changed anytime from the Settings menu

Our storage requirements are very low we will create a new boot hard disk The disk settings we specify cannot be changed, so be careful.

Select type vdi and fixed-size storage We want a bunch of small machines rather than a few big ones

Our base operating system image is about 46 mb Additional applications will be up to 14 mb, so that s 60mb Let s allocate 20 mb for swap it does not get used, but it needs to be there and 120 mb for logfiles, coredumps, webpages. email, and everything else += 200 mb

Click the big orange icon to get to the Settings menu We will have a few here soon yawn chat

Let s get the boot order right first, so we only boot from the CDROM when we cannot boot from the hard disk

2. Left Click and select Add 1. Right Click and select Remove Now let s re-arrange the cables inside our box let s take the hard disk off the SCSI controller and attach it to the IDE controller This is important because of our TinyNet configuration files

In reality, a virtual hard disk is just a file that is read by VirtualBox Look for a folder with the same name as the machine you are creating

That s where it belongs!

Left Click and Select TinyNetBase.iso Now let s put a CD in the drive Guess what: it s really a file, not a CD You can get it from www.my-tiny.net

Almost ready to roll Just one more thing to do

Setup a Host-Only network adapter so our VM can communicate with our host We only need one at this point, leave the others disabled This can be changed whenever you want except when the machine is running

Final check: Drives and network adapter Let s Start it up!

Leave this on Slax Text-Mode or the machine will hang just touch Enter or wait a few seconds

Here is the login screen UserName = root and Password = toor (clever!) First thing to do is partition the disk we have a nice tool called cfdisk

New Primary Beginning Size= 180 Bootable New Primary Size= [enter] Type= 82 (just hit enter twice it is the default) You have to type yes (not just y) to write the partition table; don t worry about the warnings, they are for people with non-virtual hard disks.

mkswap /dev/hda2 mke2fs /dev/hda1 Create a filesystem on each partition: The swap filesystem just shows it s registration number The real (e2fs) filesystem shows lots of parameters (that we are not concerned about)

swapon /dev/hda2 mkdir /mnt/hda1 mount /dev/hda1 /mnt/hda1 Activate the filesystems: Swap is basically invisible The device hda1 will be accessible through the directory /mnt/hda1 (no drive letters like Windows just a directory)

Here s what it looks like using the file manager mc (one of the greatest linux utilities ever!) Just type mc at the shell prompt; use [tab] to switch between windows, and the [F] keys listed at the bottom to manage your files.

hda1 is the main partition on the hard disk hdc is the base-image CD Copy the boot and slax directories from the CD to the hard disk just hilghight and press [F5] Painless Install!

Finally, install the boot loader Move to /boot on the /mnt/hda1, highlight liloinst.sh and press [enter] Ignore all of the warnings, they are for people with non-virtual hard disks.

Press [F10] to exit mc Type reboot at the shell prompt (do not turn off the machine) and let it restart. And then create another VM We will want four, named Gateway, WebServer, MailHost, and LDAPhost We will configure them for these roles in Lab 3 for now they will all be the same

This just pulls the plug This is clean shutdown Final Note Clean Shutdown is important Use poweroff at the shell prompt or ACPI Shutdown from the VirtualBox Machine menu Reset or closing the window is like a power blackout, and can corrupt files on the disk