Cygwin Training Seminar January 27, 2005 MDL AWIPS (Room 10246)

Slides:



Advertisements
Similar presentations
LIS651 lecture 5 direct use of wotan Thomas Krichel
Advertisements

ITR3 lecture 7: more introduction to UNIX Thomas Krichel
ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Cygwin Training Seminar March 4, 2004 MDL AWIPS (Room 10246)
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
Setting up your System Contents Required Software Flip and flop servers at OSU Using WinSCP Using Putty Using ssh, scp from Linux terminal.
CIS101 Introduction to Computing
Linux+ Guide to Linux Certification, Second Edition
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Module 6 Windows 2000 Professional 6.1 Installation 6.2 Administration/User Interface 6.3 User Accounts 6.4 Managing the File System 6.5 Services.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
“Final?” Day Unix/Linux April 8, 2014 Dr. Bob Mathis.
Fundamental System Administration Tools Chapter 3.
Installing software on personal computer
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Dongsoo S. Kim  You need an account to access the ECE Unix system The Unix account name and password are identical to IUPUI ID.
Remote access and file transfer Getting files on and off Bio-Linux.
Linux Basics. What is an Operating System (OS)? An Operating System (OS) is an interface between hardware and user which is responsible for the management.
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Linux Operations and Administration
CSE 390a Editing and Moving Files
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
CENT 305 Information Systems Security Linux Introduction.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
New Employee Indoctrination Chris Biddick Paul Grenz Jan 30, cjb, pg.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Introduction to Unix – CS 21
Introduction to Linux ( I ) Sidney Fong 4 th Feb 2006.
LINUX Tuesday, 5 July :00 pm. Remote Login l Use Secure Shell (ssh) l Machine name/IP address E.g. ssh hydra.sma.nus.edu.sg Or ssh
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.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Introduction to Programming Using C An Introduction to Operating Systems.
리눅스 : Lecture 3 Vmware, Cygwin, LINUX 설치 Acknowledgement : notes from A. Gokhale, A, Taylor.
Unix Machine In Computer Science for Teaching Cliff Zou Spring 2015.
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.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Cygwin Tutorial 1. What is Cygwin? Cygwin offers a UNIX like environment on top of MS-Windows. Gives the ability to use familiar UNIX tools without losing.
Cygwin CMSC 104 UMBC.  CygWin is a collection of free software tools originally developed by Cygnus Solutions to allow various versions of Microsoft.
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
Learning Unix/Linux Based on slides from: Eric Bishop.
An introduction to Cygwin Lili He Booth Engineering Center for Advanced Technology (BECAT) Seminar.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Using Grsync with Ubuntu Presented by Dave Mawdsley, DACS Member, Linux SIG August 20, 2008 (making rsync easy with a memory key or a server)
ENEE150 Discussion 01 Section 0101 Adam Wang.
Class Projects and Environment
SEEM3460 Tutorial Unix Introduction.
CS1010: Intro Workshop.
CSC227: Operating Systems
Chapter 9 Router Configuration (Ospf, Rip) Webmin, usermin Team viewer
Andy Wang Object Oriented Programming in C++ COP 3330
FTP Lecture supp.
File Transfer Olivia Irving and Cameron Foss
Telnet/SSH Connecting to Hosts Internet Technology.
slides borrowed and adapted from Alex Mariakis and CSE 390a
Andy Wang Object Oriented Programming in C++ COP 3330
Class Projects and Environment
Yung-Hsiang Lu Purdue University
Linux Operations and Administration
Video Notes.
Presentation transcript:

Cygwin Training Seminar January 27, 2005 MDL AWIPS (Room 10246)

Presenters Steve Olson Jon Shum

Agenda 1. Installation Guidelines 2. Highlights of Cygwin features (Basic and Advanced) 3. Reference Guide

1. Installation Guidelines MDL has standardized it's X11 and ssh (replacing telnet and ftp), interface software for PC's. The major goal is to allow secure access from desktops PC's to the various Unix servers that MDL and other divisions support. Three software packages have been chosen. Cygwin, WINscp, and Putty terminal software. There are different situations under which each package will serve a user best. Consequently, the following recommendations have been made:

Use case recommendations Cygwin allows X11 servers to be displayed on your windows desktop. Use Putty terminal in secure mode when terminal access is needed but X11 display functions are not. Use WINscp for secure, ftp-like, file transfers between PC's and Unix hosts. See page 9 for a graphic depiction of all available options.

Download areas The Cygwin software and localized installation directions can be found at: Putty terminal software can be found at WINscp software can be found at: Please address any questions to

2. “Advanced” unsupported cygwin features

Advanced Cygwin Overview Cygwin offers a UNIX like environment on top of MS- Windows. Gives the ability to use familiar UNIX tools without losing access to “typical” MS-Windows programs Does not require a UNIX administrator’s level of expertise to setup and maintain. As with anything in MS-Windows, you are responsible for your system. There are no “automatic” backups (except on the shared drives) and you need to “think about what you are doing”. Most security issues can be left to MS-Windows administrators, since it is not a new operating system, but rather a set of programs in the MS-Windows operating system

