Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the installation process of redhat linux 9 + oracle 8.17

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail about the installation process of redhat linux 9 + oracle 8.17. the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

Red hat linux 9 + oracle 8.17 installation process:

Red hat linux 9 + oracle 8.17

Software inventory:

Compat-egcs-6.2-1.1.2.16.i386.rpm

Compat-egcs-c++-6.2-1.1.2.16.i386.rpm

Compat-egcs-objc-6.2-1.1.2.16.i386.rpm

Compat-glibc-6.2-2.1.3.2.i386.rpm

Compat-libs-6.2-3.i386.rpm

Compat-libstdc++-6.2-2.9.0.16.i386.rpm

Binutils-2.10.91.0.2-3.i386.rpm

Glibc-2.1.3-stubs.tar.gz

I386-glibc-2.1-linux.tar.gz

Jdk-1_2_2_011-linux-i386.tar

Linux81701.tar

1. Copy the above software to a directory under the linux system

Mkdir myinstall

Cp * / myinstall

Chown-R root.root / myinstall/*

2 、

Rpm-Uvh-- force-- nodeps compat-egcs-6.2-1.1.2.16.i386.rpm

Rpm-Uvh-- force-- nodeps compat-egcs-c++-6.2-1.1.2.16.i386.rpm

Rpm-Uvh-- force-- nodeps compat-egcs-objc-6.2-1.1.2.16.i386.rpm

Rpm-Uvh-- force-- nodeps compat-glibc-6.2-2.1.3.2.i386.rpm

Rpm-Uvh-- force-- nodeps compat-libs-6.2-3.i386.rpm

Rpm-Uvh-- force-- nodeps compat-libstdc++-6.2-2.9.0.16.i386.rpm

Rpm-Uvh-- force-- nodeps binutils-2.10.91.0.2-3.i386.rpm

3 、

Cp i386-glibc-2.1-linux.tar.gz /

Tar zxvf i386.glibc-2.1-linux.tar.gz

4 、

Cd / usr/bin

Mkdir saved

Mv gcc cc ld saved

Ln-s / usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-gcc gcc

Ln-s gcc cc

Ln-s / usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-ld ld

Cd / usr/lib

Mkdir saved

Mv libc.so libdl.so libm.so libpthread.so saved

Mv libc.a libdl.a libm.a libpthread.a saved

5 、

Cp jdk-1_2_2_011-linux-i386.tar / usr/local

Tar xvf jdk-1_2_2_011-linux-i386.tar

Ln-s / usr/local/jdk1.2.2 / usr/local/java

Rm jdk-1_2_2_011-linux-i386.tar

6 、

Groupadd dba

Groupadd oinstall

Useradd-d / u01/app/oracle-g dba-G oinstall oracle

Passwd oracle

7 、

In the following command; replace with myorcl

Mkdir / u01

Mkdir / u01/app

Mkdir / u01/app/oracle

Mkdir / u01/app/oracle/product

Chown-R oracle:dba / u01/app/oracle

Mkdir / u03

Mkdir / u03/app

Mkdir / u03/app/oradata

Mkdir / u03/app/oradata/

Chown-R oracle:dba / u03/app/oradata

Mkdir / u04

Mkdir / u04/app

Mkdir / u04/app/oradata

Mkdir / u04/app/oradata/

Chown-R oracle:dba / u04/app/oradata

Mkdir / u05

Mkdir / u05/app

Mkdir / u05/app/oradata

Mkdir / u05/app/oradata/

Chown-R oracle:dba / u05/app/oradata

Mkdir / u06

Mkdir / u06/app

Mkdir / u06/app/oradata

Mkdir / u06/app/oradata/

Chown-R oracle:dba / u06/app/oradata

Mkdir / u07

Mkdir / u07/app

Mkdir / u07/app/oradata

Mkdir / u07/app/oradata/

Chown-R oracle:dba / u07/app/oradata

Mkdir / u08

Mkdir / u08/app

Mkdir / u08/app/oradata

Mkdir / u08/app/oradata/

Chown-R oracle:dba / u08/app/oradata

Mkdir / u09

Mkdir / u09/app

Mkdir / u09/app/oradata

Mkdir / u09/app/oradata/

Chown-R oracle:dba / u09/app/oradata

Mkdir / u10

Mkdir / u10/app

Mkdir / u10/app/oradata

Mkdir / u10/app/oradata/

Chown-R oracle:dba / u10/app/oradata

Mkdir / opt/bin

Chown oracle:dba / opt/bin

8 、

Chown-R oracle:dba / myinstall

Chown-R oracle:dba / myinstall/*

9 、

Vi / etc/services, join

Set shmsys:shminfo_shmmax=4294967295

Set shmsys:shminfo_shmmin=1

Set shmsys:shminfo_shmmni=128

Set shmsys:shminfo_shmseg=16

Set semsys:seminfo_semmni=128

Set semsys:seminfo_semmns=2048

Set semsys:seminfo_semmsl=2048

Set semsys:seminfo_semume=64

Set semsys:seminfo_semmnu=768

Set semsys:seminfo_semmap=20

Set semsys:seminfo_semopm=100

Set semsys:seminfo_semvmx=32767

Reboot

10 、

Su oracle

11 、

Vi / u01/app/oracle/.bash_profile

The contents are as follows:

-

If [- f ~ / .bashrc]; then

. ~ / .bashrc

Fi

PATH=$PATH:$HOME/bin

Export PATH

Unset USERNAME

Umask 022

EDITOR=vi; export EDITOR

TERM=xterm; export TERM

TMPDIR=/tmp; export TMPDIR

Export ORACLE_SID=myorcl

Export ORACLE_BASE=/u01/app/oracle

Export ORACLE_HOME=/u01/app/oracle/product/8.1.7

Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

Export TNS_ADMIN=$ORACLE_HOME/network/admin

Export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1

Export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data

Export ORACLE_OWNER=oracle

Export ORACLE_TERM=xterm

Export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/

Export LD_ASSUME_KERNEL=2.4

PATH=$PATH:$ORACLE_HOME/bin:/opt/bin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/java/bin:.

Export PATH

Export JAVA_HOME=/usr/local/java

Export CLASSPATH=/u01/app/oracle/product/8.1.7/jdbc/lib/classes12.zip:/u01/app/oracle/product/8.1.7/JRE:/u01/app/oracle/product/8.1.7/jlib:/u01/app/oracle/product/8.1.7/rdbms/jlib:/u01/app/oracle/product/8.1.7/network/jlib:.

Export DISPLAY=:0.0

Echo ".bash _ profile executed"

-

12 、

Tar xvf linux81701.tar

Cd Disk1

Export LANG=en

. / runInstaller

13 、

When prompted to fill in UNIX group name field, please write "dba" as the group name.

A window pops up asking you to run "orainstRoot.sh" as "root".

Open a terminal window

Su root

Cd / u01/app/oracle/product/8.1.7/

. / orainstRoot.sh

The following prompt appears:

This script will do following:

Creating Oracle Inventory pointer file (/ etc/oraInst.loc)

Changing groupname of / u01/app/oracle/oraInventory to oinstall.

Return to the installation interface and click retry to continue the installation.

14. Installation steps:

Select the "Oracle Enterprise Edtion" option

Select "Typical" installation

Use / usr/local/java as JDK HOME

Add a global database (example: R700)

Click to start the installation

15. When the installation is complete, run "root.sh" as "root".

Open a terminal window

Su root

Cp glibc-2.1.3-stubs.tar.gz to / tmp

Cd / u01/app/oracle/product/8.1.7

Tar xvzf / tmp/ glibc-2.1.3-stubs.tar.gz

. / setup_stubs.sh

You will see the following prompt: (about two minutes)

Setting up patch files...done.

Patching makefiles as necessary:

……

Running 'ins_ctx.mk'...done.

16. Modify / u01/app/oracle/product/8.1.7/ctx/lib/env_ctx.mk:

Cd / u01/app/oracle/product/8.1.7/ctx/lib

Vi env_ctx.mk # modify line 1374

Put

CTXHX_LINKLINE=$ (LINK) $(CTXLIB) ctxhx.$ (OBJ_EXT) $(INSO_LINK) $(USRLIBS)

Change to

CTXHX_LINKLINE=$ (LINK) $(CTXLIB) ctxhx.$ (OBJ_EXT) $(INSO_LINK) $(USRLIBS)-ldl

17. Modify / u01/app/oracle/product/8.1.7/root.sh:

Cd / u01/app/oracle/product/8.1.7

Vi root.sh

A. # modify line 98

Put

SED=/usr/local/bin/sed

Change to

SEC=/bin/sed

B. # modify line 102

Put

RMF=/bin/rm-f

Change to

RMF= "/ bin/rm-f"

C. # modify line 156

Put

RUID= `/ usr/bin/id | $AWK-F / ('{print $2}'| $AWK-F /)'{print $1}`

Change to

RUID= `/ usr/bin/id | $AWK-F / ('{print $2}'| $AWK-F /)'{print $1}'`

18. Run "root.sh" script:

. / root.sh "

You will see the following prompt:

IMPORTANT NOTE: Please delete any log and trace files previously

Created by the Oracle Enterprise Manager Intelligent

Agent. These files may be found in the directories

You use for storing other Net8 log and trace files.

If such files exist, the OEM IA may not restart.

Running Oracle8 root.sh script...

/ nThe following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME= / u01/app/oracle/product/8.1.7

ORACLE_SID=myorc1

Enter the full pathname of the local bin directory: [/ usr/local/bin]: (enter by default)

/ nCreating / etc/oratab file...

Entry will be added to the / etc/oratab file by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

19. Return to the GUI window interface and click "OK" to complete the installation.

20. After completing the installation of Oracle8i, the system will configure Net8, Database assistant and SSL related modules.

When configuring Net8, a window will pop up. Please select the "Perform typical configuration" button. After that, the system will automatically configure database.

After configuring database assistant and SSL related module, the system will give you a user name / password:

"SYS/change_on_install" and "SYSTEM/manager"

20. At this point, Oracle8i has completed its installation.

Restart the computer.

(note: if you have run. / runInstaller, you need to delete the following folders to run again:

Rm-rf / tmp/OraInstall

Press "skip" when prompted during installation)

About redhat linux 9 + oracle 8.17 installation process is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report