Unix/Linux basics 0000 Operating systems lab Gergely Windisch room 4.12

Slides:



Advertisements
Similar presentations
GNU / Linux A free operating system. Summary History What can you find on a Linux OS Linux Economy.
Advertisements

V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 7 Topics: Tech Talks Field Trip Complete VirtualBox/Ubuntu.
Linux vs. Windows. Linux  Linux was originally built by Linus Torvalds at the University of Helsinki in  Linux is a Unix-like, Kernal-based, fully.
History of UNIX Fergus Toolan Intelligent Information Retrieval Group University College Dublin.
Introduction to Unix GLY 560: GIS for Earth Scientists Class Home Page:
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Guide To UNIX Using Linux Third Edition
Introduction to Linux Chapter 1. Operating Systems Operating System (OS) - most basic and important software on a computer Performs core tasks Organize.
Linux Introduction. Overview What is Unix/Linux? History of Linux Features Supported Under Linux The future of Linux.
AN INTRODUCTION TO LINUX OPERATING SYSTEM Zihui Han.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
UNIX/Linux System Programming Jordan University of Science and Technology History.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/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.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
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.
1 RH033 Welcome to RedHat Linux. 2 Hardware Requirements ♦ Pentium Pro or better with 256 MB RAM ♦ Or ♦ 64-bit Intel/AMD with 512 MB RAM ♦ 2-6 GB disk.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
LINUX/UNIX WORKSTATIONS Franklin Montenegro Carlos Sierra.
Overview of Linux Dr. Michael L. Collard 1.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
유닉스, 왜 공부하나 ? 자동화 –GUI vs commands 서버 개발 능력, 관리 능력 – 데스크탑에서의 개발과 관리와의 차이 ?
Module 1 Introduction to UNIX/Linux
CENT 305 Information Systems Security Linux Introduction.
1 Linux. 2 Linux  What? An operating system devised by Linus Torvalds, based upon Unix It comes with a choice of desktop environments  Why? It's FREE!
Introduction to Unix Part 1 Research Computing Workshops Fall 2008 Office of Information Technology & Mississippi Center for Supercomputing Research Jason.
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
CS 444 Introduction to Operating Systems
Introduction to Unix Part 1 Research Computing Workshops Office of Information Technology & Mississippi Center for Supercomputing Research Jason Hale &
LINUX System : Lecture 1 Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
Library 2.06 February 2009 Linux for Librarians Nishtha Anilkumar Librarian Physical Research Laboratory Ahmedabad.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux June 2011 Kaplan University 1.
Introduction to Unix/Linux ICN Summer Institute Jackson State University June 16, 2009 Mississippi Center for Supercomputing Research Jason Hale & Susan.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
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.
CSCI 330 UNIX and Network Programming Unit I Introduction.
The UNIX Time-sharing system
UNIX History UNIX began as a research project. UNIX System V developed at Bell Laboratories. BSD (Berkley Software Distribution) UNIX XENIX UNIX Sun Operating.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
Chapter 1: Introduction to Linux. 2 Introduction Computer Components: –Hardware –Software Types of hardware and software Important components of an OS.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
Course : PGClass : MCA Subject: Operating SystemSub.Code : 3CT11 Staff Name : S.SomasundaramYear & Sem : II nd & III rd.
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
UDel CISC361 Study Operating System principles - processes, threads - scheduling - mutual exclusion - synchronization - deadlocks - memory management -
Feeling Linux yourself Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
Gaël Cuenot / IUP1 GMI 1 May 12, 2005 Gnu / Linux.
Linux Operating Systems Taking Control of the Terminal
GNU and Linux.
CompTIA Server+ Certification (Exam SK0-004)
IT320 Operating System Concepts
CSC227: Operating Systems
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
LINUX WINDOWS Vs..
Unix/Linux basics 0000 Operating systems lab Gergely Windisch
Welcome to Linux Chap#1 Hanin Abdulrahman.
UNIX & LINUX Operating Systems
Popular Operating System Chapter 8
UNIX & LINUX Operating Systems
LINUX WINDOWS Vs..
Chapter 2: The Linux System Part 1
Lecture 5: UNIX & LINUX Operating Systems
Linux Professor Sabol.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

Unix/Linux basics 0000 Operating systems lab Gergely Windisch room

About the class - organization 14 weeks - 4 hours / week Tuesdays from 15:20 to 18:40 Attendance is not optional (surprise, surprise) except for the 6th of April and when someone really does not want to come Grading – homework - necessary for taking the exam – exam - grade is given based on the score

About the class - topics We are going to cover – linux basics commands files, directories permissions – user management – program installation – shell scripting – GUI – services – for details, see unixclass.doc

Project assignment The students should create a small infrastructure consisting of at least three machines The goal is to have an application server and a separate database server set up, and then use the client to install a service to the application server.

Project assignment Three machines – Client (any desktop linux or unix will do) – Application server (web or something like that) – Database server Application server – Should serve static and dynamic content - apache, php etc. – install some freeware php application - wiki, cms, forum engine, blog, joomla, drupal - your choice – needs to be accessible via ftp from the client machine Database server – should run *sql (my~, pl~, postgre~) – will serve all the data for the application server – needs to have ftp access – needs to have a firewall that rejects direct access from every machine except for the application server The servers should be console only (no GUI) All the operating systems need to be different, at least one needs to be unix – For example: Fedora for the client, opensolaris for the app server, Solaris for the DB

