Home Database Mysql Tutorial Oracle 9i 在Redhat 7.1下安装手册

Oracle 9i 在Redhat 7.1下安装手册

Jun 07, 2016 pm 02:55 PM
linux linux download ubuntu

作者:LINUX伊甸园会员TERRAN 硬件环境 :PIII 700 ; 512M ram ; 40G 磁盘分区 :主分区 9GBB

  作者:LINUX伊甸园会员TERRAN

硬件环境 :PIII 700 ; 512M ram ; 40G

磁盘分区 :主分区 9GB;交换分区 1GB

软件环境 :Redhat 7.1 完全安装(kernel 2.4.2-2 ; glibc-2.2.2-10)

准备工作 :

如果你的Redhat 7.1不是完全安装的话,请安装以下软件包。

compat-glibc-6.2-2.1.3.2.rpm (Redhat第一张盘里)
rpm -Uvh compat-glibc-6.2-2.1.3.2.rpm
compat-libs-6.2-3.rpm (Redhat第二张盘里)
rpm -Uvh compat-libs-6.2-3.rpm
compat-egcs-6.2-1.1.2.14.rpm(Redhat第二张盘里)
rpm -Uvh --force --nodeps compat-egcs-6.2-1.1.2.14.rpm

安装JDK118_v3

从Blackdown()下载jdk118_v3.tar.bz2
解压缩,安装在/usr/local
bunzip2 jdk118_v3.tar.bz2
tar -xvf jdk118_v3.tar
ln -s jdk118_v3 java

安装binutils-2.10.0.18-1.i386.rpm(Redhat 7.0安装盘中附带)
rpm -Uvh --force --nodeps binutils-2.10.0.18-1.i386.rpm

创建用户和组
groupadd -g 400 dba
useradd -u 400 -c "Oracle Owner" -d /home/oracle -g "dba" -m -s /bin/bash oracle
passwd oracle
输入新的用户密码。

创建安装目录(以/opt/oracle为例)
cd /opt
mkdir oracle
chown oracle:dba oracle
chmod 777 oracle

退出系统,以Oracle 用户登陆
修改用户配置文件:
vim .bash_profile
添加以下内容:

ORACLE_HOME=/opt/oracle/product/9.0.1; export ORACLE_HOME
ORACLE_SID=Test; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
ORACLE_OWNER=oracle; export ORACLE_OWNER
TNS_ADMIN=/home/oracle/config/9.0.1; export TNS_ADMIN
NLS_LANG=american_america.ZHS16GBK; export NLS_LANG
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH

export JAVA_HOME=/usr/local/jdk
export JSDK_HOME=/usr/local/jsdk
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JSDK_HOME/lib/jsdk.jar
export CLASSPATH

PATH=$POSTFIX/bin:$POSTFIX/sbin:$POSTFIX/sendmail
PATH=$PATH:/usr/local/jre/bin:/usr/local/jdk/bin:/bin:/sbin:/usr/bin:/usr/sbin
PATH=$PATH:/usr/local/bin:$ORACLE_HOME/bin:/usr/local/jsdk/bin
PATH=$PATH:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
PATH=$PATH:/usr/local/samba/bin
export PATH

存盘退出,退出系统,再以Oracle 用户登陆。
从光盘运行安装程序,
/mnt/cdrom/runInstaller
出现安装画面如下:


点击Next继续,注意:此时的NUM LOCK键必须关闭,否则安装程序不会继续!!!



在对话框里选择安装目录,可以是任何Oracle用户拥有的目录。


填入Unix组,上面所建立的组为DBA。


系统提示要在/tmp下以Root身份运行orainstRoot.sh,打开终端窗口,以Root身份运行/tmp/orainstRoot.sh,然后点Continue。

选择安装目录,本例在/opt/oracle/product/9.0.1下,

选择安装产品,选择Oracle DataBase,

选择安装类型,可以自己选择,如果是新手,建议使用Enterprise Edition。

安装后不要让系统自动建库,自动建库会出问题,所以选择Software Only,按Next,出现语言选择,如果你使用中文界面的话,选上简体中文。

