Oracle12c单机安装_For_Linux_x64

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1Linux平台安装OracleDatabase12c21.OracleDatabase12cRelease1介质准备..........................................................12.检查硬件要求(CheckHardwareRequirements)..................................................22.1CheckCPU................................................................................................22.2CheckMemory..........................................................................................22.3CheckDiskCapacity................................................................................33.检查软件要求(CheckingtheSoftwareRequirements)........................................33.1操作系统版本检测.......................................................................................33.2检查oracle12c所需包..............................................................................44.系统配置准备.........................................................................................................64.1创建Oracle用户和用户组..........................................................................64.2创建安装目录..............................................................................................64.3DisableSELinux........................................................................................64.4修改系统内核参数.......................................................................................74.5设置用户限制............................................................................................104.6配置环境变量............................................................................................114.7解压安装镜像文件.....................................................................................125.安装步骤截图.......................................................................................................126.创建数据库截图...................................................................................................216.1创建CDB..................................................................................................216.2创建nonCDB............................................................................................317.附录.....................................................................................................................4211.OracleDatabase12cRelease1介质准备官方的下载地址:1::=16496132URL地址2需要先注册,然后才能登陆下载,注册登陆界面下载的文件为:linuxamd64_12102_database_1of2.ziplinuxamd64_12102_database_2of2.zip地址2下载的文件为(12.1.0.1):V38500-01_1of2.zipV38500-01_2of2.zip22.检查硬件要求(CheckHardwareRequirements)2.1CheckCPU#grepmodelname/proc/cpuinfomodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHzmodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHzmodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHzmodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHzmodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHzmodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHzmodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHzmodelname:Intel(R)Xeon(R)CPUE5-26800@2.70GHz#cat/proc/cpuinfo|grepprocessor|wc-l8#cat/proc/cpuinfo|grepphysicalid|sort|uniq|wc-l42.2CheckMemory#grepMemTotal/proc/meminfo#free-gOracle12c对系统内存的最低要求为1G,推荐2G或更大的内存。Oracle对交换分区(SwapSpace)的推荐设置如下,32.3CheckDiskCapacity#df-hOracle12c企业版的需要6.4G大小的磁盘空间,标准版需要6.1G大小的磁盘空间。/tmp需要至少1G的大小。从上面结果得知,磁盘空间完全满足。3.检查软件要求(CheckingtheSoftwareRequirements)3.1操作系统版本检测Oracle12c只支持64位的Linux系统。不支持32Linux平台,这也许是以后的趋势了。OperatingSystemRequirementsforx86-64LinuxPlatforms。Oracle的官方文档明确列出了支持下面三个Linux版本SupportedOracleLinux6andRedHatEnterpriseLinux6Distributionsforx86-64SupportedOracleLinux5andRedHatEnterpriseLinux5Distributionsforx86-64SupportedSUSEDistributionsforx86-64#uname-mx86_64#uname-r42.6.32-200.13.1.el5uek#more/etc/redhat-releaseRedHatEnterpriseLinuxServerrelease5.7(Tikanga)#uname-aLinuxgetoraclelnx01.gfg1.esquel.com2.6.32-200.13.1.el5uek#1SMPWedJul2721:02:33EDT2011x86_64x86_64x86_64GNU/Linux[root@getoraclelnx01Server]#lsb_release-idDistributorID:EnterpriseEnterpriseServerDescription:EnterpriseLinuxEnterpriseLinuxServerrelease5.7(Carthage)3.2检查oracle12c所需包关于Oracle12c所需包,从官方文档看,不同版本的操作系统似乎有所不同,OracleLinux5andRedHatEnterpriseLinux5需要安装下面一些包binutils-2.17.50.0.6compat-libstdc++-33-3.2.3compat-libstdc++-33-3.2.3(32bit)gcc-4.1.2gcc-c++-4.1.2glibc-2.5-58glibc-2.5-58(32bit)glibc-devel-2.5-58glibc-devel-2.5-58(32bit)kshlibaio-0.3.1065libaio-0.3.106(32bit)libaio-devel-0.3.106libaio-devel-0.3.106(32bit)libgcc-4.1.2libgcc-4.1.2(32bit)libstdc++-4.1.2libstdc++-4.1.2(32bit)libstdc++-devel4.1.2libXext-1.0.1libXext-1.0.1(32bit)libXtst-1.0.1libXtst-1.0.1(32bit)libX11-1.0.3libX11-1.0.3(32bit)libXau-1.0.1libXau-1.0.1(32bit)libXi-1.0.1libXi-1.0.1(32bit)make-3.81sysstat-7.0.2#rpm-qbinutilscompat-libstdc++gccgcc-c++glibcglibc-develkshlibaiolibaio-devellibgcclibstdc++libstdc++-devellibXextlibXtstlibX11libXaulibXimakesysstat6#rpm-ivhpkg_name如上所示,既可以用rpm安装,也可以用yum本地源进行安装,这个就看那个方便以及个人的喜好、习惯了。一般推荐用yum安装,不过需要进行配置。4.系统配置准备4.1创建Oracle用户和用户组#groupadd-g501dba#groupadd-g502oinstall#useradd-u500-goinstall-Gdbaoracleidoracleuid=500

1 / 44
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功