Computer Organization Tools Computer Organization 1 ©2005-2015 WD McQuain Programming Tools Most of the programming assignments will require using.

Slides:



Advertisements
Similar presentations
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Advertisements

CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
Linux Installation Chapter II. Linux Distributions Pre-packaged, installable Linux Anyone can compile a distribution, have to inculde GPL Available for.
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
TCP/IP - Security Perspective Upper Layers CS-431 Dick Steflik.
Go to & click on Install/Download Menu optionhttp://osddlinux.osdd.net/ Go to & click on Install/Download.
 Contents 1.Introduction about operating system. 2. What is 32 bit and 64 bit operating system. 3. File systems. 4. Minimum requirement for Windows 7.
How to Install Windows 7.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Developed by Klaus Knopper Linux Consultant. What is Knoppix?  Unix-like operating system  Run directly from CD or DVD  Bootable from USB flash drive.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
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.
Ssh: secure shell. overview Purpose Protocol specifics Configuration Security considerations Other uses.
A crash course in njit’s Afs
Getting Connected to NGS while on the Road… Donna V. Shaw, NGS Convocation.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Introduction to UNIX/Linux Exercises Dan Stanzione.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Chapter 4 Operating Systems and File Management. 4 Chapter 4: Operating Systems and File Management 2 Chapter Contents  Section A: Operating System Basics.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
BIF713 Operating Systems & Project Management Instructor: Murray Saul
Chromium OS is an open-source project that aims to build an operating system that provides a fast, simple, and more secure computing experience for people.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Go to & click on Install/Download Menu optionhttp://osddlinux.osdd.net/ Go to & click on Install/Download.
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Chapter 7 Microsoft Windows XP. Windows XP Versions XP Home XP Home XP Professional XP Professional XP Professional 64-Bit XP Professional 64-Bit XP Media.
CSN08101 Digital Forensics Lecture 1B: Essential Linux and Caine Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak.
N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks.
Secure Shell for Computer Science Nick Czebiniak Sung-Ho Maeung.
Please Note: Information contained in this document is considered LENOVO CONFIDENTIAL For Lenovo Internal Use Only Do Not Copy or Distribute!! For Lenovo.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
1 FreeBSD Installation ISOC/AfNOG Michuki Mwangi (Original materials by Hervey Allen – NSRC)
We will now practice the following concepts: - The use of known_hosts files - SSH connection with password authentication - RSA version 2 protocol key.
O.S.C.A.R. Cluster Installation. O.S.C.A.R O.S.C.A.R. Open Source Cluster Application Resource Latest Version: 2.2 ( March, 2003 )
CS 444 Introduction to Operating Systems
AE6382 Secure Shell Usually referred to as ssh, the name refers to both a program and a protocol. The program ssh is one of the most useful networking.
The Secure Shell Copyright © Software Carpentry 2011 This work is licensed under the Creative Commons Attribution License See
Secure Shell (SSH) Presented By Scott Duckworth April 19, 2007.
Setting up Cygwin Computer Organization I 1 May 2010 ©2010 McQuain Cygwin: getting the setup tool Free, almost complete UNIX environment emulation.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
VirtualBox: How to create a Linux Virtual Machine.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Page 1 of 38 Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Please Note: Information contained in.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
1 Running MPI on “Gridfarm” Bryan Carpenter February, 2005.
HOW TO INSTALL WINDOWS 7? This step-by-step guide demonstrates how to install Windows 7 Ultimate. The guide is similar for other versions of Windows 7.
Using MPI on Dept. Clusters Min LI Sep Outline Run MPI programs on single machine Run mpi programs on multiple machines Assignment 1.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Getting Connected to NGS while on the Road…
Cygwin: getting the setup tool
CSC 215 : Procedural Programming with C
Class Projects and Environment
CSC227: Operating Systems
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?
CS101 Booting A Computer.
Installation and Configuration
Port Forwarding and Shell Login Essentials
Create A Virtual Machine
Linux Programming Environment How to Run Linux in Windows
OPS235: Lab 2 Virtual Machines – Part I
Getting Connected to NGS while on the Road…
Yung-Hsiang Lu Purdue University
Cygwin: getting the setup tool
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?
Presentation transcript:

Computer Organization Tools Computer Organization 1 © WD McQuain 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? -the Gnu Compiler Collection (see gcc.gnu.org) -a collection of freeware software development tools, including support for C, C++, Objective-C, Fortran, Java, and Ada -available as part of all Linux and most UNIX-derived operating systems How do you get it? -run Linux -use a remote Linux environment (rlogin cluster) You will have to use the CS Department’s rlogin cluster for some assignments in any case.

Computer Organization Tools Computer Organization 2 © WD McQuain Linux Read Chapter 1 of the Sobell book for a history of Linux… really… There are many Linux distributions (distros)… superiority is a matter of religion. -the CS Department’s rlogin cluster and other servers (more later) are running CentOS -I use CentOS -CentOS will be the official platform for testing your assignments Linux distributions come in 32-bit and 64-bit versions; I recommend running 64-bit, but that will entail your installing some additional packages. In any case, we require you to run CentOS on your own computer. If you do not do so, expect to have problems.

