Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Database


    

Blue Forest http://www.lslnet.com at 3:18 p.m. on August 26, 2006


‘Turn’ Oracle9.2.0.4 and install a patch installed Linux AS3U4

Installation :
The article said many times should install gcc, Linux demotion, but I did not do that, it can be installed directly, if you install unsuccessful, demotion, gcc, Linux a try.

Installation process, we need to pay attention to the following :

All the patch is as follows :
After the installation of Oracle End p3238244_9204_LINUX.zip start solving problems Agent
P3006854_9204_LINUX.zip runInstaller in operation before the fight.
P2617419_210_GENERIC.zip fight 3238244 patch needs patching.

In the installation process, we use two users simultaneously, one of which is the root user, the other one is you create a new Oracle users.

Therefore, the patch must 以root身份 fight.


Next, we installed :

1, open up a terminal, or to download the root user : su -
2, or create the necessary user and group
Groupadd oinstall
Groupadd dba
Oracle dba G useradd g oinstall
Oracle passwd

3, preparing documents list :

# Mkdir-p /opt/oracle/product/9.2
# Mkdir /var/opt/oracle
# Chown oracle.dba /var/opt/oracle
# Chown-R oracle.oinstall /opt/oracle
# Chmod 755 /var/opt/oracle

4, conditioning systems and installation support software kernel parameters :

4.1, first used rpm -qa|grep compat order to check whether the security system with the following software :

#rpm -qa|grep Compat
Compat-db-4.0.14-5.i386
Compat-gcc-7.3-2.96.122.i386
Compat-gcc-c++-7.3-2.96.122.i386
Compat-libstdc++-7.3-2.96.122.i386
Compat-libstdc++-devel-7.3-2.96.122.i386
#rpm -qa|grep Openmotif21
Openmotif21-2.1.30-8.i386
#rpm -qa|grep Setarch
Setarch-1.3-1.i386
#rpm -qa|grep Tcl
Tcl-8.3.5-92.i386
If not, please tell us your installation disk, the installation of the above packages.

4.2, installed kernel parameters, signal conditioning and shared memory :

/etc/sysctl.conf Amend this document, insert the following lines :
Kernel.shmmax = 536870912 (268435456 256MB of memory, if in excess of the value that would arise in the operation dbca Ora-27123:Unable to attach to shared memeroy segment)
Kernel.shmmni = 4096
Kernel.shmall = 2097152
Kernel.sem = 250 32000 100 128
Fs.file-max = 65536
Net.ipv4.ip_local_port_range = 1024 65000

4.3, Oracle set up to the document requirements :
Editors : /etc/security/limits.conf adding the following words : paper
Oracle soft nofile 65536
Oracle hard nofile 65536
Oracle soft nproc 16384
Oracle hard nproc 16384


5, the system environment :
First, the terminals installed in the root user.
Export ORACLE_BASE=/opt/oracle
Export ORACLE_HOME=/opt/oracle/product/9.2

This is to facilitate the fight patch, and that the terminal will not switch off to maintain it.

Oracle users set up the environment, open a new terminal, su-oracle
We must open a new note. This is more convenient.

Opened. Bashrc documents will be adding the following elements :

#oracle 9i
Export ORACLE_BASE=/opt/oracle
Export ORACLE_HOME=/opt/oracle/product/9.2
Export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH
Export ORACLE_OWNER=oracle
Export ORACLE_SID=test (It was to build the database name can easily named)
Export ORACLE_TERM=vt100
Export LD_ASSUME_KERNEL=2.4.1
Export THREADS_FLAG=native
Export LD_LIBRARY_PATH=/opt/oracle/product/9.2/lib:$LD_LIBRARY_PATH
Export PATH=/opt/oracle/product/9.2/bin:$PATH
#
# Change this NLS settings to suit your country :
# Example :
# German_germany.we8iso8859p15, american_america.we8iso8859p2 etc..
#
Export LANG=en_US
Export LC=en_US

From preservation. Then. From the groups, once again, this time Oracle has been in effect on the environment.

6, codecs document fighting patch before installation, switching to the root user consoles :

6.1, cd /home
Mkdir oracle9
Cd oracle9
These catalogs your own definition.
Oracle iso then installed three documents Kaodao here :
Generation after decompression three folders : DISK1, DISK2, DISK3


6.2, the patch before installation fight :

以root身份 operation.
This is carried out in /home/oracle9/.

# Unzip p3006854_9204_LINUX.zip
Archive : p3006854_9204_LINUX.zip
3006854/ creating :
3006854/rhel3_pre_install.sh inflating :
3006854/README.txt inflating :

3006854 # cd
# Sh rhel3_pre_install.sh

7, the completion of the installation :

Oracle switched to the terminal user login :
Oracle in the main catalog operation : /home/oracle9/Disk1/runInstaller
On it. Note : export LD_ASSUME_KERNEL=2.4.1 (bash users), the environmental variables must be on. Bashrc documents shows otherwise. Not running jvm

Finally in a long-awaited move as a GUI interface ah. This interface is welcome. Oracle installation shows the list of where the source document, and also to install the product catalogs. We point "Next";
Inventory interface is followed by a road, we point "Next";
UNIX group now require user input, and where we use the Oracle user group "oinstall" and then point "Next" If this is the first time you install Oracle products running a sh documents will you. /tmp/orainstRoot.sh Document is, we open up a shell window, switching to the root user, as follows :
Quote : su root
Sh /tmp/orainstRoot.sh


We returned to operation after installing Oracle interface points "Continue";
Contents of the document storage options, we have chosen to default values. Then the "Next";
Installation of the product is "Oracle9i Database 9.2.0.4.0" points "Next";
Type of installation options is the "big picture" and acquiesce option. Points, "Next";
Importation of whole database, and then the "Next";
Data files stored position, I used the acquiescence position, points, "Next";
The choice of components installed there, then point "Install", the installation, duplicating paper, the progress of the 1.1-point increase, when installed and link the drawings, there interface configuration tool, not the success of agent services, do not overlook management, repair complex below. DBCA, NETCA, HTTP rightly staffed. You may begin to repair complex wrong.

8, a patch installed p3238244_9204_LINUX.zip
Under this patch is downloaded from http://metalink.oracle.com, to download a software package : p2617419_220_GENERIC.zip opatch, it is primarily used to solve the wrong agent services could not be activated.
The process is as follows : quote : su-oracle
Unzip p2617419_210_GENERIC.zip
Export PATH=$PATH:/home/oracle9/OPatch
Export PATH=$PATH:/sbin # patch needs the "fuser" which is located in /sbin
Unzip p3238244_9204_LINUX.zip
Cd 3238244
Opatch apply

Complex patch repair is needed to complete a relinked. Mk documents.
$ Cd $ORACLE_HOME/network/lib
$ Ins_oemagent.mk install make-f
Agentctl start now in operation, to see whether they can successfully running the service agent ah, can stop, stop this service or inspection status to the state.
In this successful, the newly launched Oracle, saying it was unable to find any document initialization, no way, I use the original installation dbca first established by the Secretary to delete and re-create the database.
8, operational dbca to create databases. Smooth the way to complete the installation of the database.
9, connecting OEM
$ORACLE_HOME/bin/emca Creating database management operations. Agent then start again on the oemctl start oms.

The need to install a patch over 500 K, 100 K CU only made, and we need to stay e-mail to me.


Frank gave me a copy of the mail
[email]zhouw_81@sina.com[/email]

In the past two days I have just installed this version. The way you and I almost. The estimates look at the information about the same. But you do not seem to escalate ORACLE 9206

[email]kaka_sjsh@126.com[/email]



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com