Linux操作系統(tǒng)01-簡介_第1頁
Linux操作系統(tǒng)01-簡介_第2頁
Linux操作系統(tǒng)01-簡介_第3頁
Linux操作系統(tǒng)01-簡介_第4頁
Linux操作系統(tǒng)01-簡介_第5頁
已閱讀5頁,還剩28頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、Linux操作系統(tǒng)簡介 1Acegene IT Co. Ltd.內容提要Linux簡介Linux的安裝SHELL及常用程序文件編輯器vi目錄和文件管理文件系統(tǒng)管理用戶管理網絡管理網絡文件系統(tǒng)模塊安裝和配置系統(tǒng)管理 系統(tǒng)優(yōu)化開發(fā)工具Internet管理 2Acegene IT Co. Ltd.Linux簡介 Linux操作系統(tǒng)是可以運行在許多不同類型的計算機上的一種操作系統(tǒng)的“內核”。它是提供命令行或者程序與計算機硬件之間接口的軟件的核心部分。Linux操作系統(tǒng)內核管理以下事情:比如內存、采用什么方法以及在什么時候打開或者關閉文件、哪一個進程或者程序可以獲得計算機的中央處理單元(CPU)等等。L

2、inux操作系統(tǒng)可以說是UNIX操作系統(tǒng)的一個克隆體,它最初是在1991年10月5日由它的作者Linus Torvalds于赫爾辛基大學發(fā)布的。3Acegene IT Co. Ltd.Linux功能所有主要的網絡協(xié)議硬盤配額支持全部的源代碼國際化的字體和鍵盤作業(yè)控制數學協(xié)處理器仿真內存保護多平臺多處理器多用戶多任務共享的庫文件支持多種文件系統(tǒng)虛擬控制臺虛擬內存其他更多功能4Acegene IT Co. Ltd.GPL和FreeLinux操作系統(tǒng)遵從GNU公共許可證( GNU Public License,簡稱GPL)的規(guī)定。Linux對外的一個重要的特點就是”Free”,自由和免費。5Aceg

3、ene IT Co. Ltd.What is Linux?Linux is an operating system with the following attributes:Multi-userMulti-taskingVirtual memory systemX-WindowsCompatible with the IEEE POSIX.1 standardNon-proprietary source codeSource code is available6Acegene IT Co. Ltd.Is Linux the same as UNIX?The command set is si

4、milarThey work the sameThey look the sameLinux cannot use the UNIX trademarkLinux is essentially UNIX7Acegene IT Co. Ltd.Is Linux a real OS?Yes, absolutelyLinux is used In mission critical applicationsAround the worldThere are many flavors of Linux availableWe call them: Distributions8Acegene IT Co.

5、 Ltd.Linux發(fā)行版本的概念大多數的Linux操作系統(tǒng)的發(fā)行版本都使用標準的Linux內核,但有時候也會稍微加以修改,這個操作系統(tǒng)現在的規(guī)模已經變得相當龐大了,因此許多人更愿意購買一張它的CD-ROM光盤。每一種發(fā)行版本彼此之間都稍微有一些差異,這些差異主要表現在它們各自的安裝程序包上,還表現在安全性與可用性等方面?zhèn)戎攸c的不同。把系統(tǒng)內核、附帶的工具程序及應用軟件包等等打包在一起,這樣組成的一個Linux操作系統(tǒng)的集合體就是我們說的某一種發(fā)行版本。9Acegene IT Co. Ltd.誰使用Linux操作系統(tǒng)Linux正在逐漸贏得普通用戶的青睞。但是它仍然不是一個適用于普通大眾的操作系

6、統(tǒng)。對那些習慣了當今鼠標界面操作系統(tǒng)的人們來說, 學習仍是很困難的。需要學習一大套從未接觸過的命令,還需要學習與長期形成的概念不相同的那些對待與處理事情的方法。對那些具有UNIX操作系統(tǒng)使用經驗的人們來說,Linux可是容易多了。專業(yè)用戶、系統(tǒng)管理員和計算機開發(fā)人員通常都會比一般的用戶更容易掌握Linux操作系統(tǒng)。但就是對這些人來說,這方面的學習與實踐也需要有足夠的耐心與專心。10Acegene IT Co. Ltd.Enterprise vs. RetailRetail distributionsFaster release cycles (4-6 months)Geared for hom

7、e/productivity usersShorter support lifetimesExamples: RHL9, SuSE Linux 9Enterprise level distributionsSlower release cycles (12-18 months)Longer support lifetimes (3-5 years)Examples: RHEL3/4, SLES9Adds performance and scalability enhancements11Acegene IT Co. Ltd.Linux Distribution OverviewThe core

