1 / 7

Unix S/W

Unix S/W. PC S/W 와 같은 구조 OS(Operating System) : 변종이 많다 Linux(Red Hat, Debian, …), Solaris, HPUX, AIX… 통신 S/W Web Browser(Netscape, IE), Mail, FTP, HTTP server(Apache, NCSA, Netscape…) 등 사무자동화 S/W Star Office 등 개발자 도구 S/W

johnna
Download Presentation

Unix S/W

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Unix S/W • PC S/W와 같은 구조 • OS(Operating System) : 변종이 많다 • Linux(Red Hat, Debian, …), Solaris, HPUX, AIX… • 통신 S/W • Web Browser(Netscape, IE), Mail, FTP, HTTP server(Apache, NCSA, Netscape…) 등 • 사무자동화 S/W • Star Office 등 • 개발자 도구 S/W • gcc, xlin and motif(그래픽 라이브러리), perl, mySQL, Oracle, Informix 등…다양하다

  2. Unix의 구조 • 몇층의 껍질 구조를 갖는다 • Hardware • Unix System Call • Unix Command Shell  MS-DOS Command.com • Application 들 • Command Shell이 다양하다 • 키보드로 부터 문자 명령어를 받아 적당한 system call을 수행하고 그 결과를 화면에 출력하는 기능 • Borne Shell(/usr/bin/sh), C Shell(/usr/bin/csh), tc shell(/usr/bin/tcsh) • Login시 제일 먼저 수행되는 프로그램(일반적으로)

  3. MS-DOS와 크게 다른점 • Login을 요구한다 • /etc/password, /etc/shadow • 각줄에는 사용자 ID, 번호, 그룹, 설명, 홈 디렉토리의 위치, 그리고 수행할 Shell • 모든 화일과 디렉토리에 대해 사용자관리를 한다 • Owner, Group, Other로 세가지 그룹으로 구별 • rwx (read, write, execute) , directory • 이런 정보가 3bit에 내장되어 표시된다 • 텍스트 화일의 구조가 다르다. • PC는 매줄 마다 CR LF를 이용하는데 비해 UNIX는 CR만 사용한다

  4. Unix Login과정 • Login과 password 입력에 의해(Console이나 Remote Telnet에 의해) Login process가 수행된다 • /etc/password 와 /etc/shadow를 이용하여 사용자 확인 • 해당되는 shell 프로그램을 수행한다 • Shell은 각 사용자의 홈 디렉리로 이동하면서 .cshrc 화일에 수록되어 있는 명령어를 수행한다. • MS-DOS의 AUTOEXEC.BAT와 같은 기능을 한다 • Shell 에 따라 화일명이 다르다. • .cshrc 는 이름이 없이 화일 확장자만 있다. 그냥 ls를 해서는 리스트가 되지 않는다.

  5. Unix 기본 명령어들 • ls : 화일 디렉토리 리스트를 요구 • ls –l 혹은 ls –a 혹은 ls –la • cd : 디렉토리 위치 변경 • cd .. 혹은 cd . 혹은 cd ~shpark • mkdir 혹은 rmdir : • cp : copy • chown : 화일 이나 디렉토리의 owner (소유자)를 변경 chgrp • chmod : 화일 이나 디렉토리의 모드를 변경 +r 혹은 -x • rm : remove • mv : move • man : manual 요구 • vi, emacs : full screen text editor (수 많은 명령어들이 부담스러우면 PC text editor를 사용하고 Unix로 upload할 것)

  6. UNIX 사용에 필요한 PC 툴 • Remote Access용 • telnet (MS사) • netterm • Unix용 text editor로 • Editpad • File upload/download • wsFTP, Alftp 등 유사한 ftp 툴 • 화일 압축 • Gunzip/Gzip이 많이 사용된다. 주로 /usr/local/bin/gunzip /usr/local/bin/gzip 에 설치되어 있다 • PC의 winrar가 이포맷을 처리할 수 있다

  7. Mis2 기계에 홈페이지 구축 • http://mis2.mju.ac.r/~shpark 처럼 • 각 사용자의 home directory 밑에 public_html subdirectory를 만들어 모두 html 등의 화일 이 subdirectory에 저장한다 • /export/home/shpark/public/index.html 를 retrieve 한다 • 어떻게 하면 되나 ? • 계정을 만들고 (shpark@mju.ac.kr 에 메일로 신청) • mkdir public_html을 하고 • FrontPage등과 같은 web editor로 index.html 등을 만들고 • wsftp 를 이용해서 public 디렉토리에 upload 한다. • 작업중 화일 디렉토리 속성을 화일 하도록 (rwx)

More Related