Project assignment What to hand in – The virtual machines (DVD, USB stick, whatever) – Documentation 3-5 pages summary of the systems, usernames and passwords screenshots from the working systems description of the problems you have ran into (if any) Important dates – 23th of February - list of the systems to be used – 4th of May - due date

Unix - the beginning Operációs rendszer Bell laboratories Ken Thompson, Dennis Ritchie, Brian Kernighan (and many others)

Unix systems Single UNIX Specification - defines what needs to achieved to be called Unix – IBM AIX ( November) – HP-UX (HP-UX 11i v3 Update April) – Mac OS X (v10.5) – Sun Solaris (now called Oracle) (10 5/ May)

Unix-like system Systems without SUS certification can only be called Unix like – BSD (Net-, Free-, Open-) – Linux (Debian, Slackware, Gentoo, Ubuntu stb.)

Solaris Why Unix? (and not windows) – oh please… Why Unix? (and not Linux) – Stability, advanced technologies, reliability, plannability (eg. zfs, DTrace) Why Solaris? – The only one that runs on Intel architecture :) Solaris 10 vs. OpenSolaris

Solaris vs OpenSolaris Solaris 10: – Closed development – Stable – Enterprise level support – CDE graphical interface OpenSolaris – Developed since open soure – "test bed" of Solaris

OpenSolaris Sourcecode Community Distribution

Other OpenSolaris distributions SXCE (SOlaris Express COmmunity Edition) - The original OpenSolaris distributions, made by Sun (now Oracle) Schillix - the first. Belenix - interesting, it has more GUIs, not just gnome. NexentaCore - Cross between Ubuntu and OpenSolaris. Has all the GNU tools, apt-get package management, uses the ubuntu repository install software. keresztezése. Benne van a teljes GNU eszközkészlet, apt-get csomagkezelő, az ubuntu repositoryt használja a telepítéshez. It also has zfs, is able to create snapshots making it easy to restore the previous states after an upgrade that has gone badly MilaX: Nice little distribution. Aims for lightness.

Unix history It was created around the 70’s for mini computers. It has spread to the mainframes, workstations and then to personal computers Simplicity was always an aim The kernel was written in C (almost from the beginning) -> new The many flavors of Unix and the incompatiblity that came with it is still around Multiple unix versions: good, because competition enhances  there is no one accepted solution (incompatiblity) Standardization work, multiple standards (the important is „what”, not „how”) Commercially avalable Unix versions: Sun/Solaris, HP/HP-UX, IBM/AIX Interesting: Mac OS X (BSD based) Multiuser, multitask operting system

Linux Born in 1991– Linus Torvalds – x86 – Started life as a terminal app for minix Nowdays an alternative to Unix and Windows systems Linux is not Unix, but similar Unix like in appearance and programming API, different under the hood The kernel is not held by one company but is developed by the community (with centralized management - Linus) The code base is developed by the community Wide spectrum of supported hardware architectures There are some pioneer solutions, but there are also some weak spots compared to the „big” Unix versions (thread management in the 2.4 kernels for example)

Linux - distributions Linux distributions – „A Linux distribution (also called GNU/Linux by some vendors and users) is a member of the family of Unix-like software distributions built on top of the Linux kernel. Such distributions (often called distros for short) consist of a large collection of software applications such as word processors, spreadsheets, media players and database applications. The operating system will consist of the Linux kernel and, usually, a set of libraries and utilities from the GNU project, with graphics support from the X Window System. „ - Wikipedia – ldt.svg

Linux – distros (cont’d) Even more colorful than unix – free and commercial as well Most important commercial versions: RedHat and Suse Free versions: Debian and co. (debian based), Fedora (RedHat based) and openSuse Live CD try without installation – Knoppix: (Debian GNU/Linux) – Demolinux: (Mandrake) – More at:

Useful links – Hungarian Unix Portal – Only in hungarian for those of you who are interesten in the language – Place of the linux kernel – home of practically all the distributions

Where can I practice? Downloading linux: – en.opensuse.org, VMWARE pre-built images: ectory/cat/45

Where can I get help? Everywhere! – The Hungarian Unix Portal: (again, for the eager minded) – Linux Knowledge Base and Tutorial: – – Linux Shell Scripting Tutorial: –

The graphical world… Distributions – RedHat ( – Ubuntu ( – Debian ( – Slackware ( – Mandriva ( – Suse (opensuse.org) – Let’s look at some of them

Linux basics Linux is like Unix – API and the command line is unix compatible As far as we get into the subject, all the distros are the same Makes no difference which one we install

Linux basics (cont’d) Multiuser: we do not rule the whole machine – just one session (many concurrent users) Authentication before being able to do anything – user + password System access is restricted – we can only modify those to which we have the permissions Simple users cannot change (break) the system (for that would affect others)!

Because of the multiuser environment, linux is somewhat different to other pc operating systems: one machine, multiple terminals. Still apparent today: virtual console Text based mode (shell) and graphical interface (X) GUI is spreading like mushroom after the rainy season - but the main interface for setting the system up is still the console. Terminal access via TCP/IP, earlier it was via RS-232 (serial port) In a PC based desktop solution the machine and the view isn’t separated, however it is still separated underneath (modularity)

root user Every OS needs a superuser who can access everything, set things up In Unix, the role is called root. Root has total control over the machine There can only be one root, it’s task cannot be given to multiple users Possible solutions: – sudo, RBAC (hasn’t really caught on) – Security Enhanced Linux

Install'em We will be using Vmware workstation – Player, server works just as well New virtual machine – choose type – specify hardware – specify install media We have a whole bunch, try them all