ENGINEERING COMPUTING CENTER LINUX workshop

Slides:



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

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.
ECC LINUX WORKSHOP (INTRO COURSE). WHAT WILL BE COVERED 1.UNIX/Linux Overview 2.Red Hat Enterprise Linux 3.ECC-UNIX accounts 4.How to Login 5.GUI Navigation.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Working Environment - - Linux - -.
Lesson 22 – Introduction to Linux Systems Administration.
Guide To UNIX Using Linux Third Edition
“Linux at the Command Line” Don Johnson of BU IS&T.
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.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Introducing UNIX EMBnet slide 1 Introducing the UNIX Operating System.
Welcome to Linux & Shell Scripting Small Group How to learn how to Code Workshop small-group/
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
CSN08101 Digital Forensics Lecture 1B: Essential Linux and Caine Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
CENT 305 Information Systems Security Linux Introduction.
ECC LINUX WORKSHOP (INTRO COURSE). WHAT WILL BE COVERED 1.UNIX/Linux Overview 2.Red Hat Enterprise Linux 3.ECC-UNIX accounts 4.How to Login 5.GUI Navigation.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Operating System - Linux Ph. D. Course Work : PHYS 601 Statistics and Computer Applications Presented By: Sanjay Godara Dept. of Physics & Astrophysics.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
UNIX File System by Tero Toikkanen, CAP02S. UNIX Multi-user system Multi-user system Multi-tasking system Multi-tasking system Wide selection of tools.
CS4710 Why Progam?. Why learn to program? Utility of programming skills: understand tools modify tools create your own automate repetitive tasks automate.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.
Unix/Linux for beginners:
Introduction to Programming Using C An Introduction to Operating Systems.
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.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
ECC LINUX WORKSHOP (INTERMEDIATE COURSE). WHAT WILL BE COVERED 1.Input, Output and Pipes 2.Processes 3.Compiling Unix Software Packages 4.Symbolic and.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  There are many different.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Learning Unix/Linux Based on slides from: Eric Bishop.
Linux 101 Mark C. Ballew ACES Program Desert Research Institute.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
Linux 101: Introduction To Linux Purdue Linux Users Group Speaker: Thor Smith.
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
Overview of Linux Fall 2016 Dr. Donghyun Kim
ENEE150 Discussion 01 Section 0101 Adam Wang.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
CS1010: Intro Workshop.
Development Environment Basics
ECC Linux workshop (intro course)
Web Programming Essentials:
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Andy Wang Object Oriented Programming in C++ COP 3330
Introduction to Linux Dr Karina Kubiak - Ossowska
FTP - File Transfer Protocol
Introduction to UNIX.
Unix : Introduction and Commands
Web Programming Essentials:
Andy Wang Object Oriented Programming in C++ COP 3330
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Lecture 5: UNIX & LINUX Operating Systems
Lab 2: Terminal Basics.
Presentation transcript:

ENGINEERING COMPUTING CENTER LINUX workshop

WHAT WILL BE COVERED UNIX/Linux Overview Red Hat Enterprise Linux How to Login Password Reset Applications Command Line Change Password Shell Commands and Create Text Files Linux File-system Hierarchy File Permissions Remote Access & File Transfer Security & ECC Policies

UNIX overview UNIX was developed in 1969 at Bell Labs. Originally used as a workbench for programmers to develop new software for testing. Main Functions of UNIX: - High performance - Resource Sharing - Multi-User Access - Programming and Software Development

Flavors of unix

UNIX distributions Open Source: Linux, Minix, FreeBSD, OpenSolaris Open & Closed Source: Android Closed Source: MacOS X, Solaris, AIX, HP-UX

LINUX Linus Torvalds developed the Linux kernel in 1991. Collaborated with the GNU Project in 1992, to create the first free operating system for the public. Many distrubutions of Linux include Debian, Fedora, Mandriva, SUSE, Slackware, and Android Most distributions are free for use, some are NOT

Advantages of a Linux OS? Hardware/Software High Compatibility Resource Allocation/Sharing Flexibility Security Very few Viruses Encryption Dynamic Firewall Choice Complete Control Open Source Software Scripting and Automation Experimentation

RED HAT ENTERPRISE LINUX 6 Originally Released in 2003 Mainly used as enterprise level server OS Trademark and Support are NOT free CentOS and Scientific Linux are free rebuilds

Centos 6 http://www.centos.org/ A free, community supported enterprise OS. Exact replica of RedHat Enterprise Linux

