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

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

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

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A

IT341 Introduction to System Administration Project II Setting up our LAN

Introduction to Creo Elements/Direct 19.0 Modeling

The Ip address / Name value should be: srvvcenter-cis

Sun VirtualBox Installation Tutorial

VMware - vsphere INSTALL & CONFIGURE BEYOND INTRODUCTION V1.3

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

FAQ for PVRTV-305U. Copyright KWorld Computer Co., Ltd. All rights are reserved. November 9, 2007

Introduction to Windchill PDMLink 10.2 for the Implementation Team

Certificate Program. Introduction to Microsoft Excel 2013

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

The Ip address / Name value should be: srvvcenter-cis

The Python Mini-Degree Development Environment Guide

Andale Store Getting Started Manual

SCCAP. User Guide: Version 198

FAQ for PVRTV-7134ex. Copyright KWorld Computer Co., Ltd. All rights are reserved. November 9, 2007

FAQ for PVRTV Copyright KWorld Computer Co., Ltd. All rights are reserved. November 9, 2007

Shop Manager Help. Version 5

CITY UNIVERSITY OF NEW YORK. i. Visit:

CIS 231 Windows 2012 R2 Server Install Lab #1

Kalaivani Ananthan Version 2.0 October 2008 Funded by the Library of Congress

Employer Self Service (ESS) User Quick Guide

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

How to Use This Lab Manual

Remote Access Guide.

Course Outline. ProTech Professional Technical Services, Inc. Veritas Backup Exec 20.1: Administration. Course Summary.

Creating a Virtual Network with Virt-manager

Introduction to PTC Windchill MPMLink 11.0

Mathematics Shape and Space: Polygon Angles

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

Your Own Virtual Playground. CS 1585 :: Doug McGeehan

CIS 231 Windows 10 Install Lab # 3

IT Essentials v6.0 Windows 10 Software Labs

FireFox. CIS 231 Windows 2012 R2 Server Install Lab #1

CIS 231 Windows 7 Install Lab #2

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

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

Setting up a Chaincoin Masternode

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

Contents in Detail. Acknowledgments

Introduction. Assessment Test. Part I

"Charting the Course... SharePoint 2007 Hands-On Labs Course Summary

This is Lab Worksheet 7 - not an Assignment

Different ways to use Kon-Boot

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

This is Lab Worksheet/Installation 7

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

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

Approver. Approver Approver v 13.3 Page 1 Questions? Call or Revised 11/18/13

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

DUAL OS INSTALLATION

Safehome Project. Analysis Model Prepared by Inyoung Kim Donghan Jang <TEAM 6> KAIST CS350 Introduction to Software Engineering

Parallel Programming

Installing Nagios Log Server with VMware Workstation Player

Oracle Exadata Recipes

CITY UNIVERSITY OF NEW YORK. Creating a New Project in IRBNet. i. After logging in, click Create New Project on left side of the page.

SANOG VI IP Services Workshop: FreeBSD Install

VDI Users Guide. Mac OS X

Installing VMware Player to Run Ubuntu Linux on a Windows Machine

SUSE Cloud Admin Appliance Walk Through. You may download the SUSE Cloud Admin Appliance the following ways.

NEC ANYTIME Studio USER GUIDE. NEC Anytime Studio. Quote Tool User Guide. Date: 10/01/17. Version: 12. NEC Anytime Studio User Guide 1

Production Installation and Configuration. Openfiler NSA

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

How to install the software of ZNS8022

Manual for Creating a Network Load-Testing System. Paul Ethridge

Contact Center Supervisor Manual

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

Configuring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3

IP Camera Installation Brief Manual

Using Inspiration 7 I. How Inspiration Looks SYMBOL PALETTE

Operating Systems Linux 1-2 Measurements Background material

Virtual Machines. Module 2

You can use the WinSCP program to load or copy (FTP) files from your computer onto the Codd server.

Lab 1: Accessing the Linux Operating System Spring 2009

Labtainer Student Guide

OpenStack Havana All-in-One lab on VMware Workstation

Nested Home Lab Setting up Shared Storage

