Start the Ubuntu Linux VM in VirtualBox. In the VM X Window session, logon as the default user osboxes.

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

Once the VM is started, the VirtualBox OS Manager window can be closed. But our Ubuntu VM is still running.

Unzip the provided Minix Virtual Machine. This will provide you with the files Minix3.1.8.vdi and Minix LCOM.vbox.

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes

Open a browser and download the Apache Tomcat 7 and Oracle JDBC 6 JAR from these locations. The Oracle site may require that you register as a user.

How to Install Oracle VM VirtualBox and Create a Virtual Machine

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

Expedition. Hardening Guide Version Palo Alto Networks, Inc.

Comparative Bacterial Genomics

Using RDP with Azure Linux Virtual Machines

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

Oracle Enterprise Manager 11g Ops Center 2.5 Hands-on Lab

Build your own Lightweight Webserver - Hands-on I - Information Network I. Marius Georgescu. Internet Engineering Laboratory. 17 Apr

Installing Archivematica v0.7 On A Custom-Sized Xubuntu v Virtual Machine Hosted in VirtualBox v4.0.4

About Backup and Restore, on page 1 Supported Backup and Restore Procedures, on page 3

MitySOM-5CSx Family Virtual Machine Setup Procedure

Parallel Programming Pre-Assignment. Setting up the Software Environment

MULTI FACTOR AUTHENTICATION USING THE NETOP PORTAL. 31 January 2017

Installing VirtualBox and Ubuntu

Appserv Internal Desktop Access Mac OS Device with Safari Browser. Enter your Appserv username and password to sign in to the Website

Linux Development Getting Started

Installation of the DigitalSystemsVM virtual machine

Step by step to getting R installed on your computer

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

Lab #9: Basic Linux Networking

Windows Subsystem for Linux Guide Documentation

Parallel Programming

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

How Does the PI make Pre Review ICF Changes?

Introduction The goal of this article is to clarify a few questions about Oracle's installation and its many different available modules.

Installing Packet Tracer 7.1 on Mac

Ftp Command Line Manual Windows Example Port 22

DesktopPlayer for Windows

Instructions For Configuring Your Browser Settings and Online Banking FAQ's

SQL Server vnext on Linux Ubuntu - Part 1

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

Labtainer Student Guide

BUILD LINUX LEARNING LAB FOR FREE

DesktopPlayer for Mac

Bitnami Apache Solr for Huawei Enterprise Cloud

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

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

Creating a Virtual Network with Virt-manager

Steps to install Xubuntu on a Virtual Machine

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

Orchid Fusion VMS Installation Guide

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

PCGENESIS TECHNICAL SYSTEM OPERATIONS GUIDE

Instructions for Configuring Your Browser Settings and Online Security FAQ s

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

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

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

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

Puppet 101 Basic installation for master and agent machines on Ubuntu with VMware Workstation

How to Secure SSH with Google Two-Factor Authentication

SSL VPN INSTALLATION GUIDE

Using TU Eindhoven s VPN with Ubuntu

Automatic Creation of a Virtual Network with VBoxManage [1]

First-Time Login Procedure on XWin32

Preparing Your Google Cloud VM for W4705

Setting up Ubuntu with VirtualBox

Installing VMware Player to Run Ubuntu Linux on a Windows Machine

Texas Tech University Spring 2017 Digital Forensics Enviornment Setup

Getting Started with Linux Development

Bitnami MySQL for Huawei Enterprise Cloud

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

Setting up my Dev Environment ECS 030

Bitnami MEAN for Huawei Enterprise Cloud

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

The instructions in this document are applicable to personal computers running the following Operating Systems:

CA Agile Central Administrator Guide. CA Agile Central On-Premises

Upgrading the Cisco APIC-EM Deployment

Getting Started. Version 2.1

WatchGuard Dimension v2.0 Update 2 Release Notes. Introducing New Dimension Command. Build Number Revision Date 13 August 2015

Jackson State University Department of Computer Science CSC / Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan

We want to install putty, an ssh client on the laptops. In the web browser goto:

Bitnami Node.js for Huawei Enterprise Cloud

DesktopPlayer for Mac

DesktopPlayer for Windows

Wireless for Windows 7

Installation of the DigitalSystemsVM virtual machine

Sun VirtualBox Installation Tutorial

Enter your Appserv username and password to sign in to the Website

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

Installing ModelSim. Fares Elsabbagh

Galaxy How To Remote Desktop Connection and SSH

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

Bitnami MariaDB for Huawei Enterprise Cloud

DesktopPlayer for Windows Release Notes. Version 2.6.0

Reference Card: How to connect Windows 7 to UniWireless

Trouble shooting. In case of any further queries / issues, please call our support team on the numbers provided below.

ELE409 SPRING2018 LAB0

Production Installation and Configuration. Openfiler NSA

The instructions in this document are applicable to personal computers running the following Operating Systems:

