Installing Oracle 9iR2 on RHEL AS 3 Step-by-Step Author: Fenng
Installing Oracle 9ir2 on Red Hat Enterprise Linux Advanced Server 3 (RHEL 3) The world's largest Linux vendor Red Hat recently released Red Hat Enterprise Linux 3. The version named has the most powerful open source operating system ever, is also considered The current most complete Linux enterprise solution. Get a positive response to many heavyweight vendors, including Oracle, many products have passed certification on the platform. Oracle 9iR2 is also here. Oracle 9i rhel3 What will be like? Effect? Many technicians are very interested. The heart is not as good as action, it is better to build your own application environment immediately, and feel it.
Configuring Redhat EL3 Operating System Description: Red Hat Enterprise Linux As Release 3 (TAROON) KERNEL 2.4.21-4.El on AN i686 After installing the operating system, you should modify the core parameters. Perform the following parameters:
#echo "kernel.sem = /" 250 32000 100 128 / "" >> /etc/sysctl.conf#echo "kernel.shmmax = 2147483648" >> /etc/sysctl.conf
The 250, 32000, 100, 128 in the first command correspond to the four core parameters of SEMMSL, SEMMNS, SEMOPM, Semmni. The above is a typical core parameter configuration. You may need to make appropriate changes based on your actual environment.
Description of these core parameters is a detailed description in Oracle's Oracle9i Installation Guide Release 2 (9.2.0.1.0) for UNIX Systems. (Http://download-west.racle.com/docs/html/a96167_01/ Toc.htm then check if the above operation is correct: # more /etc/sysctl.conf | grep kernel.skernel.sysrq = 0 kernel.shmmax = 2147483648kernel.sem = "250 32000 100 128" #
Check and install related patches
Installing Oracle on this version of RHEl, there must be several packages (refer to Oracle Note: 252217.1) on Metalink). Confirm that the following RPM packages have been installed:
# rpm -qa | grep compatcompat-gcc-7.3-2.96.122compat-libstDC - devel-7.3-2.96.122Compat-GCC-C - 7.3-2.96.122compat-libstDC - 7.3-2.96.122compat-glibc-7.x- 2.2.4.32.5compat-DB-4.0.14-5
# rpm -qa | grep openmotif openmotif-2.2.2-16 openmotif-devel-2.2.2-16
# OpenMotiF-2.2.2-16
# rpm -qa | grep setarchsetarch-1.3-1
The content shown above is the result after the author has installed the specific RPM package. In general, the output results on your system are different. If the individual package is not installed, install the system on the disc mount, find specific software Package (most in the third disc), then use the following command to install the corresponding package:
# rpm -ivh compat ..... rpm
It is necessary to note that these packages are dependent, and the order in order is to be found. Otherwise, the error will not be installed.
Also need to replace GCC, G version of version 2.96. (Refer to Oracle NOTE: 252217.1) # mv / usr / bin / gcc / usr / usr / bin / gcc296 / usaR / bin / gcc296 / us / GCC # mv / usr / bin / g / usr / bin / g 323 # ln -s / usr / bin / g 296 / usr / bin / g If the report can't find a file, please confirm the package Whether is installed.
Check environment variables
This version of the default GLIBC is very suitable. It is not a lot of trouble.
Log in to Oracle User # SU - Oracle $ CD $ VI .BASH_PROFILE
# Add the following
# This parameter must be specified, otherwise the Java installation interface cannot start export ld_assume_kernel = 2.4.1
export ORACLE_BASE = / u01 / app / oracle export ORACLE_HOME = $ ORACLE_HOME / product / 9.2.0export ORACLE_SID = DEMO export ORACLE_TERM = xtermexport ORA_NLS33 = $ ORACLE_HOME / ocommon / nls / admin / dataLD_LIBRARY_PATH = $ ORACLE_HOME / lib: / lib: / usr / libld_library_path = $ ld_library_path: / usr / local / libexport ld_library_path
# Set shell search pathsexport path = $ PATH: $ ORACLE_HOME / BIN
Then perform $ source .bash_profile to make environment variables
Description of the ld_assume_kernel environment variable:
This parameter is actually in order to avoid NPTL (Nature Posix Thread Library) and Oracle applications on Linux. Setting LD_Assume_kernel to 2.4.1 means using the old "LinuXThreads with floating stacks". (Here there is Floating Stacks) Generally explained.)
Download the required patch from Metalink (http://metalink.oracle.com/ Requires CSI)
Required patch:
P30095277_9204_Linux.zip 9.2.0.4.0 upgrade patch. P3006854_9204_linux.zip Before running Runinstaller. P3119415_9204_linux.zip After upgrading to 9.2.0.4.0. P2617419_210_GENERIC.ZIP Triendal 3119415 patch needs.
P3095277_9204_linux.zip approximately more than 300 megabytes. How to quickly download the patch on Metalink? Please refer to this link: http://www.ncn.cn/oracle/tips/oratip009.htm
The three are relatively small. You can download: http://www.itpub.net/showthread.php? S = & threadid = 171693 & perpage = 15 & Pagenumber = 1 唉, is also a patch, installation can be more cost-effective, I don't know if the engineer of Oracle will feel trouble every installation.
Start installing 9.2.0
Before running RunInstaller, you need to play patch 3006854: Note that you must run as root.
# unzip p3006854_9204_linux.zip Create a directory in the current directory, enter this directory
#./rhel3_pre_install.sh If the report is wrong: -bash: ./rhel3_pre_install.sh: permission denied modifies that the permissions can be # chmod x * .sh then run the Runinstaller installation. The operation process is no longer .
But the Relink phase reports two errors: Ignore ignore. Point Ignore ignore. To upgrade to 9.2.0.4, you can fix these two bugs.
Upgrade to 9.2.0.4.0
After the installation is over, you need to stop all the related programs of Oracle. Best commands are executed, please confirm with the IPCS command. Then you can start to upgrade.
Unpacking:
$ unzip p3095277_9204_linux.zip $ cpio -icvd <9204_lnx32_release.cpio
Now running RunInstaller again, find the stat's Stage file in the OUI interface, and then upgrade can be performed.
Note: First, you want to upgrade OUI, otherwise it will not be upgraded to 9.2.0.4. Moreover, after upgrading OUI, you must quit OUI and then re-run OUI, upgrade to 9.2.0.4. No exiting continue upgrade will report an error. There will still be an INS_OEMAGENT.MK error, point IGNORE ignores. We will fix the error in the next step.
Touch the patch again
After upgrading, you need to make a patch repair INS_OEMAGENT.MK error.
First install Opatch.
$ unzip p2617419_210_generic.zip
$ PWD / U01 / Install $ export path = $ PATH: / u / install / 3119415: / sbin
Note: When modifying the PATH, in addition to the extracted OPATCH directory, you have to include / sbin directory, so you can find the fuser command. And the fuser command is also required for this patch.
$ unzip p3119415_9204_linux.zip archive: p3119415_9204_linux.zip Creating: 3119415 / ... Inflating: 3119415 / Readme.txt
$ CD 3119415 $ OPATCH APPLY
Run the problem of DBCA.
$ DBCA
The graphical interface will appear normally, then you can choose to create a database, but the last step is an inexplicable interface disappears. The following error appears in the command line: /oracle/product/9.2.0.1/bin/dbca: line 124: 27348 Killed $ jre_dir / bin / Jre-Doracle_Home = $ OH -DJDBC_PROTOCOL = Thin -mx64m -classpath $ classpathoracle.sysman.assistants.dbca.dbca $ arguments
To solve this problem: $ vi $ oracle_home / bin / dbca
# # 注 面 面 第 行 行 行 行]]]]];]]];;;;];;;];;;;;;;; () Run DBCA # $ jre_dir / bin / jre -doracle_home = $ oh ... #fi
Reference information Werner Puschitz's Installing Oracle9i On Red Hat Linux Pondka installed Oracle9.2.0 Linux on Redhat El AS 3: Native Posix Threading Library (NPTL) / (http://people.redhat.com/drepper/nptl-design. PDF) Google News Group on DBCA's wrong solution Oracle9i Installation Guide Release 2 (9.2.0.1.0) for UNIX Systems Original Source: 转载请注明原文地址:https://www.9cbs.com/read-27577.html