出现安装组件列表,点击安装,开始拷贝文件。

中间有两次需要换盘。

文件拷贝完成后系统提示运行Root.sh脚本,打开终端,以Root身份运行Root.sh。之后系统会自动运行配置脚本,一般情况下会很快通过,也有可
能会没有响应,没有关系,停掉他,以后手工配置。之后出现安装成功的画面如下。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

deepseek web version entrance deepseek official website entrance deepseek web version entrance deepseek official website entrance Feb 19, 2025 pm 04:54 PM

DeepSeek is a powerful intelligent search and analysis tool that provides two access methods: web version and official website. The web version is convenient and efficient, and can be used without installation; the official website provides comprehensive product information, download resources and support services. Whether individuals or corporate users, they can easily obtain and analyze massive data through DeepSeek to improve work efficiency, assist decision-making and promote innovation.

How to install deepseek How to install deepseek Feb 19, 2025 pm 05:48 PM

There are many ways to install DeepSeek, including: compile from source (for experienced developers) using precompiled packages (for Windows users) using Docker containers (for most convenient, no need to worry about compatibility) No matter which method you choose, Please read the official documents carefully and prepare them fully to avoid unnecessary trouble.

Ouyi okx installation package is directly included Ouyi okx installation package is directly included Feb 21, 2025 pm 08:00 PM

Ouyi OKX, the world's leading digital asset exchange, has now launched an official installation package to provide a safe and convenient trading experience. The OKX installation package of Ouyi does not need to be accessed through a browser. It can directly install independent applications on the device, creating a stable and efficient trading platform for users. The installation process is simple and easy to understand. Users only need to download the latest version of the installation package and follow the prompts to complete the installation step by step.

BITGet official website installation (2025 beginner's guide) BITGet official website installation (2025 beginner's guide) Feb 21, 2025 pm 08:42 PM

BITGet is a cryptocurrency exchange that provides a variety of trading services including spot trading, contract trading and derivatives. Founded in 2018, the exchange is headquartered in Singapore and is committed to providing users with a safe and reliable trading platform. BITGet offers a variety of trading pairs, including BTC/USDT, ETH/USDT and XRP/USDT. Additionally, the exchange has a reputation for security and liquidity and offers a variety of features such as premium order types, leveraged trading and 24/7 customer support.

Get the gate.io installation package for free Get the gate.io installation package for free Feb 21, 2025 pm 08:21 PM

Gate.io is a popular cryptocurrency exchange that users can use by downloading its installation package and installing it on their devices. The steps to obtain the installation package are as follows: Visit the official website of Gate.io, click "Download", select the corresponding operating system (Windows, Mac or Linux), and download the installation package to your computer. It is recommended to temporarily disable antivirus software or firewall during installation to ensure smooth installation. After completion, the user needs to create a Gate.io account to start using it.

Ouyi Exchange Download Official Portal Ouyi Exchange Download Official Portal Feb 21, 2025 pm 07:51 PM

Ouyi, also known as OKX, is a world-leading cryptocurrency trading platform. The article provides a download portal for Ouyi's official installation package, which facilitates users to install Ouyi client on different devices. This installation package supports Windows, Mac, Android and iOS systems. Users can choose the corresponding version to download according to their device type. After the installation is completed, users can register or log in to the Ouyi account, start trading cryptocurrencies and enjoy other services provided by the platform.

Why does an error occur when installing an extension using PECL in a Docker environment? How to solve it? Why does an error occur when installing an extension using PECL in a Docker environment? How to solve it? Apr 01, 2025 pm 03:06 PM

Causes and solutions for errors when using PECL to install extensions in Docker environment When using Docker environment, we often encounter some headaches...

gate.io official website registration installation package link gate.io official website registration installation package link Feb 21, 2025 pm 08:15 PM

Gate.io is a highly acclaimed cryptocurrency trading platform known for its extensive token selection, low transaction fees and a user-friendly interface. With its advanced security features and excellent customer service, Gate.io provides traders with a reliable and convenient cryptocurrency trading environment. If you want to join Gate.io, please click the link provided to download the official registration installation package to start your cryptocurrency trading journey.

See all articles