HOW TO LOGIN OPEN X-WIN 32 FROM START MENU CONFIGURE X-WIN 32: - New Connection “Manual” Choose ‘XDMCP’ ‘General’ tab Connection Name: tuxedo XDMCP mode: Query HOST: tuxedo.egr.uh.edu Hit ‘Save’ Hit ‘Launch’ USE ECC UNIX ACCOUNT TO LOGIN

RESET PASSWORD (online) GO TO: http://www.uh.edu/infotech/ Click “Password Reset” Choose the box “I need to reset a password that is not listed here” Enter security information Click “Reset”

NAGIVATE THE GUI (GRAPHICAL USER INTERFACE) Applications - accessories - word processing - system tools - command line (terminal) Places - Home folder - subdirectories - search for files System - Preferences - Administration Utilities - System Documentation

APPLICATIONS Firefox Libre Office Terminal Text Editors - web browser - Open source version of Microsoft Word, Excel, Powerpoint Terminal - command line shell prompt - faster than GUI Text Editors - EMACS - VI/ VIM/ NANO (command line)

Class software location Located: /usr/local MATLAB, Abacus, Fluent, Cadence, Comsol, etc…

ACCESS THE COMMAND LINE PROMPT Applications  System tools  Terminal Fully text based command prompt Shell prompt [ username@<hostname> <current working directory>] $

USING SIMPLE SHELL COMMANDS Navigation: ls – list directory contents ls –l - view files and permissions pwd – print, current working directory cd – change directory cd <directory path> Ex. cd /home/user Copying, Moving, and Deleting cp – copy files and directories cp <file source> <file destination> mv – move or rename file mv <file source> <file destination> touch – make basic text files touch <file name> mkdir – create a directory mkdir <directory file path> rm – delete file or directory (can be destructive) rm <file path> rmdir – delete directory (empty directory) rmdir <file path>

SHELL COMMANDS (continued) Search commands: find – search for files Find <sourse directory> -name <name of file or directory> -print Documentation: man – manual pages man <command or application> Change File Permissions: chown – change file owner and group chown owner:group <file path> chgrp <groupname> <file path> chmod – change file mode and permissions chmod <permission number> <filepath> Read = 4 Write =2 Execute = 1 System commands: top – shows current processes that are running df –h: show the file system disk space usage w – shows who is logged on to the system uptime – see date, load average, and # of users uname –a : to see current OS version and computer hostname Network Statistics Ifconfig – network card information netstat –rn: see IP routing information

Change password (command Line) New password format: mmddyy<last initial>! Type command in prompt to reset: yppasswd Will prompt for old password Password Rules: Minimum 8 characters. At lease one Capital Letter At least one Special char @#&%!

Create & EDITING TEXT FILES VIM vim <edit file name or new file create> NANO Nano <file> EMACS GUI text editor

Linux File-system Hierarchy

FILE PERMISSIONS drwxrwxrwx First character: rwx permissions: d = directory (blue) l = symbolic link (cyan) ‘-’ = a file (white) rwx permissions: R = read W = write X = execute First set: owner Second set: group Third set: everyone

REMOTE ACCESS Ssh – Secure Shell client A program used for “shell” access to a remote system. Login using UNIX/Linux terminal (shell), or through “PUTTY” Use ECC UNIX account info to login PUTTY (for Windows Use) - free application - allows shell logins from a windows desktop

Remote access (cont) SSH from PUTTY: Open PUTTY app from Windows Type the hostname or IP of destination Port is always 22 Enter ECC-UNIX user ID, and password If successful, user command prompt will be shown SSH from another terminal (shell): Type command: ssh <username>@<hostname>

file Transfer WinSCP: Transfer files from Windows to Linux and vice versa Installation located in “software download” on Access UH Login: - Open WinSCP program - Enter user credentials, click login

SECURTIY & ECC POLICIES ECC website http://ecc.egr.uh.edu/engineering- computing-center-policies ECC Usage Policy http://ecc.egr.uh.edu/sites/ecc.egr.uh.e du/files/files/cce_policy_computing.pdf

Security DO NOT, give anyone your password DO NOT, let anyone use your ECC-UNIX account All activity is being tracked and logged, including command history. Report any suspicious activity to either Kiet Luong or Zain Marvi Kiet Luong Zain Marvi Engineering IT Director System Administrator 1 Information Security Officer Email: zhmarvi@central.uh.edu Email: KDLuong@Central.UH.EDU