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

How to install Linux oracle 9i

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to install Linux oracle 9i, for this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Configure the environment for Oracle installation. This includes installing necessary software packages, creating appropriate users and groups, adding appropriate system parameters, and editing necessary environment parameters.

One: create corresponding users (log in as root users)

Groupadd dba

Useradd-g dba-d / usr/Oracle-s / bin/bash oracle

Passwd oracle

Note: there is no "passwd oracle" in the picture, because I forgot the screenshot, this is necessary, because the user who logs in with oracle will not be able to log in without a password.

Second, set system parameters:

Edit the / etc/sysctl.conf file and add the following

Kernel.sem=250 32000 100 128

Kernel.shmmax=4294967295

Kernel.shmmni=128

Kernel.msgmnb=65536

Kernel.msgmni=2878

Fs.file-max=65536

Net.ipv4.ip_local_port_range=1024 65000

Enter the command "sysctl-p" or restart the computer for the settings to take effect

Sysctl-p

Edit the / etc/security/limits.conf file and add the following

*-nproc 16384

*-nofile 16384

Three: create the application folder and set the corresponding permissions

Mkdir-p / usr/Oracle/product/9.2.0

Chown-R oracle.dba / usr/Oracle/product/9.2.0

Chmod-R 777 / usr/Oracle/product/9.2.0

Log out of "root" user and log in as "oracle" user

Four: edit the .bash _ profile file (the local file should be / usr/Oracle after login)

See the attachment for the specific text.

Load configuration files and view configurations that are already in effect

Source .bash _ profile

Set | more

Five: download and install JAVA http://java.sun.com/products/archive/index.html

Put the downloaded file under / usr.

Su-

Chmod + x j2re-1_3_1_19-linux-i586.bin

. / jere-1_3_1_19-linux-i586.bin

Mv jre1.3.1_19 / usr/jre1.3.1

Java-version

Six: query the required software packages

Su-

Rpm-Q compat-db compat-gcc-32 compat-gcc-32-c++ compat-libcom_err compat-libcwaitcompat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers glibc-kernheaders libgcc make

Install the missing software packages, you have completed the specific installation, there are a large part of the system installation CD-ROM, give several download addresses. Http://ftp.chinalinuxpub.com/redhat/enterprise/os/i386/RedHat/RPMS/; http://mirror.centos.org/centos/4/updates/i386/RPMS/

Http://oss.oracle.com/projects/compat-oracle/files/RedHat/; if it really doesn't work, you can contact me, in addition to the above software, but also install compat-oracle-rhel4-1. 0-5.i386.rpm.

Seven: change GCC

Su-

Cd / usr/bin

Mv. / gcc. / gcc34

Mv. / gcc32. / gcc

This is the answer to the question on how to install Linux oracle 9i. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel for more related knowledge.

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

Servers

Wechat

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

12
Report