您好,欢迎访问三七文档
1Oracle®DatabaseClientQuickInstallationGuide11gRelease2(11.2)forLinuxx86E16767-03October2010ThisguidedescribeshowtoquicklyinstallOracleDatabaseClient11gRelease2(11.2)onLinuxx86systems.Itincludesinformationaboutthefollowing:■ReviewingInformationAboutThisGuide■LoggingIntotheSystemasroot■CheckingtheHardwareRequirements■CheckingtheSoftwareRequirements■CreatingRequiredOperatingSystemGroupsandUsers■CreatingRequiredDirectories■ConfiguringtheoracleUser’sEnvironment■MountingtheProductDisc■InstallingOracleDatabaseClient■PerforminganIn-placeOracleDatabaseClientUpgrade■WhattoDoNext?■AdditionalInformation■DocumentationAccessibility1ReviewingInformationAboutThisGuideThisguidedescribeshowtocompleteadefaultinstallationofOracleDatabaseClientonasystemthatdoesnothaveanyOraclesoftwareinstalledonit.Itdescribeshowtoinstalloneofthefollowinginstallationtypes:■Administrator:EnablesapplicationstoconnecttoanOracleDatabaseinstanceonthelocalsystemoronaremotesystem.ItalsoprovidestoolsthatenableyoutoadministerOracleDatabase.■Runtime:EnablesapplicationstoconnecttoanOracleDatabaseinstanceonthelocalsystemoronaremotesystem.■InstantClient:EnablesyoutoinstallonlythesharedlibrariesrequiredbyOracleCallInterface(OCI),OracleC++CallInterface(OCCI),Pro*C,orJavadatabaseconnectivity(JDBC)OCIapplications.ThisinstallationtyperequiresmuchlessdiskspaceascomparedtotheotherOracleDatabaseClientinstallationtypes.SeeAlso:OracleCallInterfaceProgrammer'sGuideformoreinformationaboutInstantClient2ThisguidedoesnotdescribehowtoinstalltheCustominstallationtype.WheretoGetAdditionalInstallationInformationFormoredetailedinformationaboutinstallingOracleDatabaseClient,refertoOracleDatabaseClientInstallationGuideforLinux.Alltheseguidesareavailableontheproductdisc.Toaccessthem,useaWebbrowsertoopenthewelcome.htmfilelocatedinthetop-leveldirectoryofthemedia.Platform-specificdocumentationisavailableinPDFandHTMLformatsintheDocumentationsection.2LoggingIntotheSystemasrootBeforeyouinstalltheOraclesoftware,youmustcompleteseveraltasksastherootuser.Tologinastherootuser,completeoneofthefollowingprocedures:■FollowingarethestepsforinstallingthesoftwarefromanXWindowSystemworkstationorXterminal:1.Startalocalterminalsession,forexample,anXterminal(xterm).2.Ifyouarenotinstallingthesoftwareonthelocalsystem,thenenterthefollowingcommandtoenabletheremotehosttodisplayXapplicationsonthelocalXserver:$xhostfully_qualified_remote_host_nameForexample:$xhostsomehost.us.example.com3.Ifyouarenotinstallingthesoftwareonthelocalsystem,thenusethessh,rlogin,ortelnetcommandtoconnecttothesystemwhereyouwanttoinstallthesoftware:$telnetfully_qualified_remote_host_name4.Ifyouarenotloggedinastherootuser,thenenterthefollowingcommandtoswitchusertoroot:$sudoshpassword:#■FollowingarethestepsforinstallingthesoftwarefromaPCorothersystemwithXserversoftware:Note:Unlessyouintendtocompleteasilent-modeinstallation,youmustinstallthesoftwarefromanXWindowSystemworkstation,anXterminal,oraPCorothersystemwithXserversoftwareinstalled.31.StarttheXserversoftware.2.ConfigurethesecuritysettingsoftheXserversoftwaretopermitremotehoststodisplayXapplicationsonthelocalsystem.3.Connecttotheremotesystemwhereyouwanttoinstallthesoftwareandstartaterminalsessiononthatsystem,forexample,anXterminal(xterm).4.Ifyouarenotloggedinastherootuserontheremotesystem,thenenterthefollowingcommandtoswitchusertoroot:$sudoshpassword:#3CheckingtheHardwareRequirementsThesystemmustmeetthefollowingminimumhardwarerequirements:■MemoryRequirements■DiskSpaceRequirements3.1MemoryRequirementsThefollowingarethememoryrequirementsforinstallingOracleDatabase11gRelease2(11.2):■Atleast256MBofphysicalRAM.TodeterminethephysicalRAMsize,enterthefollowingcommand:#grepMemTotal/proc/meminfoIfthesizeofthephysicalRAMislessthantherequiredsize,thenyoumustinstallmorememorybeforecontinuing.■ThefollowingtabledescribestherelationshipbetweeninstalledRAMandtheconfiguredswapspacerecommendation:Note:Ifnecessary,refertoyourXserverdocumentation,orcontactyourXservervendororsystemadministratorformoreinformationaboutcompletingthisprocedure.DependingontheXserversoftwarethatyouareusing,youmayneedtocompletethetasksinadifferentorder.Note:OnLinux,theHugePagesfeatureallocatesnon-swappablememoryforlargepagetablesusingmemory-mappedfiles.IfyouenableHugePages,thenyoushoulddeductthememoryallocatedtoHugePagesfromtheavailableRAMbeforecalculatingswapspace.AvailableRAMSwapSpaceRequiredBetween0MBand256MB3timesthesizeofRAMBetween256MBand512MB2timesthesizeofRAM4■Todeterminewhetherthesystemarchitecturecanrunthesoftware,enterthefollowingcommand:#grepmodelname/proc/cpuinfoTodeterminethesizeoftheconfiguredswapspace,enterthefollowingcommand:#grepSwapTotal/proc/meminfoIfnecessary,refertotheoperatingsystemdocumentationforinformationabouthowtoconfigureadditionalswapspace.TodeterminetheavailableRAMandswapspace,enterthefollowingcommand:#free3.2DiskSpaceRequirementsThefollowingarethediskspacerequirementsforinstallingOracleDatabase11gRelease2(11.2):■Theminimumdiskspacerequirementforaclientinstallinthe/tmpdirectoryis400MB.Todeterminet
本文标题:Oracle Database Client Quick Installation Guide fo
链接地址:https://www.777doc.com/doc-5588524 .html