Académique Documents
Professionnel Documents
Culture Documents
0)
Below the $ orders are from the beginning of the implementation of the oracle
# Ordered by the beginning of the implementation of the root
2. Create directory
--------------------------
We will assume that home directory is / opt / oracle directory:
# Mkdir-p / opt/app/oracle/9.2.0
# Chown-R oracle.oinstall / opt / app / oracle
3. System configuration
--------------------------
A) a core parameters
Edit / etc / sysctl.conf
Kernel.shmmax = 536870912 set to physical memory here half a memory of G: 512 × 1024 × 1024
Kernel.shmmni = 2G memory of 4096: 1024 × 1024 × 1024
Kernel.shmall = 2097152
Kernel.sem = 250 32000 100128 Other values are not fixed
Fs.file-max = 65536
Net.ipv4.ip_local_port_range = 1024 65000
Sem four parameters were SEMMSL (each user has the largest number of signal);
SEMMNS (maximum number of signals);
SEMOPM (each operating system calls semopm few);
SEMMNI (system hard for the largest number of sets).
Shmmax largest shared memory to 2 GB of physical memory so if small, can be configured to
536870912.
Shmmni smallest shared memory 4096KB.
Shmall all memory size.
Sysctl amended to reflect the implementation of core parameters to take effect immediately, could reopen
# Sysctl-p
Can be in the running order changes through the implementation of the following core parameters:
# Echo 250 32000 100128> / proc / sys / kernel / sem
# Echo 268435456> / proc / sys / kernel / shmmax # 1 / 2 * mem_size (M) 1024 * 1024 *
# Echo 4096> / proc / sys / kernel / shmmni
# Echo 524288> / proc / sys / kernel / shmall # mem_size (M) * 1024
# Echo 65536> / proc / sys / fs / file-max
# Echo 1024 65000> / proc/sys/net/ipv4/ip_local_port_range
4. Patches
-------------------------------------------------- ------------------------------------------------
A) patch:
P3006854_9204_LINUX.zip before installation of the patch to win
P2617419_210_GENERIC.zip play after the installation (this is only a patch with, as long as it's set up
Environment variable)
P3238244_9204_LINUX.zip play after the installation of the 9204 patch, patch repair agent wrong.
Http://www.opennet.ru/soft/ora_inst/
B) a p3006854_9204_LINUX.zip
# Unzip p3006854_9204_LINUX.zip
# Chmod + x 3006854/rhel3_pre_install.sh
# 3006854/rhel3_pre_install.sh
C) Installation of compat-libcwait-2.1-1.i386.rpm
# Rpm-ivh compat-libcwait-2.1-1.i386.rpm
D) some of the needs of packages, these packages can be found from the system after
# Rpm-ivh compat-db-4.2.52-5.1.i386.rpm
# Rpm-ivh libXp-1.0.0-8.i386.rpm
# Rpm-ivh libXp-devel-1.0.0-8.i386.rpm
# Rpm-ivh openmotif-2.3.0-0.3.el5.i386.rpm
# Rpm-ivh openmotif-devel-2.3.0-0.3.el5.i386.rpm
F) Create Links
# Ln-s / usr / lib / libstdc + +-libc6.2-2.so.3 / usr / lib / libstdc + +-libc6.1-1.so.2
Decompression
$ Zcat ship_9204_linux_disk1.cpio.gz | cpio-idmv
$ Zcat ship_9204_linux_disk2.cpio.gz | cpio-idmv
$ Zcat ship_9204_linux_disk3.cpio.gz | cpio-idmv
2) Please restart X then oracle landing system, otherwise they will be out some errors, such as: xhost +,
environment variables, etc
$ Disk1/runInstaller
Did not specify according to the default settings, according to the interface tips, and then Next or OK can
be.
Oracle install group: oinstall
Global Database Name: ox0spy.org (which can be filled out according to your situation)
This process will emerge two tips to let you run the script directory specified, in accordance with tips can
be done on the
3) should now be installed Configuration Tools, and if this error, suggesting that the failure to install
Configuration Tools,
Do not worry, we still have two patches did not fight it. Fact accurate that is a patch, only
p2617419_210_GENERIC.zip
With a patch, I do not need this, just completed manually
Agent Configuration Assistant solve installation failure
$ Unzip p3238244_9204_LINUX.zip
$ Cp 3238244/files/lib/stubs / * $ ORACLE_HOME / lib / stubs /
$ Cd $ ORACLE_HOME / network / lib /
$ F ins_oemagent.mk install make -
Oracle Net Configuration Assistant solution, Oracle Database Configuration Assistant installation failure
$ Rm $ ORACLE_HOME / JRE
$ Ln-s $ ORACLE_BASE/jre/1.3.1 / $ ORACLE_HOME / JRE
$ Ln-s $ ORACLE_HOME / JRE / bin / java $ ORACLE_HOME / JRE / bin / jre
$ Ln-s $ ORACLE_HOME/JRE/bin/i386/native_threads/java $
ORACLE_HOME/JRE/bin/i386/native_threads/jre
OK, now Retry, you can Configuration Tools successfully installed, the installation will be over ...
==================================================
* Tips: (This problems appeared in the process of installation and solutions)
==================================================
2. Oracle 9i Patch
==========================
P2617419_220_GENERIC.zip
P3006854_9204_LINUX.zip
P3238244_9204_LINUX.zip
Http://www.opennet.ru/soft/ora_inst/
Compat-libcwait-2.0-2.i386.rpm
Compat-oracle-rhel4-1.0-5.i386.rpm
Http://oss.oracle.com/projects/compat-oracle/files/RedHat/
Written in the final, in order to more easily install, I wrote three simple script
+++++++++++++++++++++++++++++++++++++++++++
+ In order to make installation easier, I wrote three simple script:
+ BeforeInstallOracle.sh,
+ Patch_before_install.sh,
+ Patch_configuration_tools.sh
+++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++
+ Patch directory structure is as follows:
++++++++++++++++++++
C: \> tree / f D: \ patch
Volume PROGRAM folder PATH List
Volume serial number for 0006EE50 D662: 9A5F
D: \ PATCH
│ beforeInstallOracle.sh
│ p3006854_9204_LINUX.zip
│ p3238244_9204_LINUX.zip
│ patch_configuration_tools.sh
│ compat-libcwait-2.1-1.i386.rpm
│ patch_before_install.sh
│
└ ─ rpm
│ libXp-1.0.0-8.i386.rpm
│ openmotif-2.3.0-0.3.el5.i386.rpm
│ compat-db-4.2.52-5.1.i386.rpm
│ libXp-devel-1.0.0-8.i386.rpm
│ compat-gcc-34-c + +-3.4.6-4.i386.rpm
│ openmotif-devel-2.3.0-0.3.el5.i386.rpm
│ compat-gcc-34-3.4.6-4.i386.rpm
│ libXpm-3.5.5-3.i386.rpm
│ compat-libgcc-296-296-138.i386.rpm
│ libXpm-devel-3.5.5-3.i386.rpm
│
└ ─ download
Gnome-libs-1.4.2-7.rhel5.i386.rpm
ORBit-0.5.17-22.rhel5.i386.rpm
Libpng10-1.0.18-2.i386.rpm
Gtk +-1.2.10-57.fc7.i386.rpm
Gnome-libs-devel-1.4.2-7.rhel5.i386.rpm
Glib-1.2.10-26.fc7.i386.rpm
Imlib-1.9.15-2.fc7.i386.rpm
Giflib-4.1.3-8.i386.rpm
Rpmdb-redhat-4-0.20071031.src.rpm