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 start building your own application environment, feel the 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, the core parameters should be modified. 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 corresponds to the four core parameters of SEMMSL, SEMMNS, SEMOPM, Semmni. The above is a typical core parameter configuration. You may It is necessary to make appropriate changes based on your actual environment. Description of these core parameters is in detail in Oracle Oracle9i Installation Guide Release 2 (9.2.0.1.0) for UNIX Systems. (Http: // Download-West .oracle.com / DOCS / HTML / A96167_01 / TOC.HTM) Then, check if the above operation is correct: # more /etc/sysctl.conf | grep kernel.skernel.sysrq = 0kernel.shmmax = 2147483648kernel.sem = "250 32000 100 128" # check and install the related patch on this version of RHEl installed Oracle, there must be several packages (refer to Metalink Oracle Note: 252217.1). 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 You can # rpm -qa | grep setarchseTarch-1.3-1 The above display is the result after the author has installed the specific RPM package. In general, your system The output is different from this. If the individual packet is not installed, install the CD mount, find the specific package (most of the third disc), then use the following command to install the corresponding package: # rpm -ivh Compat ..... RPM should be noted that these packages are dependent, and the order in order is to be found. Otherwise, the error will not be installed. You also need to put GCC, G
Replace with 2.96 version. (Refer to Oracle Note: 252217.1) # mv / usr / bin / gcc296 / usr / usr / gcc296 / usr / usr / gcc # mv / usr / gcc323 / 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 if the package is installed. Check environment variables This version of the default glibc is very suitable. Sign in a lot of trouble. Log in to Oracle User # su - Oracle $ CD $ VI .BASH_PROFLE # 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 and then execute $ source .bash_profile description of the environmental variables LD_ASSUME_KERNEL environment variable: this parameter is actually It is to avoid NPTL (NATIVE 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 a generally in the floating stacks Explanation.) From MetAlink (http://metalink.oracle.com/ Need CSI) Download The patch needs to be patch:. P3095277_9204_LINUX.zip 9.2.0.4.0 upgrade patch p3006854_9204_LINUX.zip fight before running runInstaller p3119415_9204_LINUX.zip play after upgrading to the patch 3119415 9.2.0.4.0 p2617419_210_GENERIC.zip fight. It is required. 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 is relatively small. Download in ITPUB: http://www.itpub.net/showthread.php? S = & threadid = 171693 & perpage = 15 & Pagenumber =
1 Oh, it is a patch, and the installation can be more expensive. I don't know if the engineer of Oracle will feel trouble every installation. Before installing 9.2.0 running Runinstaller, you need to play patch 3006854: Note, you must use root I'm running. # Unzip p3006854_9204_linux.zip Create a directory in the current directory, enter the directory # CD 3006854 # ./rhel3_pre_install.sh If the report is as follows: -bash: .sh: permission Denied Denied modified permission You can run the RunInstaller installation. The operation process will not be described again. However, the reelink phase reports two errors: IGNORE Ignore ignore. To upgrade to 9.2. The version of 0.4 can only fix the two bugs. After upgrading to 9.2.0.0.0 installation, you need to stop all related programs of Oracle. Best commands are executed, and then confirm with the ipcs command. Then you can start playing Patch upgrade. Unpack: $ unzip p3095277_9204_linux.zip $ cpio -icvd <9204_lnx32_release.cpio now run runinstaller again, find the stataller of Patch in the OUI interface, then upgrade can be upgraded. Note: First of all, to upgrade OUI, Otherwise, it will not be upgraded to 9.2.0.4. Moreover, after the upgrade OUI, you must exit the OUI and then re-run the OUI, then upgrade to 9.2.0.4. Do not quit the continued upgrade will report an error. In the upgrade process, INS_OEMAGENT.MK will still appear Error, point IGNORE ignore. We will fix this error in the next step. After playing the dock again, we need to make the dock fix the INS_OEMAGENT.MK error. First install Opatch. $ Unzip p2617419_210_generic.zip $ PWD / U01 / Install $ export path = $ PATH: / U / INSTALL / 3119415: / SBIN Note: When the PATH is modified, in addition to the extracted OPATCH directory, it is necessary to include the / sbin directory, so that the fuser command can be found. And the fuser command is also the patch process. Need. $ Unzip P31 19415_9204_linux.zip archive: p3119415_9204_linux.zip Creating: 3119415 / ... Inflating: 3119415 / readme.txt $ CD 3119415 $ OPATCH APPLY Run DBCA's question. $ Dbca will have a graphical interface normally, then you can choose to create a database. But the last step is an inexplicable interface disappeared. 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.ssistants.dbca.dbca $ arguments To resolve this issue: $ vi $ oracle_home / bin / dbca # 将 下 下 下 的 行 行 行 行 行 行 行 行 行 行 行 行 掉ETC / RAC_ON]; THEN #Run DBCA $ jre_dir / bin / jre -native -doracle_home = $ oh ... #erse #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 error solution Oracle9i Installation Guide Release 2 (9.2.0.1.0) for UNIX Systems Original Source: http://www.dbanotes.net/oracle/install-oracle9ir2-rhel3.htm