So far, there has been no message about Oracle10g11g authentication on RHEL6, that is, we do not recommend that you use Oracle10g11g in the RHEL6 production environment. No
So far, no message has been sent about Oracle 10g/11g authentication on RHEL 6, that is, we do not recommend that you use Oracle 10g/11g in the RHEL 6 production environment. No
So far, no message has been sent about Oracle 10g/11g authentication on RHEL 6, that is, we do not recommend that you use Oracle 10g/11g in the RHEL 6 production environment. However, I recently saw some friends asking me how to install Oracle 10 GB on the latest CentOS 6, which requires testing and some problems occurred during the installation process, therefore, the 51CTO editor decided to collect resources for reference.
In theory, the Operation Method on CentOS 6 should be the same as that on RHEL 6. In terms of software source, you can find a solution. Before Linuxidc.com, you have also collected some information about the yum source of RHEL 6, you can make a reference.
How to install Oracle 10g R2 (x86) on RHEL 6)
Preparations
RHEL 6.0 servers
Type description version file name download site
DBOracle 10g R210.2.0.1.010201_database_linux32.zip oracle.com
DBOracle 10g R2 Companion CD10.2.0.1.010201_companion_linux32.zip oracle.com
DBOracle 10g R2 patch-set10.2.0.4.0p6810189_10204_Linux-x86.zipsupport.oracle.com
TOOLSoraToolKit1.0.2.1.5oratoolkit-1.0.2.1.5-1.noarch.rpmsourceforge.net
OSRed Hat Enterprise Linux6.0rhel-server-6.0-i386-dvd.isoredhat.com
Installation steps:
Install the Korn Shell and oraToolKit
# Su-root # mount/dev/cdrom/mnt; # rpm-ivh/mnt/Server/Packages/ksh-20100621-2.el6.i686.rpm # cd/var/tmp/oracle # ls-1 oratool * oratoolkit-1.0.2.1.5-1.noarch.rpm # rpm-ivh oratoolkit-1.0.2.1.5-1.noarch.rpm
Set the user's oracle Password
# Passwd oracle
Check installation package Dependencies
#/Opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2. cfg
If something is missing, complete the task and run it again until there is no warning.
The following is a reference operation for completing Dependencies from a DVD:
# Cd/mnt/Server/Packages/# rpm-ivh libstdc ++-devel-4.4.4-13.el6.i686.rpm \ kernel-headers-2.6.32-71.el6.i686.rpm \ glibc-headers-2.12-1.7.el6.i686.rpm \ glibc-devel-2.12-1.7.el6.i686.rpm \ gnome-icon-theme-2.28.0-2.el6.noarch.rpm \ dmz-cursor-themes-0.4-4.el6.noarch.rpm \ sgml-common-0.6.3-32.el6.noarch.rpm \ libaio-devel-0.3.107-10.el6.i686.rpm \ ncurses-devel-5.7-3.20090208.el6.i686.rpm \ libXxf86vm-1.1.0-1.el6.i686.rpm \ libXt-1.0.7-1.el6.i686.rpm \ libXmu-1.0.5-1.el6.i686.rpm \ mpfr-2.4.1-6.el6.i686.rpm \ cpp-4.4.4-13.el6.i686.rpm \ xorg-x11-xauth-1.0.2-7.1.el6.i686.rpm \ compat-gcc-34-c + +-3.4.6-19. el6.i686. rpm \ libdaemon-0.14-1.el6.i686.rpm \ avahi-0.6.25-8.el6.i686.rpm \ avahi-glib-0.6.25-8.el6.i686.rpm \ shared-mime-info-0.70-4.el6.i686.rpm \ libIDL-0.8.13-2.1.el6.i686.rpm \ ORBit2-2.14.17-3.1.el6.i686.rpm \ GConf2-2.28.0-6.el6.i686.rpm \ gnome-vfs2-2.24.2-6.el6.i686.rpm \ libbonobo-2.24.2-4.el6.i686.rpm \ libtool-ltdl-2.2.6-15.5.el6.i686.rpm \ unixODBC-2.2.14-11.el6.i686.rpm \ gtk2-engines-2.18.4-5.el6.i686.rpm \ libmcpp-2.7.2-4.1.el6.i686.rpm \ mcpp-2.7.2-4.1.el6.i686.rpm \ xorg-x11-server-utils-7.4-15.el6.i686.rpm \ libXv-1.0.5-1.el6.i686.rpm \ ConsoleKit-x11-0.4.1-3.el6.i686.rpm \ xorg-x11-xinit-1.0.9-13.el6.i686.rpm \ libXxf86dga-1.1.1-1.el6.i686.rpm \ libdmx-1.1.0-1.el6.i686.rpm \ xorg-x11-utils-7.4-8.el6.i686.rpm \ compat-db43-4.3.29-15.el6.i686.rpm \ compat-db42-4.2.52-15.el6.i686.rpm \ ppl-0.10.2-11.el6.i686.rpm \ cloog-ppl-0.15.7-1.2.el6.i686.rpm \ gcc-4.4.4-13.el6.i686.rpm \ gcc-c ++-4.4.4-13. el6.i686. rpm \ compat-libstdc +-33-3.2.3-69.el6.i686.rpm \ compat-db-4.6.21-15.el6.i686.rpm \ gnome-themes-2.28.1-6.el6.noarch.rpm \ system-icon-theme-6.0.0-2.el6.noarch.rpm \ system-gnome-theme-60.0.2-1.el6.noarch.rpm \ unixODBC-devel-2.2.14-11.el6.i686.rpm \ readline-devel-6.0-3.el6.i686.rpm \ libgnome-2.28.0-11.el6.i686.rpm # cd/; umount/mnt; eject #/opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2. cfg
If you want to use an enhanced SQL * plus ......
# Cd/opt/oracle/otk/current/tools/rlwrap/#./configure # make install #/usr/local/bin/rlwrap-v
Execute osSetup of installManager
This step is used to set kernel parameters, creation paths, file owners, and other parameter settings. If you want to install it by default, do not change anything.
# Cd/opt/oracle/otk/current/conf/installManager/# vi osSetup10gR2. cfg # sdiff-s osSetup10gR2. cfg sample/osSetup10gR2. cfg #/opt/oracle/otk/current/bin/installManager osSetup osSetup10gR2. cfg
Migrate Oracle software to software source
Oracle software is the one you downloaded above.
# Cd/var/tmp/oracle # chown oracle: oinstall * # mv 10201_database_linux32.zip 10201_companion_linux32.zip p6810189_10204_Linux-x86.zip/var/opt/oracle/repository/
Log On As an oracle user and set the PS1 variable
# Su-oracle export oraToolKit 1.0 environment variables export Installation directory:/opt/oracle/otk Release: 1.0.2.1.5 $ RUN directory:/opt/oracle/otk/1.0/bin $ LOG_BASE directory: /var/opt/oracle/otk/1.0/log ------------------------------------------------------ : Oracle @ stquist1p: sidNotSet $ grep ^ SITE. profile. custom. interactiveSITE =" " : Oracle @ stquist1p: sidNotSet $ vi. profile. custom. interactive : Oracle @ stquist1p: sidNotSet $ grep ^ SITE. profile. custom. interactiveSITE = "quest-LU" : Oracle @ stquist1p: sidNotSet $ exit # su-oraclequest-LU: oracle @ stquist1p: sidNotSet $
Install Oracle software
Do not use OUI for installation. Otherwise, you need to sit in front of the computer and click the mouse. Run swlnst automatically.
$ Bash $ cd $ INSTALL_CONF $ cp sample/swInstEeSrv10gR2-Step [123]-linux-x86.cfg. $ installManager swInst swInstEeSrv10gR2-Step1-linux-x86.cfg $ su-#/opt/oracle/eesrv/10.2.0/db1/root. sh # exit $ installManager swInst swInstEeSrv10gR2-Step2-linux-x86.cfg $ installManager swInst swInstEeSrv10gR2-Step3-linux-x86.cfg $ su-#/opt/oracle/eesrv/10.2.0/db1/root. sh # exit