Computer Organization Tools Computer Organization 3 © WD McQuain Running Linux on a Windows Host Here’s my advice: -Install VirtualBox (virtualbox.org). -I'm using version , but later versions should be fine. -Follow the installation instructions carefully. -Download a CD/DVD image for installing your chosen distro. -I used CentOS-6.5-x86_64-bin-DVD1.iso. -Follow the instructions in the VirtualBox manual: -for installing a guest OS on Windows -for installing the VirtualBox Guest Additions (these are essential) Once you’re done, you can boot and run Linux within a virtual machine. This minimizes your chances of disrupting your existing system setup. This works best if your computer has at least 2GB of RAM.

Computer Organization Tools Computer Organization 4 © WD McQuain Running Linux on an OS X Host Essentially, follow the instructions for a Windows Host, but install the version of VirtualBox for OS X. Note: -OS X is not Linux (or UNIX), and that prior students have experienced issues when trying to use the OS X native version of the GCC C compiler in this course. -Those problems will go away if you run Linux. -If you decline to do that, you may have to use the rlogin cluster (more later) for all of the UNIX-related and C programming assignments.

Computer Organization Tools Computer Organization 5 © WD McQuain Dual-booting Linux with Windows You may also install Linux so that you can choose between Linux and Windows when you boot your computer. The website for your chosen Linux distro will include installation instructions for dual- booting. This generally works as advertised as long as: -Your computer does not have any unusual issues, especially with respect to the partitioning of the hard disk. -You follow the instructions carefully. That said… -YMMV. -I have had dual-boot installations go sour and trash my system. -Using VirtualBox (or some other virtualization software) allows you to switch seamlessly between your native host OS and Linux.

Computer Organization Tools Computer Organization 6 © WD McQuain Safer Dual-booting Linux You may also install Linux so that you can boot it from a CD or a flash drive. The website for your favorite distro will have instructions for creating a bootable CD installation (often called a Live CD). This doesn’t usually give you the ability to update or save changes. See pendrivelinux.com for instructions on creating a bootable Linux flash drive. This generally works as advertised as long as you follow the instructions carefully. This should pose no risk to your existing machine setup. That said… -YMMV. -With some distros it is allegedly possible to perform updates and save changes. YMMV with this as well.

Computer Organization Tools Computer Organization 7 © WD McQuain SLO Accounts The CS Department uses a single-logon system (SLO) for many of its resources. If you are a CS major and have previously taken a CS course at VT, you should already have an account. If not, or if you’ve forgotten your SLO password, go to the following link and rectify the problem: Note that you will need this to access some of the resources necessary for this course.

Computer Organization Tools Computer Organization 8 © WD McQuain SSH: secure shell for remote access Secure shell is a network protocol for secure communication. An SSH client is supplied with UNIX/Linux, and with OS X. Windows users should Google for “SSH Secure Shell Client” or for “PuTTY”, which are freely available for non-commercial use. See software.cs.vt.edu for downloads. You will use an SSH client to access the rlogin cluster for certain assignments.

Computer Organization Tools Computer Organization 9 © WD McQuain rlogin Cluster The rlogin cluster is a collection of computers, each running CentOS, that are available to for students taking CS courses at VT. To access the cluster, open a Linux terminal and enter the following command using your VT PID: ssh -l rlogin.cs.vt.edu Status and other information can be found at:

Computer Organization Tools Computer Organization 10 © WD McQuain SSH: login without a password You can set up keys that allow you to ssh to your rlogin account without using a password. From a Linux or Cygwin terminal on your machine, use the ssh-keygen command to create a key pair; the session will resemble this: #1008 ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/wdm/.ssh/id_rsa):[Enter key] Enter passphrase (empty for no passphrase): [Press enter key] Enter same passphrase again: [Pess enter key] Your identification has been saved in /home/wdm/.ssh/id_rsa. Your public key has been saved in /home/wdm/.ssh/id_rsa.pub. The key fingerprint is: 33:b3:fe:af:95:95:18:11:31:d5:de:96:2f:f2:35:f9 Then, use the ssh-copy-id command to install the key on the remote system: #1009 ssh-copy-id -i ~/.ssh/id_rsa.pub rlogin.cs.vt.edu password:

Computer Organization Tools Computer Organization 11 © WD McQuain SSH: login without a password You should now ssh to your rlogin account and see if your key file only contains what you would expect: cd.ssh ls -a... authorized_keys id_rsa id_rsa.pub known_hosts cat authorized_keys ssh-rsa The only authorized key entry corresponds to my login from my local machine. Now, I can ssh to the cluster without having to provide a password.

Computer Organization Tools Computer Organization 12 © WD McQuain SSH: opening an X tunnel Many Linux applications have a graphical user interface; you can execute those on the server (rlogin cluster machine) by using the –X switch when you invoke ssh:

Computer Organization Tools Computer Organization 13 © WD McQuain So… Get to work! Create an installation of Linux on your laptop/tablet. -Use VirtualBox or not, your choice. -Use CentOS 6.X Get an SLO account (if you don't already have one) and make sure you know your password. If you like, set up password-free login (via ssh) to your rlogin.cs.vt.edu account.