29 March 2017 SECURITY SERVER INSTALLATION GUIDE

LOCAL WALLET (COLD WALLET):

Ensuring your computer has Java

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

EMC Unisphere for VMAX Database Storage Analyzer

Transcription:

How to use apt-get to update Ubuntu Revised: 15-August-2016 In our last two "How To" documents, we stepped through installing Oracle VirtualBox and Ubuntu 16.04 as a guest OS. This document how to apply updates to the Ubuntu operating system using the apt-get utility. Start the Ubuntu Linux VM in VirtualBox. In the VM X Window session, logon as the default user osboxes.

We are going to demonstrate using the command line utility "apt" to retrieve and install updates. But before we do that, we can use the GUI utility for applying updates to select the best mirror server from which to download packages. Select the "System Settings" icon (Gear and Wrench) from the Ubuntu menu. Then, select Software & Updates. Click on the drop-down menu for "Download from" on the Ubuntu Software tab and select "Other". In the "Choose a Download Server" dialog, click on the Select Best Server button. This will initiate timing tests and recommend a server to use. Select the recommended server and exit the dialog windows. Now, right-click in the workspace and select "Open Terminal." Enter the command "sudo apt update". This will update package lists, identifying which packages can be upgraded.

Next, enter "sudo apt full-upgrade". This will list the packages ready to be downloaded and applied. You will be prompted to continue by hitting Enter. Or, enter "n" and hit Enter to avoid applying the updates. Note that apt also identified two packages that can be removed. We will do that after the updates are installed. After pressing Enter, the updates will be downloaded and installed. After the installation is complete, we can confirm that there are no longer any pending upgrades by entering "sudo apt full-upgrade" again. It reports nothing remaining to upgrade. Now the basic Ubuntu distribution included by OSBoxes has been updated. Next, we will install some additional packages that are useful.

As mentioned above, the default OSBoxes Ubuntu VM distribution supports only a limited number of display resolutions. You can see this by selecting the Screen Display icon from the System Settings menu. To add support for larger displays, we will install Guest OS utilities provided by OSBoxes. Enter the following command from a terminal window to install three packages: "sudo apt install virtualboxguest-utils virtualbox-guest-x11 virtualbox-guest-dkms".

After installing the VirtualBox guest utilities, you can update the VM display settings to dimensions larger than 1024x768. To do this, you will need to log off, then select Shut Down from the settings menu - the gear at the upper right corner of the GUI. In the Shut Down dialog, select "Shut Down".

Restart the Ubuntu guest OS. Log on as osboxes. Select the "System Settings" option from the settings menu. Select Screen Display. Select the Resolution drop-down menu and select the appropriate screen resolution.

Next, we will demonstrate installing a new font. Here, we install Inconsolata fonts, which are popular with developers. The command entered is "sudo apt install fonts-inconsolata". After installing Inconsolata fonts, you can change the font used by the Terminal by selecting the Edit Profile Prefernces menu option in Terminal to open the Profile Preferences dialog.

Then, check the custom font checkbox and seletct one of the Inconsolata fonts. Note also that on this dialog, I have also updated the "Initial terminal size:" columns and rows values, to set the initial size of the terminal window.

Next, we will install a commonly used network utility that is not included by default in the Ubuntu distribution. We install the traceroute networking utility with the following command. sudo apt install traceroute Test the traceroute utility using a domain name. Next, we will install OpenSSH Server. This will provide our Ubuntu installation with SSH and SFTP capability. This "How To" will only begin our SSH configuration however. Completing the SSH configuration and securing our server will be discussed in a separate "How To". sudo apt install openssh-server After installing the OpenSSH Server, verify that the ssh service is running by entering service --status-all Verify that SSH is listening on the default port, port 22.

Now, we need to verify that an SSH connection can be made to Ubuntu. In our case, we will use the FileZilla program to open an SFTP connection to our VM. We will define a new connection to our server using SFTP. Enter the osboxes user and the osboxes.org password. The server key presented by Ubuntu is created during the installation of OpenSSH Server. This connection will be used to upload a client certificate during our processing of hardening security in a later "How To" article. For now, we only want to confirm that the connection can be made. Ideally, we do not want the default osboxes account to have SSH access to the VM. We will later create a dedicated account with limited access for use with SSH.

Once connected, FileZilla's status window indicates that the connection was successful. In our Ubuntu user session, we can confirm the SFTP connection also using netstat. Here, our Windows 10 host is acting as the client. It has connected to our Ubuntu server and established the SFTP session. The source port, 56541, is "ethereal" - that is, it is sequentially assigned by the client during session establishment.

Lastly, for this "How To", we will remove any packages that had been installed but due to upgrades may now no longer be needed. In our case, two packages are eligible for removal. After confirming, the two packages are removed. Now, our Ubuntu client is installed, connected to the Internet, updated and minimally configured. In a later "How To", we will apply additional configuration changes to improve its security.