1 Introduce Linux Speaker: Yi-Ji Jheng Date: 2007.09.26.

Slides:



Advertisements
Similar presentations
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Advertisements

Introduction of Unix/Linux Compiled by Anant Vishnoi.
1 CSE 390a Lecture 1 introduction to Linux/Unix environment slides created by Marty Stepp, modified by Josh Goodwin
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.
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
Introduction to Linux/UNIX. History UNIX beginnings in 1969 (Linus Torvalds is born!) AT & T Bell Laboratories (Ken Thompson & Dennis Richie) Working.
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.
ENGINEERING COMPUTING CENTER LINUX workshop
A crash course in njit’s Afs
Linux Commands LINUX COMMANDS.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
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.
MODULE 4. “Hello everbody out there using minix – I am doing a (free) operating system just a hobby, won’t be big and professional like gnu) for 386(486)
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
1 Linux Programming Environment Setup. Outline  Introduce Linux  Install Linux on Vmware  在 Windows 下常用的 Software  Practice 2.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
Operating System - Linux Ph. D. Course Work : PHYS 601 Statistics and Computer Applications Presented By: Sanjay Godara Dept. of Physics & Astrophysics.
The UNIX development environment CS 400/600 – Data Structures.
Module 4 Open Source Linux Open Source Linux. MODULE OVERVIEW Part 1 What is Linux? Part 2 Linux Community & Open Source Part 3 Overview of Linux Features.
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
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
Carnegie Mellon Linux Boot Camp Jenna MacCarley, Peter Pearson, Shashank Goyal 9/19/2015.
HKOI 2012 TRAINING INTRO TO LINUX /CUHK/SHB123]$ date Sat Feb 18 13:00:00 HKT 2012.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
L&T Infotech1 UNIX – Getting Started - Aneesh Ramani.
1 CSE 390a Lecture 1 introduction to Linux/Unix environment slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Apr. 25, Grid Computing Hands On Training for Users Faculty of Sciences, University.
OS Project 0 February 25, Outline  Linux Installation  Linux Kernel Compilation  System Call Development  Kernel Modules / 452.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
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.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
ICE UNIX TUTORIAL. File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete.
1 Setup and Compile Linux Kernel Speaker: Yi-Ji Jheng Date:
Learning Unix/Linux Based on slides from: Eric Bishop.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
Linux 101 Mark C. Ballew ACES Program Desert Research Institute.
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
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.
EE516: Embedded Software Project 1
Getting started with CentOS Linux
Web Programming Essentials:
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Basic Commands ls cp ls –l (in detail format) echo ls –a
Some Linux Commands.
Introduction to Linux Dr Karina Kubiak - Ossowska
Basic knowledge about Linux
Introduction to GNU/Linux (Fedora) Command Line Interface
Linux.
An Introduction to Linux Operating System Installation and commands
Introduction to Linux Week 0 - Thursday.
Unix : Introduction and Commands
Web Programming Essentials:
Getting started with CentOS Linux
Working with Mac OS and Linux
1.3 Given a scenario, apply appropriate Microsoft command line tools
Presentation transcript:

1 Introduce Linux Speaker: Yi-Ji Jheng Date:

Outline  Introduce Linux  Install Linux on Vmware  Common software  Linux commands and Practice 2

INTRODUCE LINUX 3

History  Linus Torvalds make a Minix (Mini Unix) kernel Just only row of codes for C  Richard Stallman bring up GNU plan Open source Free Unix-like  GNU/Linux  Linux Kernel + many modules 4

Use  Server MySql + PHP + Apache  Embedded system STB (Set Top Box)  Super Computer 75% (Top 500 on the world)  Game Sony PlayStation 3 Microsoft XBOX 5

Linux Kernel  Linux Kernel version format Linux-a.b.c  a  kernel version  b  odd : test  even : stable  c  number of bug fix  Common, Linux-2.4.x and Linux-2.6.x 6

Linux distribution  Redhat 9  Linux-2.4.x  Fedora 1  Linux-2.4.x  Fedora 2~  Linux-2.6.x  Debian  more app. (15940)  Trustix  more safe and stable  Knoppix  LiveCD 7

Other  It’s not must on Linux, because Source code can change  Find Linux distribution or modules 義守大學檔案伺服器  Good Web Site 鳥哥的 Linux 私房菜 8

INSTALL LINUX ON VMWARE 9

Vmware  Use software (VMware ESX Server) to“virtualize”the hardware resources  Including the CPU, RAM, hard disk and network controller  To create a virtual machine that can run its own operating system and applications just like a “real” computer 10

Install Linux 11

12

13

14

15

16

17

18

19

20

21

22

23

 Mainly, press the “Next” forever  We’ll point out options that need to setup below 24

25

26

27

28

 Because it’ll be “Host Linux”, we only select below Development Tools Editors 29

30

31

32

33

 setup all sevice close, only network and sshd 34

COMMON SOFTWARE 35

Pietty  Use SSH ( Secure Shell ) protocol Allows data to be exchanged over a secure channel between two computers  Why use it? Convenient for In/Out Vmware console Good copy way  36

37

38

Winscp  Support SFTP (SSH File Transfer Protocol) SCP (Secure Copy Protocol) FTP (File Transfer Protocol)  Good way to transmission data between Windows and Linux  39

40

41

LINUX COMMANDS AND PRACTICE 42

Linux Command Format  Command [–options] [param1] [param2] … Short option use “-” Long option use “--”  Ex. dmesg gcc –v gcc ––help cp file1 file2 43

File management  ls  list ls –al  chmod  change authority -rw-r--r-- 1 root root 20 Sep 25 12: log 44 d : directory l : soft-link - : file c : char device b : block device owner group other r w x Ex. Chmod 755 file -rwxr-xr-x

 rmdir  remove directory  mkdir  make directory  cp  copy cp from to  mv  move or rename Move from to  cd  change directory cd cd – cd.. 45

 find -name  find file find –name  grep  find string dmesg | grep CPU  cat  print to stdout  file  print file info.  touch  change file’s timestamp  make a file 46

 rm  remove rm –rf  man  command manual  tar  uncompress or compress tar zxvf file.tar.gz tar zcvf backup.tar.gz /root tar jxvf file.tar.bz2  ln  soft-link ln –s 47

Network  route  setup or print route rule  ping ping -c 4  ifconfig  setup or print network Ifconfig eth0 xxx.xxx.xxx.xxx 48

System  reboot shutdown –r  shutdown shutdown -h now  ps  print process ps aux  kill  terminate process kill killall 49

 uname  show system info. uname –r uname –a  Free  memory allocate state  sync  store memory buf. to disk 50

Vi Editor  vi filename 51

Visual Mode  yy  copy a row  p  paste a row  dd  delete a row 52

Insert Mode  Input what you want 53

Command Mode  :wq  save file and quit  :q!  un-save and quit  :100  jump to 100 th row  /  find [key] in this file  press “n” to “Next” 54

Tips  Tab Command complement File complement  Up/Down Record command history  ` ` First to do Ex. ifconfig `cat net.conf`  net.conf  eth0 x.x.x.x 55

First program - Hello World ~!  touch test.c  vi test.c Main (normal vs prototype)  gcc test.c –o test file test ldd test strip test gcc ––static test.c –o test 56