《Linux操作系統(tǒng)01-簡(jiǎn)介》由會(huì)員分享,可在線閱讀,更多相關(guān)《Linux操作系統(tǒng)01-簡(jiǎn)介(33頁珍藏版)》請(qǐng)?jiān)谘b配圖網(wǎng)上搜索。
1、單擊此處編輯母版標(biāo)題樣式,單擊此處編輯母版文本樣式,第二級(jí),第三級(jí),第四級(jí),第五級(jí),Acegene IT Co.Ltd.,*,Linux,操作系統(tǒng),簡(jiǎn)介,Linux之家,1,Acegene IT Co.Ltd.,內(nèi)容提要,Linux,簡(jiǎn)介,Linux,的安裝,SHELL,及常用程序,文件編輯器,vi,目錄和文件管理,文件系統(tǒng)管理,用戶管理,網(wǎng)絡(luò)管理,網(wǎng)絡(luò)文件系統(tǒng),模塊安裝和配置,系統(tǒng)管理,系統(tǒng)優(yōu)化,開發(fā)工具,Internet,管理,2,Acegene IT Co.Ltd.,Linux,簡(jiǎn)介,Linux,操作系統(tǒng)是可以運(yùn)行在許多不同類型的計(jì)算機(jī)上的一種操作系統(tǒng)的“內(nèi)核”。它是提供命令行或者程序與
2、計(jì)算機(jī)硬件之間接口的軟件的核心部分。,Linux,操作系統(tǒng)內(nèi)核管理以下事情:比如內(nèi)存、采用什么方法以及在什么時(shí)候打開或者關(guān)閉文件、哪一個(gè)進(jìn)程或者程序可以獲得計(jì)算機(jī)的中央處理單元,(CPU),等等。,Linux,操作系統(tǒng)可以說是,UNIX,操作系統(tǒng)的一個(gè)克隆體,它最初是在,1991,年,10,月,5,日由它的作者,Linus,Torvalds,于赫爾辛基大學(xué)發(fā)布的。,3,Acegene IT Co.Ltd.,Linux,功能,所有主要的網(wǎng)絡(luò)協(xié)議,硬盤配額支持,全部的源代碼,國際化的字體和鍵盤,作業(yè)控制,數(shù)學(xué)協(xié)處理器仿真,內(nèi)存保護(hù),多平臺(tái),多處理器,多用戶,多任務(wù),共享的庫文件,支持多種文件系統(tǒng),
3、虛擬控制臺(tái),虛擬內(nèi)存,其他更多功能,4,Acegene IT Co.Ltd.,GPL,和,Free,Linux,操作系統(tǒng)遵從,GNU,公共許可證(,GNU Public License,,簡(jiǎn)稱,GPL,)的規(guī)定。,Linux,對(duì)外的一個(gè)重要的特點(diǎn)就是,”,Free”,,自由和免費(fèi)。,5,Acegene IT Co.Ltd.,What is Linux?,Linux is an operating system with the following attributes:,Multi-user,Multi-tasking,Virtual memory system,X-Windows,Compa
4、tible with the IEEE POSIX.1 standard,Non-proprietary source code,Source code is available,6,Acegene IT Co.Ltd.,Is Linux the same as UNIX?,The command set is similar,They work the same,They look the same,Linux cannot use the UNIX trademark,Linux is essentially UNIX,7,Acegene IT Co.Ltd.,Is Linux a rea
5、l OS?,Yes,absolutely,Linux is used,In mission critical applications,Around the world,There are many flavors of Linux available,We call them:Distributions,8,Acegene IT Co.Ltd.,Linux,發(fā)行版本的概念,大多數(shù)的,Linux,操作系統(tǒng)的發(fā)行版本都使用標(biāo)準(zhǔn)的,Linux,內(nèi)核,但有時(shí)候也會(huì)稍微加以修改,這個(gè)操作系統(tǒng)現(xiàn)在的規(guī)模已經(jīng)變得相當(dāng)龐大了,因此許多人更愿意購買一張它的,CD-ROM,光盤。每一種發(fā)行版本彼此之間都稍微有一
6、些差異,這些差異主要表現(xiàn)在它們各自的安裝程序包上,還表現(xiàn)在安全性與可用性等方面?zhèn)戎攸c(diǎn)的不同。把系統(tǒng)內(nèi)核、附帶的工具程序及應(yīng)用軟件包等等打包在一起,這樣組成的一個(gè),Linux,操作系統(tǒng)的集合體就是我們說的某一種發(fā)行版本。,9,Acegene IT Co.Ltd.,誰使用,Linux,操作系統(tǒng),Linux,正在逐漸贏得普通用戶的青睞。但是它仍然不是一個(gè)適用于普通大眾的操作系統(tǒng)。對(duì)那些習(xí)慣了當(dāng)今鼠標(biāo)界面操作系統(tǒng)的人們來說,學(xué)習(xí)仍是很困難的。需要學(xué)習(xí)一大套從未接觸過的命令,還需要學(xué)習(xí)與長(zhǎng)期形成的概念不相同的那些對(duì)待與處理事情的方法。對(duì)那些具有,UNIX,操作系統(tǒng)使用經(jīng)驗(yàn)的人們來說,,Linux,可是容
7、易多了。,專業(yè)用戶、系統(tǒng)管理員和計(jì)算機(jī)開發(fā)人員通常都會(huì)比一般的用戶更容易掌握,Linux,操作系統(tǒng)。但就是對(duì)這些人來說,這方面的學(xué)習(xí)與實(shí)踐也需要有足夠的耐心與專心。,10,Acegene IT Co.Ltd.,Enterprise vs.Retail,Retail distributions,Faster release cycles(4-6 months),Geared for home/productivity users,Shorter support lifetimes,Examples:RHL9,SuSE,Linux 9,Enterprise level distributions,
8、Slower release cycles(12-18 months),Longer support lifetimes(3-5 years),Examples:RHEL3/4,SLES9,Adds performance and scalability enhancements,11,Acegene IT Co.Ltd.,Linux Distribution Overview,The core parts of a Linux system are:,Linux kernel,User space utilities and applications,The kernel and user
9、space programs together make up the complete operating system,Linux Kernel,Core component of the operating system,Configurable and tunable,Provides main OS functions,I/O,disk,network,etc.,CPU Scheduling,Memory management,uname,-r shows the kernel version number:,#uname-r,2.4.9-e.25,Kernel concepts,L
10、inux is based on a modular non-microkernel architecture,All device drivers share the same memory with the kernel,Device drivers are modular and can be loaded/unloaded dynamically,Linux is multi-tasking,Linux is a virtual-memory OS,Most kernel parameters can be modified on the fly,14,Acegene IT Co.Lt
11、d.,All components of the operating system are delivered via RPM packages,Kernel,System utilities,Applications,Both Red Hat and SLES8 distributions use the RPM Package Manager(RPM),Originally named“Red Hat Package Manager”,Software Packages,Linux Updates,Apply the recommended updates by the distribut
12、ion vendor:,Most vendors provide automatic updates,Red Hat Network supplies updates automatically,up2date,SuSE uses,YaST2,(Yet Another Setup Tool 2),you,(,YaST,Online Update),Linux Enterprise Features,Linux enterprise features support:,Performance,Scalability,Reliability,Symmetric Multiprocessing,Fu
13、lly multiprocessor capable(SMP),RHEL3:16 processors,SLES8:32 processors,Uniprocessor,configuration supported on both,Intel,Hyperthreading,(HT)enabled on IA-32,Physical-to-logical CPU affinity scheduling,18,Acegene IT Co.Ltd.,Improved Memory Utilization,Use more than 4GB of RAM on IA-32,RHEL 2.1:max
14、16GB supported,RHEL3:max 64GB supported,SLES8:up to 64GB supported,Some older drivers not capable of accessing more than 4GB of RAM,May perform“bounce buffering”to compensate,Usually not a concern for enterprise-class drivers,Kernel memory used more efficiently than before,Run more processes without
15、 swapping,19,Acegene IT Co.Ltd.,Virtual Memory,Each process has a private address space,Keeps private data in memory secure,Prevents inter-process data corruption,Contiguous view of memory,Demand-based paging,Pages are“swapped”out when low on RAM,Pages are“swapped”in when accessed again,Allows the s
16、ystem to use more memory than any single space can address,20,Acegene IT Co.Ltd.,Virtual,Filesystem,(VFS),Linux supports multiple file systems,OS is file system independent,Multiple file systems can be used simultaneously,Cross-platform compatibility,Performance,VFS provides a single,filesystem,interface,Filesystems,Important ones to know:,ext2/3 -Red Hat default(ext3),reiserfs,-SLES8 default,NFS -Network,Filesystem,Procfs,-kernel virtual,filesystem,ISO 9660(CD-ROM),OCFS -Oracle Cluster,Filesys