8、 parts of a Linux system are:Linux kernelUser space utilities and applicationsThe kernel and user space programs together make up the complete operating systemLinux KernelCore component of the operating systemConfigurable and tunableProvides main OS functionsI/O, disk, network, etc.CPU SchedulingMem

9、ory managementuname -r shows the kernel version number:# uname -r2.4.9-e.25Kernel conceptsLinux is based on a modular non-microkernel architectureAll device drivers share the same memory with the kernelDevice drivers are modular and can be loaded/unloaded dynamicallyLinux is multi-taskingLinux is a

10、virtual-memory OSMost kernel parameters can be modified on the fly14Acegene IT Co. Ltd.All components of the operating system are delivered via RPM packagesKernelSystem utilitiesApplicationsBoth Red Hat and SLES8 distributions use the RPM Package Manager (RPM)Originally named “Red Hat Package Manage

11、r”Software PackagesLinux UpdatesApply the recommended updates by the distribution vendor:Most vendors provide automatic updatesRed Hat Network supplies updates automaticallyup2dateSuSE usesYaST2 (Yet Another Setup Tool 2)you (YaST Online Update)Linux Enterprise FeaturesLinux enterprise features supp

12、ort :PerformanceScalabilityReliabilitySymmetric MultiprocessingFully multiprocessor capable (SMP)RHEL3: 16 processorsSLES8: 32 processorsUniprocessor configuration supported on bothIntel Hyperthreading (HT) enabled on IA-32Physical-to-logical CPU affinity scheduling18Acegene IT Co. Ltd.Improved Memo

13、ry UtilizationUse more than 4GB of RAM on IA-32RHEL 2.1: max 16GB supportedRHEL3: max 64GB supportedSLES8: up to 64GB supportedSome older drivers not capable of accessing more than 4GB of RAMMay perform “bounce buffering” to compensateUsually not a concern for enterprise-class driversKernel memory u

14、sed more efficiently than beforeRun more processes without swapping19Acegene IT Co. Ltd.Virtual MemoryEach process has a private address spaceKeeps private data in memory securePrevents inter-process data corruptionContiguous view of memoryDemand-based pagingPages are “swapped” out when low on RAMPa

15、ges are “swapped” in when accessed againAllows the system to use more memory than any single space can address20Acegene IT Co. Ltd.Virtual Filesystem (VFS)Linux supports multiple file systemsOS is file system independentMultiple file systems can be used simultaneouslyCross-platform compatibilityPerf

16、ormanceVFS provides a single filesystem interfaceFilesystemsImportant ones to know:ext2/3 - Red Hat default (ext3)reiserfs - SLES8 defaultNFS - Network FilesystemProcfs - kernel virtual filesystemISO 9660 (CD-ROM)OCFS - Oracle Cluster Filesystemext2/3 and reiserfs are the most commonUse OCFS instead

17、 of raw devices in RAC22Acegene IT Co. Ltd.Filesystem CacheBuffers all filesystem I/OAll filesystem I/O is copied to/from cache buffersBy default, writes are not immediately flushedHardware I/O is deferredReads benefit from previous accesses as well as automatic read-aheadMay not need to perform a r

18、eal hardware I/OMade up of page cache and buffer cachePage cache tends to be more heavily usedReduced automatically when low on RAM23Acegene IT Co. Ltd.ProcessDisk fileWriteReadRaw DevicesHave traditionally been considered the high performance solutionBypasses the filesystem buffer cacheMoves larger

19、 buffers than file system I/OsRequires more experienced administration24Acegene IT Co. Ltd.Modular DriversLoadable kernel modules (LKM)Can be unloaded/reloaded without rebootingModules provide:Device driversFile system driversSystem callsNetwork driversExecutable interpretersTerminal device (TTY) dr

20、ivers25Acegene IT Co. Ltd.I/O ModesDisk I/O can be performed in several different modesAsynchronous vs. synchronous Direct vs. bufferedProcessBuffer cacheDisk fileWriteFlushStorage InfrastructureDirect-attached storage (DAS)IDE, SCSIe.g., LSI MegaraidNetwork-Attached Storage (NAS)NFSe.g., Network Ap

21、pliance FilerStorage Area Networks (SAN)FibreChannele.g., EMC Clariion27Acegene IT Co. Ltd.Linux ClustersScalable Shared StorageSCSI, SAN (FibreChannel), Firewire (devel.)Must use raw devices or OCFSNetwork Attached Storage (NFS)LVM and software RAID (“md”) not cluster-awareLinux includes cluster management software28Acegene IT Co. Ltd.Linux Kernel EnhancementsPerformanceAsynchronous I/OEliminate kernel locksLarge SGA: 4 GBSupport more Oracle usersStabilityGraceful degradation under loadManageability(Remote) Crash Dump FacilityConfiguration scripts29Acegene IT Co. Ltd.Kernel Asynchrono

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論