Cygwin, not necessarily a “catch all” TaskPuttyWinSCPCygwinCygwin-XExceed Remote SSH sessionYesNoYesExcessivePatch SCP sessionPscpYes ExcessivePatch? Fast install / uninstall on a “borrowed” machine YesNo Remote GUI Desktop (and tools) (hogs communication lines) No Yes Local GUI Desktop (and tools)No YesNo Local UNIX like command line tools (compiler, scripting, editors, file utils) No Yes No GemPakNo Yes Cost (usage at home / telecommuting) Free Costly

Cygwin: Features beyond the basic Command line tools: Compiler (gcc, g77, g++, make) Network tools (ssh, scp, rsync) Programming tools (splint, indent) Version control system (cvs, rcs) File tools (diff / patch, head / tail / cut, od) Shell scripting (bash, tcsh, zsh) Archive (tar, gzip, bzip) Man Pages Interpreters (expect, Tcl/Tk, perl, python) Editors (vi, pico (see pine), emacs) Easy copy / paste between cygwin and MS-Windows programs (rxvt) Scheduled task capability (cron) ImageMagick (convert) {Extension: CD Images (mkisofs)} GUI based tools: Xemacs “xv” Ghostscript {Extension: GrADS}

Command line tools: compilers Example hello.c: #include int main (int argc, char **argv) { printf (“Hello world\n”); return 0; } > gcc hello.c –mno-cygwin –o hello >./hello Hello World > ls hello.exe Example hello.f PROGRAM HELLO WRITE (*,*) “Hello World” END > g77 hello.f –mno-cygwin -o hello >./hello Hello World > ls hello.exe Note: -mno-cygwin flag compiles the code so that it is not dependent on /bin/cygwin1.dll. This means hello.exe can be run on any MS-Windows operating system.

Command line tools: Network Network tools “ssh”: Secure connection “scp”: Secure file transfer “ftp”: File transfer protocol (Primarily for anonymous ftp connections) “rsync”: Syncronize file trees (Doesn’t always work for large file trees).

Command line: Programming tools / Utils Programming tools: Indent: Useful for making C code indent properly. Splint: Similar to “lint”, is available in cygwin, but has not (yet) been used by MDL. Version control systems: “cvs/rcs”, are available but have not (yet) been used by MDL. File utils: “diff / patch”, “head / tail / cut” behave as they normally do. “od” does an octal dump as usual, but has some minor endian issues in its output.

Command line: Shells / Archives / Man Page Cygwin comes with bash and tcsh. Evaluation branch has done several cygwin bash scripts, primarily for NDFD verification. Note: It is useful to know that in order to mimic UNIX, cygwin mounts the MS-Windows drives “c:\”, “a:\”... to “/cygdrive/c/”, “/cygdrive/a/”... Thus “c:/windows” = “c:\windows” = “/cygdrive/c/windows”. Archive tools tar / gzip / bzip all behave similarly to the standard UNIX tools (no need for winzip) Man Pages

Command line tools: Interpreters “expect”: This is an extension to Tcl/Tk that assists with automating tasks that require user input. Evaluation branch uses it primarily for automating anonymous ftp sessions. Also used for multiple scp sessions where the password is the same and we want to enter it once. “tclsh”: Used when dealing with a complicated script that can not be done easily in “bash”. Examples: Need to manipulate time. Need to use a C extension to Tcl. Testing CGI scripts “perl”: Testing CGI scripts “python”

Command line tools: Editors / Copy / Cron Editors: “vim” “pico” (if you install pine) “emacs” Easy copy / paste (rxvt): The standard cygwin interface uses “cygwin.bat” which uses an MS-DOS command prompt. That command prompt causes difficulties with copy / paste. The “rxvt” terminal uses its own MS-Windows interface, which allows it to enable highlight copying, and middle button pasting using the MS-Windows clipboard. Cron jobs Evaluation branch uses this for updating the extra-tropical storm surge web site ( every 2 hours. Advantage over scheduled tasks is that uses a crontab, so it is easier to control.

GUI tools Cygwin comes with fvwm / twm I tend to avoid the GUI aspects of Cygwin as it takes time to bring up. However I have found both “xv” and “ghostscript” useful from time to time. Xemacs is available, but I have not used it ImageMagick

Extending Cygwin KDE A very good desktop environment that works with cygwin GrADS Cygwin does not come with GrADS, but I have managed to install GrADS, and use it in Cygwin. Mkisofs Creates CD images without reliance on “Joliet” (MS- Windows) standard (so it can be read by HP systems) NetCDF viewers

3. Reference Guide The Cygwin software and localized installation directions can be found at: Putty terminal software can be found at WINscp software can be found at: This presentation will be available on the following website: