How to install Apache2.0.49 + oracle9.2.0 in RedHatAS2.1

Source: Internet
Author: User
Required jdk packages
Ship_9204_linux_disk1.cpio.gz ship_9204_linux_disk2.cpio.gz ship_9204_linux_disk3.cpio.gz httpd-2.0.49.tar.gz php-4.3.6.tar.gz binutils-2.10.91.0.2-3.i386.rpm jre118_v3-glibc-2.1.3.tar.gz jdk118_v3.tar.gz env_ctx.mk
  
1. Oracle Installation
1) confirm that you have installed the following compatible packages:
# Rpm-q gcc cpp compat-libstdc ++ glibc-devel kernel-headers binutils
# Rpm-Uvh-force -- nodeps binutils-2.10.91.0.2-3.i386.rpm
# Gunzip ship_9204_linux_disk1.cpio.gz ship_9204_linux_disk2.cpio.gz ship_9204_linux_disk3.cpio.gz
# Cpio-idvm # Vi/etc/sysctl. conf
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. shmall = 2097152
Kernel. sem = 250 32000 100 128
Fs. file-max = 65535
Net. ipv4.ip _ local_port_range = 1024 65000
# Groupadd dba
# Groupadd oinstall
# Useradd-g oinstall-G dba oracle
# Passwd oracle
# Vi/home/oracle/. bash_profile
  
./Usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
Export LD_ASSUME_KERNEL = 2.2.5
Export LDEMULATION = elf_i1__glibc21
Export GCC_EXEC_PREFIX =/usr/i386-glibc21-linux/lib/gcc-lib/
Export ORACLE_BASE =/home/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/9.2.0
Export PATH = $ PATH: $ ORACLE_HOME/bin
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib
Export ORACLE_SID = jackylau
Export ORACLE_TERM = vt100
Export ORA_NLS33 = $ ORACLE_HOME/ocommon/nls/admin/data
Umask 022
# Mkdir-p/home/oracle/product/9.2.0
# Chown-R oracle. oinstall/home/oracle
# Mkdir/var/opt/oracle
# Chown oracle. dba/var/opt/oracle
# Chmod 755/var/opt/oracle
Restart
Enter the system as an oracle user
# Tar zxvf glibc-2.1.3-stubs.tar.gz
# Cp setup_stubs.sh/home/oracle
#./Setup_stubs.sh
# Tar zxvf jdk118_v3.tar.gz
# Mv jdk118_v3/usr/local
# Ln-s/usr/local/jdk118_v3/usr/local/java
# Tar zxvf jre118_v3-glibc-2.1.3.tar.gz
$./Disk1/runInstaller
First Error message: Error in invoking target install of makefile
/Home/oracle/product/9.2.0/ctx/lib/ins_xt.mk
This is the fault of env_ctx.mk. Open a new konsole window, copy the downloaded env_ctx.mk to the $ ORACLE_HOME/ctx/lib/directory, and Retry.
Second error message: stubs/libc. so. tmp
# Mkdir $ ORACLE_HOME/lib/stubs
# Cp/usr/lib/libc. so $ ORACLE_HOME/lib/stubs/libc. so. tmp
It may fail when dbca or the like is performed after the database is installed.
# Killall jre
# Cp jre118_v3 $ ORACLE_HOME
# Ln-s jre118_v3 JRE
$ Dbca
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.