IERG4180 Tutorial 4 Jim.

Slides:



Advertisements
Similar presentations
Creating a Virtual Machine Researched and Created by Bryan Bankhead.
Advertisements

VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
©2009 Justin C. Klein Keane PHP Code Auditing Session 3 – Tools of the Trade & Crafting Malicious Input Justin C. Klein Keane
Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference.
Run a Virtual Machine. Virtualization Have you ever imitated someone else? That's because your mind is thinking/ imagining as that person Same to a Computer:
Install Software in Ubuntu. Do you have Internet? Everything is on the Internet and Free!
CS 2511 Fall  Windows:  Start->Specialized Academic Software- >Programming Languages->NetBeans->NetBeans IDE x.y.z  where x.y.z is a version.
Lesson One: The Beginning
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Overview Basic functions Features Installation: Windows host and Linux host.
Creating Clusters in a Virtual Environment Purpose: To create a development environment with limited hardware resources that allows the testing of parallel.
CS0007: Introduction to Computer Programming Setting Up Java.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
Cap 333 Network Administration. Grades  20 marks distributed on  Assignments / Project Activities Individual Pairs  1 or 2 tutorial quizzes.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
To run the program: To run the program: You need the OS: You need the OS:
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Space Science and Engineering Center University of Wisconsin-Madison Virtual Machines: A method for distributing DB processing software Liam Gumley.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Parts of a Computer Why Use Binary Numbers? Source Code - Assembly - Machine Code.
GeoADE - Geometric Algorithm Development Environment Tsai-Yeh Tung 2010/3/9 Web-based Collaboratory Lab, IIS, Academia Sinica, Taiwan Algorithmic Theory.
LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Cap 333 Network Administration. Solution Rules  Your solution must be typed by computer. Otherwise, it will not be accepted.  If the question is a project.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
The Basics of Javadoc Presented By: Wes Toland. Outline  Overview  Background  Environment  Features Javadoc Comment Format Javadoc Program HTML API.
Hosted Virtualization Lab Last Update Copyright Kenneth M. Chipps Ph.D.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Cap 333 Network Administration. Grades  20 marks distributed on  Assignments / Project Activities Individual Pairs  1 or 2 tutorial quizzes.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Ergo User Tutorial NCSA, UIUC. What is Ergo?  As an IT framework  Ergo-EQ is built on Ergo Platform  A.K.A. MAEviz, EQviz (a fork by EU), HazTurk (
How to Install Eclipse Click hereClick here to download Eclipse.
Working with Hadoop. Requirement Virtual machine software –VM Ware –VirtualBox Virtual machine images –Download from Cloudera (Founded by leaders in the.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
“Build that Virtual Lab you always wanted” Information Assurance Group 2011.
How to install JavaCV in Eclipse. Make sure to download and install all these before you proceed Eclipse for Java EE developers (current is Juno)
VMware Recovery Software RECOVER DATA FROM CORRUPT VMDK FILE.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Debugging RTC CLI in Eclipse
Mobile Device Development
Outline Installing Gem5 SPEC2006 for Gem5 Configuring Gem5.
Creating Clusters in a Virtual Environment
Red hat Installation 2 Live CD.
CSC227: Operating Systems
Hyrax Configuration.
Obtaining the Required Tools
Desktop Virtualization
1. Environment Setting Minhaeng Lee.
Hands-On Virtualization in the Classroom
Using Virtual Machines
Software Setup & Validation
Review of Previous Lesson
Programming Tools Most of the programming assignments will require using the C language. We will use a current version of the GCC C compiler. What’s GCC?
Kernel Debugging with VMplayer and Windbg
Introduction to VM Les 5 12 September 2019.
Presentation transcript:

IERG4180 Tutorial 4 Jim

Outline Project 1 Virtual Machine Programming in IERG4180 (Linux) remarks demo Virtual Machine Programming in IERG4180 (Linux) Coding environment Compilation Debugging

Remarks on Project 1 Deadline: 11pm, 15th Feb 2015 Submit your work to Blackboard If you have troubles doing the project, find the tutors as soon as possible!

Demo

Outline Project 1 Virtual Machine Programming in IERG4180 (Linux) remarks demo Virtual Machine Programming in IERG4180 (Linux) Coding environment Compilation Debugging

Virtual Machine (VM) Software based, fictive computer Multiple OS environments can co-exist using VM which is Easy to setup Easy to clean up VMware Player free for non-commercial use https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0 VMware Player and VMware Player Plus for Windows (If you are using Windows as host)

VM image for CentOS Version 6.6 64 bits 32 bits ftp://ftp.cuhk.edu.hk/pub/Linux/centos/6/isos/x86_64/CentOS-6.6-x86_64-bin-DVD1.iso 32 bits ftp://ftp.cuhk.edu.hk/pub/Linux/centos/6/isos/i386/CentOS-6.6-i386-bin-DVD1.iso If you are not sure, just use the 32 bits Create a New Virtual Machine > Installer disc image (iso) Follow the wizard and wait for OS setup

VMware Tools Support better graphics performance, time synchronization, copy and paste between guest and host, folder sharing, etc.

VMware Tools Extract the VMwareTools-XXXX.tar.gz to desktop Now there is a folder: vmware-tools-distrib Run terminal and cd to vmware-tools-distrib su will grant access for install vmware-install.pl to install During installing, click enter to select default options Restart your virtual machine

VMware Tools To enable folder sharing:

VMware Tools To enable folder sharing:

Outline Project 1 Virtual Machine Programming in IERG4180 (Linux) remarks demo Virtual Machine Programming in IERG4180 (Linux) Coding environment Compilation Debugging

Development Tools for CentOS A Group which includes essential packages like gcc, make Applications > System Tools > Terminal Also, libpcap for packet capturing

Compilation gcc/ g++ -g -lrt -pthread -std=c++0x debug info es_timer

Compilation Shell script Makefile

Debugging gdb

Debugging

Debugging Step out f Step into s

Debugging Summary Credit: http://condor.depaul.edu/glancast/373class/docs/gdb.html

Eclipse An IDE which supports Linux platform http://www.eclipse.org/downloads/ Eclipse IDE for C/C++ Developers Linux 32/64 Bit Extract the folder after the download Run eclipse

Environment Setup Install Java Development Kit (JDK) For Java application development Include Java Runtime Environment (JRE) which is required to run Java applications Include other things like Java compiler, Java APIs, etc. http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html jdk-7u40-linux-i586.rpm/ jdk-7u40-linux-x64.rpm

Environment Setup Open Eclipse

Environment Setup Create new project

Environment Setup File > New > C++ project

Compilation Run the program Build the project at first Run > Run Configurations… to select your application Remember to apply

Debugging Debug Mode

Debugging Breakpoint Step Into/ Step Over/ Step Return Call Stack Also has advanced breakpoints like conditional breakpoint Step Into/ Step Over/ Step Return Call Stack

Debugging Variables View

About Project 2… Reuse your work in project 1 Learning objective 1: Code portability Same piece of source code for Windows and Linux platform Learning objective 2: Client Server Model Multithreading Details will be disclosed on next tutorial