SAP GUI 7.30 for Windows Computer

Measurement in Science

Managed Ethernet Switch User s Manual

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

7. Mobile Wallets 78

Installation of Fedora 12 with CD

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

BMEGUI Tutorial 1 Spatial kriging

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

Endian Proxy / Firewall

LPIC-l/CompTIA. Certification. Lmux+ ONE. ALL a IN. (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy EXAM GUIDE. Graw Hill

RunClick Webinar and Video Conferencing Software. User Manual

2. install windows vista

Computers for Beginners

College of Pharmacy Windows 10

Networks Lab Pod Diagram

Layout and display. STILOG IST, all rights reserved

Lab - Install Windows 7 or Vista

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

Raspberry Pi Setup Tutorial

BUILD LINUX LEARNING LAB FOR FREE

Transcription:

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine Here we create a new virtual machine and install Ubuntu 16.04 LTS Server on it. In this instance, we follow most of the defaults, meaning that the virtual network spoofs the identity of your server to be that of the host (the real) computer. This is how most home networks work; a router attached to the internet service provider (ISP) uses Network Address Translation to fool the ISP into thinking all of the computers on your local network are actually just one, by rewriting the packets going out through the router with the single (spoofed) MAC address, keeping track of this in a table, and then using this table when packets come back from the ISP to rewrite the destination MAC addresses for the local computers the packets are meant for. Please read instructions in full before proceeding! 1. Check the Ethernet outlets next to your host (it2x): If the CAT5 cable is plugged into the right-hand-side (RHS) CAT5 outlet associated with your host then the computer is connected to it20, an Ubuntu server that acts as a router for the network it.cs.umb.edu If the CAT5 cable is plugged into the left-hand-side (LHS) CAT5 outlet the computer is directly connected to the cs.umb.edu network. Make sure that the CAT 5 network cable is in the RHS drop. 2. Boot up your computer and log in using your Windows login. If you do not have a Windows login, then please notify your professor 3. We want to install a virtual machine running Ubuntu 16.04 LTS Server. (See also, end-of-report questions.) Fortunately, we have iso images on our computers so this will run quickly. First, invoke Start -> All Programs - > VMWare -> VMware Workstation. There may be a shortcut for this on the desktop. (If you are unable to get VMWare Workstation working, then use VMWare Player, for now.) 4. Create a new Virtual Machine. A Typical (recommended) installation should be sufficient, so click File > New Virtual Machine. Make sure the radio button for

Typical is highlighted then click the Next> button. 5. Now we have a choice. We can either: (a) let the installation proceed on its own after giving a few parameters; this is suitable if you ve installed Ubuntu before. Or, (b) Install Ubuntu step-by-step; this is suitable if you are installing Ubuntu for the first time or just want to refresh your memory. a. Here, we let installation proceed on its own after providing a few parameters. i. Instead of installing the operating system later, we are going to install from an ISO image, which we have already copied over to our host system. Choose "Installer disc image file (ISO):" and then Browse to (from File System) C:\OS ISOs\Linux\Ubuntu\Server\ubuntu-16.04.1-server-amd64.iso Highlight this file, choose Open and then Next. ii. Now we are given an opportunity to name a user with administrative privileges. Use the name sysadmin (both as the Full name and as the User name.) For a password, choose the name you will use for the machine such as itvm2x-yz 1. This is important because, if you are out sick, we may require quick access to your system. Click Next. iii. Now, for a virtual machine name, we want (instead of the default "Ubuntu") a name that is meaningful to our network 2. Choose the name itvm2x-yz where it2x is the name of your host y is your section number And z is your group ID. 1 Where 2 represe ts the a hi e ou are o, represe ts our se tio, a d z represe ts our group, either a or as assig ed our professor. 2 There is a pro le with this whi h we will fi later.

For example, if you are sitting at host it25 (The host name is labeled at the bottom of your flat screen) in Professor Bird's section 2 and group a, then use the name itvm25-2a. iv. There will exist a subdirectory of c:/it341 with the name sectionyz where y is your section number and z is your group ID. The location where the virtual machine image will be stored is in the directory c:/it341/sectionyz so browse to that location and hit the OK button then click the Next button. You may get a prompt about the location containing another virtual machine. As long as you are following directions for naming your machine this will not be a problem so click the continue button. For example, if your team name is "itvm25-2a", then your VM will be in the directory c:/it341/section2a of machine it25 If you have more than two groups using a machine, please see me! v. Go along with the default disk size and "Split virtual disk into multiple files". 20 GB should be more than sufficient. Choose Next. vi. We needn't customize any hardware. If we want to later, it is very easy as long as our virtual machine has been powered down. Click Finish. vii. Now just sit awhile. Your Ubuntu server installation will proceed very quickly -- almost too quickly to watch. You can always install Ubuntu Server (or Ubuntu Desktop) at home should you want to step through the installation process. Now might be a good time to update your administrator's log, writing down what you have been doing

and writing about any problems you have encountered. This will help you if you have to re-install, and it will help you to write the progress report for this first project. Make sure to wait until the VMware tools are installed and you are looking at a (virtual) screen with: Ubuntu 16.04.1 LTS ubuntu tty1 ubuntu login: viii. If you look at the login screen you will see that the machine is still named "ubuntu", so you will need to fix that. Log in to the machine using the username and password you created, change the directory to /etc and edit the file hostname in the /etc directory. Replace "ubuntu" with the your machine name i.e. itvm2x-yz and save the file. Now log out and power down then power up the VM and you should see this login prompt with the correct machine name where 2x represents your hardware id, y represents your section, and z represents your group ID. Ubuntu 16.04.1 LTS itvm2x-yz tty1 itvm2x-yz login: ix. Go on to step 6. b. Here we will first create a VM and then (later) install Ubuntu, so that we may proceed step by step. i. Choose I will install the operating system later. Then, click Next. ii. For a Guest Operating System, choose (2) Linux. For a Version, choose Ubuntu. Click Next. iii. Now, for a virtual machine name, we want (instead of

the default "Ubuntu") a name that is meaningful to our network. Choose the name itvm2x-yz where: iv. it2x is the name of your host, y is your section number, And z is your group ID. For example, if you are sitting at host it25 (The host name is labeled at the bottom of your flat screen) in section 2 and group a, then use the name itvm25-2a. There exists a subdirectory of c:/it341 with the name sectionyz where y is your section number and z is your group ID. The location where the virtual machine image will be stored is in the directory c:/it341/sectionyz so browse to that location and hit the OK button then click the Next button. You may get a prompt about the location containing another virtual machine. As long as you are following directions for naming your machine this will not be a problem so click the continue button. For example, if your team name is "itvm25-2a", then your VM will be in the directory c:/it341/section2a of machine it25 If you have more than two groups using a machine, please see me! v. Go along with the default disk size and "Split virtual disk into multiple files". 20 GB should be more than sufficient. Choose Next. vi. We needn't customize any hardware. If we want to later, it is very easy as long as our virtual machine has been powered down. Click Finish. vii. Now, under Devices, you will see that the CD/DVD drive is associated with the host s drive /dev/sr0. We want to

change this temporarily, so: 1. Double-click on CD/DVD. This will bring us to a panel where we can (temporarily) change the association so that we can install Ubuntu Server from an iso image. 2. Choose Use ISO image; and then Browse to (from File System) C:\OS ISOs\Linux\Ubuntu\Server\ubuntu-16.04.1-server-amd64.iso 3. Once ubuntu-16.04.1-server-amd64.iso is highlighted, choose Open, and then click OK. 4. Now, our (virtual) CD/DVD reader is associated with the iso image for Ubuntu Sever. viii. Now choose Power on this virtual machine. You will be led, step-by-step, through the installation. ix. To give control of your keyboard and mouse over to the virtual machine, click on its screen. (Whenever you want to give control back to your host, press Ctrl-Alt. A reminder of this simple sequence is on the lower-left corner of your VMware Workstation window.) x. For a Language, choose English and hit Enter. xi. Choose Install Ubuntu Server, and hit Enter. xii. For a language, choose English, and hit Enter. xiii. For a country, choose United States, and hit Enter. xiv. We don t want Ubuntu to choose a keyboard layout, so choose No and hit Enter. xv. For Origin of the keyboard, choose English (US) and hit Enter. xvi. For a Keyboard layout, choose English (US) and hit Enter. xvii. Now, for a hostname, we want (instead of the default

"ubuntu") a name that is meaningful to our network. Choose the name itvm2x-yz where it2x is the name of your host, y is your section number, And z is your group ID. For example, if you are sitting at host it25 (The host name is labeled at the bottom of your flat screen) in section 2 and group a, then use the name itvm25-2a. Erase ubuntu, replace it with the appropriate name, tab to <Continue> and hit Enter. xviii. For a full name for the new user, choose sysadmin. Tab to continue and hit Enter. xix. Use sysadmin for the username, too. Tab to continue and Enter. xx. For a password, choose the name you used for the machine such as itvm2x-yz. Continue and Enter. xxi. Again. xxii. We don t want to encrypt our home directory, so choose No and Enter. xxiii. We are in the same time zone as New York, so choose Yes and hit Enter. xxiv. Use the up-arrow to choose Guided use entire disk and hit Enter. Do not use an LVM! (See end-of-report questions.) xxv. Go with the default disk to partition hey, it s just a virtual disk and hit Enter. xxvi. Use your left-arrow to move to <Yes>, as we want to write these changes to the disk, and hit Enter. Partitioning will commence and the base system is loaded. xxvii. There is no proxy so just leave it blank and hit Enter.

xxxii. 6. Log in as sysadmin. xxviii. Choose No automatic updates, and hit Enter. xxix. We won t install any additional software components now; we ll install this stuff later at the command line. So tab to Continue and Enter. xxx. We want to install the GRUB boot loader (it s cool), so choose Yes and Enter. xxxi. Now your installation should finish. Continue and Enter. The system will reboot. 1. Ctrl-Alt to return focus to the host. 2. Right-click on itvm2x-yz in the sidebar and choose Power Off; confirm that you want to Power Off. 3. Double-click on CD/DVD. This will bring us to a panel where we can) change the association back. 4. Choose Use a physical drive and choose Auto detect for the device. Save. 5. Now we are ready to restart the virtual machine. Choose Power on this Virtual Machine. If asked and you wish, install the VMware Tools package inside of this machine.) You will see: Ubuntu 16.04.1 LTS itvm2x-yz tty1 itvm2x-yz login: 7. Let s see if we can reach the outside: ping www.yahoo.com Quit the command; you know how to do this. Be sure to record success or failure in your lab report. 8. We want to install some software; but it s always a good idea to do an update of your catalog before doing so. Now, to do system stuff, you will have to do so as a

