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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks 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)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1248
24
Linux Architecture: Unveiling the 5 Basic Components Linux Architecture: Unveiling the 5 Basic Components Apr 20, 2025 am 12:04 AM

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

How to check the warehouse address of git How to check the warehouse address of git Apr 17, 2025 pm 01:54 PM

To view the Git repository address, perform the following steps: 1. Open the command line and navigate to the repository directory; 2. Run the "git remote -v" command; 3. View the repository name in the output and its corresponding address.

vscode Previous Next Shortcut Key vscode Previous Next Shortcut Key Apr 15, 2025 pm 10:51 PM

VS Code One-step/Next step shortcut key usage: One-step (backward): Windows/Linux: Ctrl ←; macOS: Cmd ←Next step (forward): Windows/Linux: Ctrl →; macOS: Cmd →

How to run java code in notepad How to run java code in notepad Apr 16, 2025 pm 07:39 PM

Although Notepad cannot run Java code directly, it can be achieved by using other tools: using the command line compiler (javac) to generate a bytecode file (filename.class). Use the Java interpreter (java) to interpret bytecode, execute the code, and output the result.

How to run sublime after writing the code How to run sublime after writing the code Apr 16, 2025 am 08:51 AM

There are six ways to run code in Sublime: through hotkeys, menus, build systems, command lines, set default build systems, and custom build commands, and run individual files/projects by right-clicking on projects/files. The build system availability depends on the installation of Sublime Text.

What is the main purpose of Linux? What is the main purpose of Linux? Apr 16, 2025 am 12:19 AM

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

laravel installation code laravel installation code Apr 18, 2025 pm 12:30 PM

To install Laravel, follow these steps in sequence: Install Composer (for macOS/Linux and Windows) Install Laravel Installer Create a new project Start Service Access Application (URL: http://127.0.0.1:8000) Set up the database connection (if required)

git software installation git software installation Apr 17, 2025 am 11:57 AM

Installing Git software includes the following steps: Download the installation package and run the installation package to verify the installation configuration Git installation Git Bash (Windows only)

See all articles