某公司Linux培训文件课件_第1页
某公司Linux培训文件课件_第2页
某公司Linux培训文件课件_第3页
某公司Linux培训文件课件_第4页
某公司Linux培训文件课件_第5页
已阅读5页,还剩59页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Linux操作系统

简介

周炯上海艾基信息技术有限公司1AcegeneITCo.Ltd.Linux操作系统

简介周炯1AcegeneITCo内容提要Linux简介Linux的安装SHELL及常用程序文件编辑器vi目录和文件管理文件系统管理用户管理网络管理网络文件系统模块安装和配置系统管理系统优化开发工具Internet管理2AcegeneITCo.Ltd.内容提要Linux简介网络管理2AcegeneITCo.Linux——简介Linux操作系统是可以运行在许多不同类型的计算机上的一种操作系统的“内核”。它是提供命令行或者程序与计算机硬件之间接口的软件的核心部分。Linux操作系统内核管理以下事情:比如内存、采用什么方法以及在什么时候打开或者关闭文件、哪一个进程或者程序可以获得计算机的中央处理单元(CPU)等等。Linux操作系统可以说是UNIX操作系统的一个克隆体,它最初是在1991年10月5日由它的作者LinusTorvalds于赫尔辛基大学发布的。3AcegeneITCo.Ltd.Linux——简介Linux操作系统是可以运行在许多不同类Linux功能所有主要的网络协议硬盘配额支持全部的源代码国际化的字体和键盘作业控制数学协处理器仿真内存保护多平台多处理器多用户多任务共享的库文件支持多种文件系统虚拟控制台虚拟内存其他更多功能4AcegeneITCo.Ltd.Linux功能所有主要的网络协议多处理器4AcegeneIGPL和FreeLinux操作系统遵从GNU公共许可证(GNUPublicLicense,简称GPL)的规定。Linux对外的一个重要的特点就是”Free”,自由和免费。5AcegeneITCo.Ltd.GPL和FreeLinux操作系统遵从GNU公共许可证(GWhatisLinux?Linuxisanoperatingsystemwiththefollowingattributes:Multi-userMulti-taskingVirtualmemorysystemX-WindowsCompatiblewiththeIEEEPOSIX.1standardNon-proprietarysourcecodeSourcecodeisavailable6AcegeneITCo.Ltd.WhatisLinux?LinuxisanoperIsLinuxthesameasUNIX?ThecommandsetissimilarTheyworkthesameTheylookthesameLinuxcannotusetheUNIXtrademarkLinuxisessentiallyUNIX7AcegeneITCo.Ltd.IsLinuxthesameasUNIX?TheIsLinuxarealOS?Yes,absolutelyLinuxisusedInmissioncriticalapplicationsAroundtheworldTherearemanyflavorsofLinuxavailableWecallthem:Distributions8AcegeneITCo.Ltd.IsLinuxarealOS?Yes,absoluLinux发行版本的概念大多数的Linux操作系统的发行版本都使用标准的Linux内核,但有时候也会稍微加以修改,这个操作系统现在的规模已经变得相当庞大了,因此许多人更愿意购买一张它的CD-ROM光盘。每一种发行版本彼此之间都稍微有一些差异,这些差异主要表现在它们各自的安装程序包上,还表现在安全性与可用性等方面侧重点的不同。把系统内核、附带的工具程序及应用软件包等等打包在一起,这样组成的一个Linux操作系统的集合体就是我们说的某一种发行版本。9AcegeneITCo.Ltd.Linux发行版本的概念大多数的Linux操作系统的发行版本谁使用Linux操作系统Linux正在逐渐赢得普通用户的青睐。但是它仍然不是一个适用于普通大众的操作系统。对那些习惯了当今鼠标界面操作系统的人们来说,学习仍是很困难的。需要学习一大套从未接触过的命令,还需要学习与长期形成的概念不相同的那些对待与处理事情的方法。对那些具有UNIX操作系统使用经验的人们来说,Linux可是容易多了。专业用户、系统管理员和计算机开发人员通常都会比一般的用户更容易掌握Linux操作系统。但就是对这些人来说,这方面的学习与实践也需要有足够的耐心与专心。10AcegeneITCo.Ltd.谁使用Linux操作系统Linux正在逐渐赢得普通用户的青睐Enterprisevs.RetailRetaildistributionsFasterreleasecycles(4-6months)Gearedforhome/productivityusersShortersupportlifetimesExamples:RHL9,SuSELinux9EnterpriseleveldistributionsSlowerreleasecycles(12-18months)Longersupportlifetimes(3-5years)Examples:RHEL3/4,SLES9Addsperformanceandscalabilityenhancements11AcegeneITCo.Ltd.Enterprisevs.RetailRetaildiLinuxDistributionOverviewThecorepartsofaLinuxsystemare:LinuxkernelUserspaceutilitiesandapplicationsThekernelanduserspaceprogramstogethermakeupthecompleteoperatingsystemLinuxDistributionOverviewTheLinuxKernelCorecomponentoftheoperatingsystemConfigurableandtunableProvidesmainOSfunctionsI/O,disk,network,etc.CPUSchedulingMemorymanagementuname-rshowsthekernelversionnumber:#uname-r2.4.9-e.25LinuxKernelCorecomponentofKernelconceptsLinuxisbasedonamodularnon-microkernelarchitectureAlldevicedriverssharethesamememorywiththekernelDevicedriversaremodularandcanbeloaded/unloadeddynamicallyLinuxismulti-taskingLinuxisavirtual-memoryOSMostkernelparameterscanbemodifiedonthefly14AcegeneITCo.Ltd.KernelconceptsLinuxisbasedAllcomponentsoftheoperatingsystemaredeliveredviaRPMpackagesKernelSystemutilitiesApplicationsBothRedHatandSLES8distributionsusetheRPMPackageManager(RPM)Originallynamed“RedHatPackageManager”SoftwarePackagesAllcomponentsoftheoperatinLinuxUpdatesApplytherecommendedupdatesbythedistributionvendor:MostvendorsprovideautomaticupdatesRedHatNetworksuppliesupdatesautomaticallyup2dateSuSEusesYaST2(YetAnotherSetupTool2)you(YaSTOnlineUpdate)LinuxUpdatesApplytherecommeLinuxEnterpriseFeaturesLinuxenterprisefeaturessupport:PerformanceScalabilityReliabilityLinuxEnterpriseFeaturesLinuxSymmetricMultiprocessingFullymultiprocessorcapable(SMP)RHEL3:16processorsSLES8:32processorsUniprocessorconfigurationsupportedonbothIntelHyperthreading(HT)enabledonIA-32Physical-to-logicalCPUaffinityscheduling18AcegeneITCo.Ltd.SymmetricMultiprocessingFullyImprovedMemoryUtilizationUsemorethan4GBofRAMonIA-32RHEL2.1:max16GBsupportedRHEL3:max64GBsupportedSLES8:upto64GBsupportedSomeolderdriversnotcapableofaccessingmorethan4GBofRAMMayperform“bouncebuffering”tocompensateUsuallynotaconcernforenterprise-classdriversKernelmemoryusedmoreefficientlythanbeforeRunmoreprocesseswithoutswapping19AcegeneITCo.Ltd.ImprovedMemoryUtilizationUseVirtualMemoryEachprocesshasaprivateaddressspaceKeepsprivatedatainmemorysecurePreventsinter-processdatacorruptionContiguousviewofmemoryDemand-basedpagingPagesare“swapped”outwhenlowonRAMPagesare“swapped”inwhenaccessedagainAllowsthesystemtousemorememorythananysinglespacecanaddress20AcegeneITCo.Ltd.VirtualMemoryEachprocesshasVirtualFilesystem(VFS)LinuxsupportsmultiplefilesystemsOSisfilesystemindependentMultiplefilesystemscanbeusedsimultaneouslyCross-platformcompatibilityPerformanceVFSprovidesasinglefilesysteminterfaceVirtualFilesystem(VFS)LinuxFilesystemsImportantonestoknow:ext2/3-RedHatdefault(ext3)reiserfs-SLES8defaultNFS-NetworkFilesystemProcfs-kernelvirtualfilesystemISO9660(CD-ROM)OCFS-OracleClusterFilesystemext2/3andreiserfsarethemostcommonUseOCFSinsteadofrawdevicesinRAC22AcegeneITCo.Ltd.FilesystemsImportantonestokFilesystemCacheBuffersallfilesystemI/OAllfilesystemI/Oiscopiedto/fromcachebuffersBydefault,writesarenotimmediatelyflushedHardwareI/OisdeferredReadsbenefitfrompreviousaccessesaswellasautomaticread-aheadMaynotneedtoperformarealhardwareI/OMadeupofpagecacheandbuffercachePagecachetendstobemoreheavilyusedReducedautomaticallywhenlowonRAM23AcegeneITCo.Ltd.FilesystemCacheBuffersallfiProcessDiskfileWriteReadRawDevicesHavetraditionallybeenconsideredthehighperformancesolutionBypassesthefilesystembuffercacheMoveslargerbuffersthanfilesystemI/OsRequiresmoreexperiencedadministration24AcegeneITCo.Ltd.ProcessDiskfileWriteReadRawDModularDriversLoadablekernelmodules(LKM)Canbeunloaded/reloadedwithoutrebootingModulesprovide:DevicedriversFilesystemdriversSystemcallsNetworkdriversExecutableinterpretersTerminaldevice(TTY)drivers25AcegeneITCo.Ltd.ModularDriversLoadablekernelI/OModesDiskI/OcanbeperformedinseveraldifferentmodesAsynchronousvs.synchronousDirectvs.bufferedProcessBuffercacheDiskfileWriteFlushI/OModesDiskI/OcanbeperfoStorageInfrastructureDirect-attachedstorage(DAS)IDE,SCSIe.g.,LSIMegaraidNetwork-AttachedStorage(NAS)NFSe.g.,NetworkApplianceFilerStorageAreaNetworks(SAN)FibreChannele.g.,EMCClariion27AcegeneITCo.Ltd.StorageInfrastructureDirect-aLinuxClustersScalableSharedStorageSCSI,SAN(FibreChannel),Firewire(devel.)MustuserawdevicesorOCFSNetworkAttachedStorage(NFS)LVMandsoftwareRAID(“md”)notcluster-awareLinuxincludesclustermanagementsoftware28AcegeneITCo.Ltd.LinuxClustersScalableSharedLinuxKernelEnhancementsPerformanceAsynchronousI/OEliminatekernellocksLargeSGA:>4GBSupportmoreOracleusersStabilityGracefuldegradationunderloadManageability(Remote)CrashDumpFacilityConfigurationscripts29AcegeneITCo.Ltd.LinuxKernelEnhancementsPerfoKernelAsynchronousI/OAllowseachprocesstosubmithundredsofI/OrequestsatatimeKernelaioismoreefficientthanuseraiouseraiospawnsathreadforeachI/OrequestNotavailableinolderdistributionsOnLinux,OracleisshippedwithAIOoffMustrelinkoraclebinarytoenableit30AcegeneITCo.Ltd.KernelAsynchronousI/OAllowsScalableI/OsubsystemOlderkernelsusedasinglegloballockfortheentireI/Osubsystem(“io_request_lock”)Newerkernelssupportper-devicelockingRequiresdriversupportMostenterprise-classdrivershavealreadybeenmodifiedQlogicLSI/DellMegaraidHP/Compaq31AcegeneITCo.Ltd.ScalableI/OsubsystemOlderkeSummaryLinuxisAnopen-sourcefullyfeaturedoperatingsystemBeingadoptedintheenterprisearenatoday32AcegeneITCo.Ltd.SummaryLinuxis32AcegeneITCoAQ&QUESTIONSANSWERSAQ&QUESTIONSANSWE演讲完毕,谢谢观看!演讲完毕,谢谢观看!Linux操作系统

简介

周炯上海艾基信息技术有限公司35AcegeneITCo.Ltd.Linux操作系统

简介周炯1AcegeneITCo内容提要Linux简介Linux的安装SHELL及常用程序文件编辑器vi目录和文件管理文件系统管理用户管理网络管理网络文件系统模块安装和配置系统管理系统优化开发工具Internet管理36AcegeneITCo.Ltd.内容提要Linux简介网络管理2AcegeneITCo.Linux——简介Linux操作系统是可以运行在许多不同类型的计算机上的一种操作系统的“内核”。它是提供命令行或者程序与计算机硬件之间接口的软件的核心部分。Linux操作系统内核管理以下事情:比如内存、采用什么方法以及在什么时候打开或者关闭文件、哪一个进程或者程序可以获得计算机的中央处理单元(CPU)等等。Linux操作系统可以说是UNIX操作系统的一个克隆体,它最初是在1991年10月5日由它的作者LinusTorvalds于赫尔辛基大学发布的。37AcegeneITCo.Ltd.Linux——简介Linux操作系统是可以运行在许多不同类Linux功能所有主要的网络协议硬盘配额支持全部的源代码国际化的字体和键盘作业控制数学协处理器仿真内存保护多平台多处理器多用户多任务共享的库文件支持多种文件系统虚拟控制台虚拟内存其他更多功能38AcegeneITCo.Ltd.Linux功能所有主要的网络协议多处理器4AcegeneIGPL和FreeLinux操作系统遵从GNU公共许可证(GNUPublicLicense,简称GPL)的规定。Linux对外的一个重要的特点就是”Free”,自由和免费。39AcegeneITCo.Ltd.GPL和FreeLinux操作系统遵从GNU公共许可证(GWhatisLinux?Linuxisanoperatingsystemwiththefollowingattributes:Multi-userMulti-taskingVirtualmemorysystemX-WindowsCompatiblewiththeIEEEPOSIX.1standardNon-proprietarysourcecodeSourcecodeisavailable40AcegeneITCo.Ltd.WhatisLinux?LinuxisanoperIsLinuxthesameasUNIX?ThecommandsetissimilarTheyworkthesameTheylookthesameLinuxcannotusetheUNIXtrademarkLinuxisessentiallyUNIX41AcegeneITCo.Ltd.IsLinuxthesameasUNIX?TheIsLinuxarealOS?Yes,absolutelyLinuxisusedInmissioncriticalapplicationsAroundtheworldTherearemanyflavorsofLinuxavailableWecallthem:Distributions42AcegeneITCo.Ltd.IsLinuxarealOS?Yes,absoluLinux发行版本的概念大多数的Linux操作系统的发行版本都使用标准的Linux内核,但有时候也会稍微加以修改,这个操作系统现在的规模已经变得相当庞大了,因此许多人更愿意购买一张它的CD-ROM光盘。每一种发行版本彼此之间都稍微有一些差异,这些差异主要表现在它们各自的安装程序包上,还表现在安全性与可用性等方面侧重点的不同。把系统内核、附带的工具程序及应用软件包等等打包在一起,这样组成的一个Linux操作系统的集合体就是我们说的某一种发行版本。43AcegeneITCo.Ltd.Linux发行版本的概念大多数的Linux操作系统的发行版本谁使用Linux操作系统Linux正在逐渐赢得普通用户的青睐。但是它仍然不是一个适用于普通大众的操作系统。对那些习惯了当今鼠标界面操作系统的人们来说,学习仍是很困难的。需要学习一大套从未接触过的命令,还需要学习与长期形成的概念不相同的那些对待与处理事情的方法。对那些具有UNIX操作系统使用经验的人们来说,Linux可是容易多了。专业用户、系统管理员和计算机开发人员通常都会比一般的用户更容易掌握Linux操作系统。但就是对这些人来说,这方面的学习与实践也需要有足够的耐心与专心。44AcegeneITCo.Ltd.谁使用Linux操作系统Linux正在逐渐赢得普通用户的青睐Enterprisevs.RetailRetaildistributionsFasterreleasecycles(4-6months)Gearedforhome/productivityusersShortersupportlifetimesExamples:RHL9,SuSELinux9EnterpriseleveldistributionsSlowerreleasecycles(12-18months)Longersupportlifetimes(3-5years)Examples:RHEL3/4,SLES9Addsperformanceandscalabilityenhancements45AcegeneITCo.Ltd.Enterprisevs.RetailRetaildiLinuxDistributionOverviewThecorepartsofaLinuxsystemare:LinuxkernelUserspaceutilitiesandapplicationsThekernelanduserspaceprogramstogethermakeupthecompleteoperatingsystemLinuxDistributionOverviewTheLinuxKernelCorecomponentoftheoperatingsystemConfigurableandtunableProvidesmainOSfunctionsI/O,disk,network,etc.CPUSchedulingMemorymanagementuname-rshowsthekernelversionnumber:#uname-r2.4.9-e.25LinuxKernelCorecomponentofKernelconceptsLinuxisbasedonamodularnon-microkernelarchitectureAlldevicedriverssharethesamememorywiththekernelDevicedriversaremodularandcanbeloaded/unloadeddynamicallyLinuxismulti-taskingLinuxisavirtual-memoryOSMostkernelparameterscanbemodifiedonthefly48AcegeneITCo.Ltd.KernelconceptsLinuxisbasedAllcomponentsoftheoperatingsystemaredeliveredviaRPMpackagesKernelSystemutilitiesApplicationsBothRedHatandSLES8distributionsusetheRPMPackageManager(RPM)Originallynamed“RedHatPackageManager”SoftwarePackagesAllcomponentsoftheoperatinLinuxUpdatesApplytherecommendedupdatesbythedistributionvendor:MostvendorsprovideautomaticupdatesRedHatNetworksuppliesupdatesautomaticallyup2dateSuSEusesYaST2(YetAnotherSetupTool2)you(YaSTOnlineUpdate)LinuxUpdatesApplytherecommeLinuxEnterpriseFeaturesLinuxenterprisefeaturessupport:PerformanceScalabilityReliabilityLinuxEnterpriseFeaturesLinuxSymmetricMultiprocessingFullymultiprocessorcapable(SMP)RHEL3:16processorsSLES8:32processorsUniprocessorconfigurationsupportedonbothIntelHyperthreading(HT)enabledonIA-32Physical-to-logicalCPUaffinityscheduling52AcegeneITCo.Ltd.SymmetricMultiprocessingFullyImprovedMemoryUtilizationUsemorethan4GBofRAMonIA-32RHEL2.1:max16GBsupportedRHEL3:max64GBsupportedSLES8:upto64GBsupportedSomeolderdriversnotcapableofaccessingmorethan4GBofRAMMayperform“bouncebuffering”tocompensateUsuallynotaconcernforenterprise-classdriversKernelmemoryusedmoreefficientlythanbeforeRunmoreprocesseswithoutswapping53AcegeneITCo.Ltd.ImprovedMemoryUtilizationUseVirtualMemoryEachprocesshasaprivateaddressspaceKeepsprivatedatainmemorysecurePreventsinter-processdatacorruptionContiguousviewofmemoryDemand-basedpagingPagesare“swapped”outwhenlowonRAMPagesare“swapped”inwhenaccessedagainAllowsthesystemtousemorememorythananysinglespacecanaddress54AcegeneITCo.Ltd.VirtualMemoryEachprocesshasVirtualFilesystem(VFS)LinuxsupportsmultiplefilesystemsOSisfilesystemindependentMultiplefilesystemscanbeusedsimultaneouslyCross-platformcompatibilityPerformanceVFSprovidesasinglefilesysteminterfaceVirtualFilesystem(VFS)LinuxFilesystemsImportantonestoknow:ext2/3-RedHatdefault(ext3)reiserfs-SLES8defaultNFS-NetworkFilesystemProcfs-kernelvirtualfilesystemISO9660(CD-ROM)OCFS-OracleClusterFilesystemext2/3andreiserfsarethemostcommonUseOCFSinsteadofrawdevicesinRAC56AcegeneITCo.Ltd.FilesystemsImportantonestokFilesystemCacheBuffersallfilesystemI/OAllfilesystemI/Oiscopiedto/fromcachebuffersBydefault,writesarenotimmediatelyflushedHardwareI/OisdeferredReadsbenefitfrompreviousaccessesaswellasautomaticread-aheadMaynotneedtoperformarealhardwareI/OMadeupofpagecacheandbuffercachePagecachetendstobemoreheavilyusedReducedautomaticallywhenlowonRAM57AcegeneITCo.Ltd.FilesystemCacheBuffersallfiProcessDiskfileWriteReadRawDevicesHavetraditionallybeenconsideredthehighperformancesolutionBypassesthefilesystembuffercacheMoveslargerbuffersthanfilesystemI/OsRequiresmoreexperiencedadministration58AcegeneITCo.Ltd.ProcessDiskfileWriteReadRawDModularDriversLoadablekernelmodules(LKM)Canbeunloaded/reloadedwithoutrebootingModulesprovide:DevicedriversFilesystemdriversSystemcallsNetworkdriversExecutableinterpretersTerminaldevice(TTY)drivers59AcegeneITCo.Ltd.ModularDriversLoadablekernelI/OModesDiskI/OcanbeperformedinseveraldifferentmodesAsynchronousvs.synchronousDirectvs.bufferedProcessBuffercacheDiskfileWriteFlushI/OModesDiskI/OcanbeperfoStorageInfra

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论