sudo-er. First, we ll do an update. sudo apt-get update Then we will do an upgrade. sudo apt-get upgrade apt-get is the software maintenance application. Because you are running as sudo, you will be asked for sysadmin s password (at least this first time). You will want to read up on sudo and apt-get. See also, the end-of-report questions. 9. Then install both the ssh server and the ssh client: sudo apt-get install openssh-server (You will want to answer Y.) Notice the server is automatically started up. Notice that the client is already installed; no bother. 10. OK, write about all of this in your lab report entries. And be prepared to write about it in any narrative that you are asked to hand in or exam questions. 11. Now you can log out. logout 12. And, now you can power off the machine (Ctrl-Alt to return focus to the host, right-click on itvm2x-yz in the Sidebar, and choose Power Off. 13. There you go, you have installed Ubuntu Server on a Virtual Machine.

14. Notice you can take a Snapshot of your VM at any time. Where was it saved? Figure this out and write about it. You can change this, or you can copy it to a memory stick if you have one. Then you won t lose your work if you mess up! Write about this. Questions: 1. Why LTS? What is LTS? Please explain. 2. What is an LVM? Please explain. 3. Please explain what sudo is, how it is used, and why we need it. 4. Please explain what apt-get is and why we use it. 5. Please explain what snapshots are and why they are useful to us.