基于linux安装过oracle的童鞋们都应该清楚,安装oracle的确是一件比较费时费力的差事,因为仅仅是前期的rpm包,内核参数,创建用户等等这些个步骤都让那些新手不免眼花缭乱,一不留神,就导致最终的安装过程中报错而不得不从头来过。现在基于oracle linux,oracle仅仅需要通过安装oracle-rdbms-server-11gr2-preinstall rpm包即可全部搞定其余未安装的rpm包,解决之间的依赖关系,配置内核参数等等。客官,正在基于oracle linux 安装oralce 11g?那就接着往下看。
1、oracle-rdbms-server-11gr2-preinstall rpm 软件包的功能
a、 automatically downloading and installing any additional software packages and specific package versions needed for installing oracle grid infrastructure and oracle database 12 c release 1 (12.1) or 11g release 2 (11.2.0.3), with package dependencies resolved via yum or up2date capabilities.
b、creating the user oracle and the groups oinstall (for orainventory) and dba (for osdba), which are used during database installation. (for security purposes, this user has no password by default and cannot log in remotely. to enable remote login, please set a password using the passwd tool.)
c、modifying kernel parameters in /etc/sysctl.conf to change settings for shared memory, semaphores, the maximum number of file descriptors, and so on.
e、setting numa=off in the kernel for x86_64 machines.
2、操作步骤
— author: leshami
3、实战演习
b、检查yum是否已安装
c、切换到目录 /etc/yum.repos.d/
d、获取配置文件并进行相应修改
100%[======================================>] 4,233 –.-k/s in 0.001s
2014-05-16 14:41:51 (5.76 mb/s) – “public-yum-ol6.repo” saved [4233/4233
[root@oel63 yum.repos.d]# ls -hltr
[root@oel63 yum.repos.d]# vi public-yum-ol6.repo
[ol6_uek_base]
e、使用yum安装oracle-rdbms-server-11gr2-preinstall包
dependencies resolved
=================================================================================================
transaction summary
total download size: 43 m
installed:
dependency installed:
dependency updated:
f、校验结果
verifying kernel parameters as per oracle recommendations…
setting user limits using /etc/security/limits.conf
verifying oracle user os limits as per oracle recommendations…
setting kernel boot parameters as per oracle recommendations…
disabling transparent hugepages.
disabling defrag.
taking a backup of old config files under /var/log/oracle-rdbms-server-11gr2-preinstall/backup/may-16-2014-14-53-37
#下面是查看备份文件
#校验oracle用户,注,需要为oracle用户修改密码,此处省略
4、参考链接:
how i simplified oracle database installation on oracle linux 5
更多参考
有关oracle rac请参考
有关oracle 网络配置相关基础以及概念性的问题请参考:
有关基于用户管理的备份和备份恢复的概念请参考
有关rman的备份恢复与管理请参考
有关oracle体系结构请参考