Home > Database > Mysql Tutorial > body text

RedHat Linux 6环境下安装Oracle 12c的方法

WBOY
Release: 2016-06-07 16:33:56
Original
1520 people have browsed it

要在RedHat Linux 6上安装Oracle,需要在安装Oracle之前安装好相应的软件包,在不同操作系统环境下,对软件包的要求各不相同。具

Step 1:

要在RedHat Linux 6上安装Oracle,需要在安装Oracle之前安装好相应的软件包,,在不同操作系统环境下,对软件包的要求各不相同。具体对应的软件包,见官网文档:

使用YUM安装好相应的软件包

 Step2:创建OS Group和User

这里创建三个Group和一个User,如下

# groupadd oinstall
# groupadd dba
# groupadd oper
# useradd -u 500 -g oinstall -G dba,oper oracle

Step 3:解压Oracle二进制安装包

$ mkdir -p /home/oracle/orainst/11.2.0.2
$ mkdir -p /home/oracle/orainst/12.1.0.1
$ mv linux_12c_database_1of2.zip /home/oracle/orainst/12.1.0.1
$ mv linux_12c_database_2of2.zip /home/oracle/orainst/12.1.0.1
$ unzip linux_12cR1_database_1of2.zip
$ unzip linux_12cR1_database_2of2.zip

Step 4:运行解压之后的 runInstaller进行安装

Step 5:安装之后配置环境变量

#Oracle Enivronment
export ORACLE_SID=orcl
export ORACLE_BASE=/home/oracle/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2/db_1
export LD_LIBRARY_PATH=/usr/lib:$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

本文永久更新链接地址:

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!