Oracle Installation Based on Linux is a time-consuming and laborious task, because it is only the preliminary rpm package, kernel parameters, and creation of users.
Oracle Installation Based on Linux is a time-consuming and laborious task, because it is only the preliminary rpm package, kernel parameters, and creation of users.
Oracle Installation Based on Linux is a time-consuming and laborious task, because it is only the rpm package, kernel parameters, the creation of users and so on all these steps make those new users confused. Once they are not careful, they will eventually report errors during the installation process and have to start from scratch. Now based on Oracle Linux, Oracle only need to install the oracle-rdbms-server-11gR2-preinstall RPM package to all the rest of the uninstalled RPM package, solve the dependency between, configure Kernel Parameters and so on. Guest OFFICER: Oracle Linux-based Oracle 11g? Then let's look down.
1. Features of oracle-rdbms-server-11gR2-preinstall RPM package
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.
D. Setting hard and soft shell resource limits in/etc/security/limits. conf, such as the locked-in memory address space, the number of open files, the number of processes, and core file size.
E. Setting numa = off in the kernel for x86_64 machines.
-- Author: Leshami
-- Blog:
B. Check whether yum is installed.
[Root @ oel63 ~] # Rpm-qa | grep yum
Yum-utils-1.1.30-14.el6.noarch
PackageKit-yum-plugin-0.5.8-20.0.1.el6.x86_64
Yum-rhn-plugin-0.9.1-40.0.1.el6.noarch
Yum-plugin-security-1.1.30-14.el6.noarch
Yum-3.2.29-30.0.1.el6.noarch
PackageKit-yum-0.5.8-20.0.1.el6.x86_64
Yum-metadata-parser-1.1.2-16.el6.x86_64
C. Switch to the/etc/yum. repos. d/directory/
[Root @ oel63 ~] # Cd/etc/yum. repos. d/
Resolving public-yum.oracle.com... 184.51.198.32, 184.51.198.8, 184.51.198.65
Connecting to public-yum.oracle.com | 184.51.198.32 |: 80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4233 (4.1 K) [text/plain]
Saving to: "public-yum-ol6.repo"
100% [============================================== >] 4,233 --. -K/s in 0.001 s
14:41:51 (5.76 MB/s)-"public-yum-ol6.repo" saved [4233/4233
[Root @ oel63 yum. repos. d] # ls-hltr
Total 8.0 K
-Rw-r --. 1 root 4.2 K Nov 25 public-yum-ol6.repo
[Root @ oel63 yum. repos. d] # vi public-yum-ol6.repo
# The environment is Oracle Linux 6.3, so the following two parts are modified. Set the enabled value of the part to be installed to 1.
[Ol6_u3_base]
Name = Oracle Linux $ releasever Update 3 installation media copy ($ basearch)
Baseurl = http://public-yum.oracle.com/repo/?lelinux/ol6/3/base/#basearch/
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Gpgcheck = 1
Enabled = 1
[Ol6_UEK_base]
Name = Unbreakable Enterprise Kernel for Oracle Linux $ releasever ($ basearch)
Baseurl = http://public-yum.oracle.com/repo/?lelinux/ol6/uek/base/#basearch/
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Gpgcheck = 1
Enabled = 1
E. Use yum to install the oracle-rdbms-server-11gR2-preinstall package
[Root @ oel63 yum. repos. d] # yum install oracle-rdbms-server-11gR2-preinstall
Loaded plugins: refresh-packagekit, security
Ol6_UEK_base | 1.2 kB: 00
Ol6_UEK_base/primary | 1.0 MB 00:01
Ol6_UEK_base 36/36
Ol6_UEK_latest | 1.2 kB: 00
Ol6_latest | 1.4 kB: 00
Ol6_u3_base | 1.4 kB: 00
Ol6_u3_base/primary | 2.7 MB
Ol6_u3_base 8452/8452
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-rdbms-server-11gR2-preinstall.x86_64. 0-9.el6 will be installed
--> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: gcc-c ++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: compat-libstdc ++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: libstdc ++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Running transaction check
---> Package compat-libcap1.x86_64. 10-1 will be installed
---> Package compat-libstdc ++-33. x86_64. 2.3-69. el6 will be installed
---> Package gcc. x86_64 4. 4.7-4. el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-4. el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-4. el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: libgcc> = 4.4.7-4. el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cloog-ppl> = 0.15 for package: gcc-4.4.7-4.el6.x86_64
---> Package gcc-c ++. x86_64. 4.7-4. el6 will be installed
--> Processing Dependency: libstdc ++ = 4.4.7-4. el6 for package: gcc-c ++-4.4.7-4. el6.x86 _ 64
--> Processing Dependency: libmp Fr. so.1 () (64bit) for package: gcc-c ++-4.4.7-4. el6.x86 _ 64
---> Package glibc-devel.x86_64 0: 2. 12-1.132.el6_5.1 will be installed
--> Processing Dependency: glibc = 2.12-1.132.el6 _ 5.1 for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.132.el6 _ 5.1 for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
---> Package ksh. x86_64 0: 20120801-10.el6_5.4 will be installed
---> Package libaio-devel.x86_64 0: 0. 3.107-10. el6 will be installed
---> Package libstdc ++-devel. x86_64 4. 4.7-4. el6 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0: 0. 15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 () (64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl. so.7 () (64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp. x86_64. 4.7-4. el6 will be installed
---> Package glibc. x86_64 0: 2. 12-1.80.el6 will be updated
--> Processing Dependency: glibc = 2.12-1.80.el6 for package: glibc-common-2.12-1.80.el6.x86_64
---> Package glibc. x86_64 0: 2. 12-1.132.el6_5.1 will be an update
---> Package glibc-headers.x86_64 0: 2. 12-1.132.el6_5.1 will be installed
--> Processing Dependency: kernel-headers> = 2.2.1 for package: glibc-headers-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.132.el6_5.1.x86_64
---> Package libgcc. x86_64. 4.6-4. el6 will be updated
---> Package libgcc. x86_64. 4.7-4. el6 will be an update
---> Package libgomp. x86_64. 4.6-4. el6 will be updated
---> Package libgomp. x86_64. 4.7-4. el6 will be an update
---> Package libstdc ++. x86_64. 4.6-4. el6 will be updated
---> Package libstdc ++. x86_64. 4.7-4. el6 will be an update
---> Package mpfr. x86_64. 4.1-6. el6 will be installed
--> Running transaction check
---> Package glibc-common.x86_64 0: 2. 12-1.80.el6 will be updated
---> Package glibc-common.x86_64 0: 2. 12-1.132.el6_5.1 will be an update
---> Package kernel-uek-headers.x86_64 0: 2. 6.32-400.34.5.el6uek will be installed
---> Package ppl. x86_64. 10.2-11. el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved