Fedora
Fedora
Fedora
3 3 4 6 8 10 10 10 11 11 12 12 12 12 13
Hardware 3.1 CPU . . . . . . . . . . 3.2 Hard Drive . . . . . . . 3.3 Memory . . . . . . . . . 3.4 . . . . . . . . . . . RAID 4.1 4.2 4.3 4.4
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
File System 14 5.1 ext2 Second extended file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.2 ext3 Third extended file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Memory Management 16 18
Unix
4 4
Richard Matthew Stallman, GNU ( http://en.wikipedia.org/wiki/Linux) . . . 5 Andrew S. Tanenbaum, Professor of Computer Science, Vrije University . . . . . . . . . . . . . 5 Red Hat Enterprise Linux 4 ( http://en.wikipedia.org/wiki/Red Hat Enterprise Linux) . . . . 6 Fedora Core 4 GNOME desktop environment ( http://en.wikipedia.org/wiki/GNOME) 7 8 8
Linux
Fedora Linux Core 4 Unix Linux
1.1
Thompson
Unix
Unix Bell Labs ( AT&T) Ken Dennis Ritchie 1969 MIT (Massachusetts Institute of Technology), AT&T Bell Labs GE (General Electric) Multics 1960 Mainframe Computer GE 635 (Interactive) Bell Ken Thompson Ken & Dennis Unix PDP-11/20 Bell Labs . . 1976 . . 1978 Version 7 Bell Labs AT&T Unix Assembly Unix) Unix Unix System III 1982 Unix Berkley Multics (Shell) C( Version AT&T Unix Dennis Ritchie
1983 System V University of California at Berkley BSD Unix (Berkley Software Distribution) (Defense Advanced Research Projects Agency - DARPA) Unix TCP/IP Version Protocol X.25 XENIX V Group Unix 1. 2 Unix Digital Unix, SCO Unix, IBMs Open Edition 2. Unix ( 1.1) Unix Clone) The Open Group Unix Sun OS BSD Version 4 Berkley Berkley Solaris AIX BSD Version 4.4 Unix DEC Berkley Ultrix (Registered Trademark) Unix OSF/1 BSD DARPA . . 1993
1.1)
1.1:
Unix
Unix Compatible (
http://en.wikipedia.org/wiki/Unix)
1.2
Linux
. . 1980 Linus Trovalds ( 1.3) . 1990 1.2) GNU Unix
(Computer Science) . . 1983 Richard Matthew Stallman ( Linux GNU Thomas Bushnell . 1991 Minix GNU Bash Shell
Linux kernel ( 4
http://en.wikipedia.org/wiki/Linux)
GNU (
http://en.wikipedia.org/wiki/Linux)
X comp.os.minix .
2.6.14 (01/11/05) 1.0.x,1.2.x 1.1.x, 1.3.x GNU/Linux Open Source ) Source ( ) Linux Linux Novell Sun Microsystems IBM, Linux Distribution Linux Open Source ( Linux Open
1.3
Fedora Linux
1.5: Red Hat Enterprise Linux 4 ( Linux Distribution 1.5) Server Download Package 2003 Linux Red Hat Linux Linux Distribution 1 Red Hat Inc. (
http://en.wikipedia.org/wiki/Red Hat Enterprise Linux) Red Hat Linux ( Distribution Downtime Desktop ) Windows Support Open Source Red Hat Red Hat
Graphic Interface
Linux Distribution Red Hat Enterprise Linux Project Fedora Linux Fedora Linux 3 Linux Red Hat Linux Package
2 Fedora Linux Red Hat Red Hat Inc. Red Hat Enterprise Linux Red Hat Advance Server Community
1. Advance Server (AS) 2. Entry Server (ES) 3. Workstation (WS) 4. Desktop Red Hat Enterprise Linux Fedora Fedora Core ( Linux 1.6)
Beta tester
http://en.wikipedia.org/wiki/GNOME)
2004 Notebook
Fedora Core 2 (FC2, Fedora Legacy 2.6, KDE 3.2.1, SELinux Windows XP
Tettnang) 11
2005
Fedora Core 3 (FC3, Heidelberg), i386 AMD64 8 KDE 3.3.0, X.Org Server 6.8.1, Xen virtualizer, Fedora Core 4 (FC4, GNOME 2.10 Stentz)
Eclipse IDE
Fedora Core 5 Test 1 ) 2006 21 23 23 27 Fedora Core 5 2005 - Fedora Core 5 Test 1 2005 - Fedora Core 5 Test 2 2006 - Fedora Core 5 Test 3 2006 - Fedora Core 5 Final ( )
27
OS
Fedora Packages 5,000 packages GUI installation Packages
Nautilus (
Windows Explorer)
GNOME
2.1)
http://en.wikipedia.org/wiki/GNOME)
GNOME (
Server (Web Server, Mail Server, DHCP Server, DNS Server, Internet Sharing, Proxy Server, File sharing Server ) Lan Card 1 Lan Card Internet Lan Card Network Fedora Linux IP Address (DHCP Server), Share Internet, Proxy Server DNS Cache Server Internet , Firewall , Internet Port Lan Card Fedora Linux IP Address (DHCP Server) Proxy Server * Lan Card Firewall Share Internet Apache Web Server Website Web page FTP Fedora Linux Admin Samba Server Network Place File File Share Web page Windows ssh Unix/Linux Client Windows ( backup) Web Admin Tools Windows Internet Mail Webmin Tools Mail Fedora Linux
Fedora Linux File Operating System (OS) Intranet Mail Server Server Mail Server Internet Fedora Linux Spam Visual Host Backup and Restore Restore Backup
CD/DVD Upgrade
Programming language C/C++, Java, Perl, Python, Ada, Tck/tk, Embedded systems , Palm Portable device Linux
Graphics Rendering, Realtime, Image Processing and Simulation Linux , Daimler Chrysler Linux Image Processing
Reder
Linux Cluster
Software
Hardware
3.1 CPU
graphical-mode
400 MHz
32-bit
graphical-mode
3.2
Hard Drive
10
3.3
Memory
3.4
Keyboard*, Mouse* Floppy Drive*, Optical Drive*, Monitor* * Optical Drive Optical Drive Optical Drive
11
RAID
RAID RAID logical unit) Redundant Array of Independent Disks Redundant Array of Inexpensive Disks Hard Drive Hard Drive Hard Drive 1 ( single
4.1
RAID
1978 Norman Ken Ouchi IBM for recovering data stored in failed memory unit" U.S. Patent 4,092,732 "System
1988 RAID level 1 - 5 David A. Patterson, Garth A. Gibson "A Case for Redundant Arrays of Inexpensive Disks (RAID)" SIGMOD Conference 1988 109 - 116
Randy H. Katz
4.2
RAID
(Data Transfer Rates) single logical unit (C,D,E )
4.3
Inexpensive
I RAID RAID
independent ?
independent inexpensive SCSI IDE/ATA RAID RAID Flash Inex-
memory pensive
Independent
12
4.4
3
RAID
RAID Standard RAID levels Level Level Standard RAID levels, Nested RAID Levels, Proprietary RAID levels
Level
Striped Disk Array without Fault Tolerance Data Block RAID parity , RAID performanceData Block
RAID 0 (data redundancy) Hard Drive Hard Drive RAID Level 1 2 Drive Disk Mirroring
parity RAID Level 0 Hard Drive RAID Level 4 striping parity bit RAID Level 0
Independent Data Disks with Shared Parity Disk Hard Drive 3 Drive 2 Drive Drive parity bit strip strip parity bit parity strip RAID Level 0 parity bit Drive parity 2
RAID Level 5 striping parity bit RAID Level 0 bit Drive stripping
Independent Data Disk with Distributed Parity Blocks RAID Level 4 2 Drive Drive parity bit Drive strip parity Drive RAID Level 5 Drive 3 stripping 1 2 3 parity bit Drive 2 3 1 parity bit
linear RAID
allocated drive
linear RAID
13
File System
File System (FS) file system Minix File system Fedora Linux xiafs 2 NILFS, ReiserFS Fedora Linux Core 4 Linux ext2 Reiser4 ext3 File System Extended file system ext
5.1
ext2 System ext2
ext2
* Journaling File System (FS) Journaling FS dows, XFS IRIX, EXT3, Reiser4, ReiserFS Journaling FS force reset ( 100% power ..
shutdown process)
5.2
ext3
1. Journaling File System 2. H-tree (hashed tree) directory indexes 3. Online filesystem resizing ext3 file system Red Hat Linux, Fedora Linux Core, Ubuntu Linux Debian Linux
14
ext3 ext3 online resizing), Third extended file system (ext3) ext2 2001 ( Linux ), Remy Card ( ext2, ext3
File allocation : bitmap (free space) Bad blocks : Table : 255 : : 2TB
: 32TB
15
Memory Management
kernel memory management
Paging (Physical memory) ical memory) page table (frame management) (Process address space) Memory descriptors Memory regions Page faults (Log-
Intel x86
segmentation * segmentation
16
4KB
x86 CPU
8KB
Alpha CPU
x86 processors page table 2 32 bit addresses space 32 bits) user space 3 GB
Segment + Offset 4 GB Linear address ( kernel space 1GB hardware TLB (Translation Lookaside Buffer) ** )
paging * Segmentation (
2 (Offset) (Dynamic partitioning) ** TLB : Translation lookaside buffer ( 2 2 TLB miss cach memory (TLB : Translation Lookaside Buffer) TLB TLB TLB hit (Internal fragmentation) )
17
(NECTEC) http://www.nectec.or.th/courseware/program/Unix/0001.html
Unix Linux ?( ) http://veer.exteen.com/20050804/Unix-linux Fedora Core ( ) http://en.wikipedia.org/wiki/Fedora Core Fedora Project, sponsored by Red Hat (Red Hat, Inc.) http://fedora.redhat.com/ Red Hat Enterprise Linux ( ) http://en.wikipedia.org/wiki/Red Hat Enterprise Linux Journaling filesystem ( ) http://en.wikipedia.org/wiki/Journaling filesystem General overview of the Linux file system (Machtelt Garrels) http://www.faqs.org/docs/linux intro/sect 03 01.html The Official Red Hat Linux Reference Guide RAID (Red Hat, Inc.) http://www.redhat.com/docs/manuals/linux/RHL-6.2-Manual/ref-guide/ch-raid.html Comparison of file systems ( ) http://en.wikipedia.org/wiki/Comparison of file systems Linux Memory Management (Craig M. Grube) http://www.cs.purdue.edu/homes/li/cs690Z/Outline/vmm.pdf Lecture Overview Linux Memory Management (Dr. Richard Hall, Torsten Fink) http://www.inf.fu-berlin.de/lehre/SS01/OS/Lectures/Lecture14.pdf Journaling filesystem, http://www.cs.su.ac.th/ (ithilien rp ( ))
18