Oracle Database 10g Release 2 (10.2.0.1) Installation On Red Hat Enterprise Linux 5 (RHEL5)
linux如何安装redhat as5 oracle10g 安装文档
精选 翻译一安装需求
1.swap 分区不低于2G
2.selinux 状态disable
3.物理内存不低于512M
系统组件
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Development Libraries
Development Tools
Legacy Software Development
Server Configuration Tools
Administration Tools
Base
Legacy Software Support
System Tools
X Window System
二安装过程
1.软件下载
http://www.oracle.com/technology/software/products/database/oracle10g/index.html
2.解包
unzip 10201_database_linux32.zip
3. host配置
vi /etc/sysctl.conf file:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmnikernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144net.core.wmem_default=262144
net.core.wmem_max=262144
运行下面命令使设置生效/sbin/sysctl -p
vi /etc/security/limits.conf
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
vi /etc/pam.d/login
session required /lib/security/pam_limits.so
vi /etc/selinux/config
SELINUX=disabled
安装下面的rpm包
# From RedHat AS5 Disk 1
cd /media/cdrom/Server
rpm -Uvh setarch-2*
rpm -Uvh make-3*
rpm -Uvh glibc-2*
rpm -Uvh libaio-0*
cd /
eject
# From RedHat AS5 Disk 2
cd /media/cdrom/Server
rpm -Uvh compat-libstdc++-33-3*
rpm -Uvh compat-gcc-34-3*
rpm -Uvh compat-gcc-34-c++-3*
rpm -Uvh gcc-4*
rpm -Uvh libXp-1*
cd /
eject
# From RedHat AS5 Disk 3
cd /media/cdrom/Server
rpm -Uvh openmotif-2*
rpm -Uvh compat-db-4*
cd /
eject
建立oracle用户和组
groupadd oinstall
groupadd dbagroup
add oper
add -g oinstall -G dba oracle
passwd oracle
建立相应的目录
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01
编辑/etc/redhat-release
vi /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga) 被 redhat-4 替换
登陆oracle 建立相应的环境变量
su - oracle
vi ~/.bash_profile
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMP
DIRORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1;
export ORACLE_HOME
ORACLE_SID=test10g;
export ORACLE_SID
ORACLE_TERM=xterm;
export ORACLE_TERM
PATH=/usr/sbin$PATH;
PATH=$ORACLE_HOME/bin$PATH;
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JREORACLE_HOME/jlibORACLE_HOME/rdbms/jlib;
export DISPLAY=100.100.10.27:0.0
export LANG=AMRICAN
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
开始安装
设置显示位置
DISPLAY=:0.0; export DISPLAY
启动安装程序
./runInstaller
安装过程
Select Installation Method
Specify Inventory Directory and Credentials
Select Installation Type
Specify Home Details
Product-Specific Prerequisite Checks
Select Configuration Option
Select Database Configuration
Specify Database Configuration Options
Select Database Management Option
Specify Database Storage Option
Specify Backup and Recovery Options
Specify Database Schema Passwords
Summary
Install
Configuration Assistants
Database Configuration Assistant
Database Configuration Assistant Password Management
Execute Configuration Scripts
End Of Installation
安装结束后修改vi /etc/redhat-release 内容为
Red Hat Enterprise Linux Server release 5 (Tikanga)
设置开机启动vi /etc/oratab
TSH1:/u01/app/oracle/product/10.2.0/db_1:Y
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Oracle OEM Agent 安装手册
OEM agent 单实例数据库安装
oracle 主机名 数据库 OEM监控 -
Centos7.8静默安装企业版Oracle11g和创建实例
Oracle11G企业版静默安装
oracle bc SQL -
RedHat Enterprise Linux 5.0安装Oracle10g
一,服务器系统 RedHat Enterprise Linux 5.0 二,数据库软件 Oracle10g (10.2.0) 三,硬件基本需求(命令查看需求如图)  
oracle Linux RedHat 休闲 Enterprise -
Redhat5 安装oracle10g 启动测试
虚拟机redhat5.5下oracle 10g的安装,启动命令介绍
启动 虚拟机 oracle安装 -
RedHat AS5 + ORACLE 11g 的安装
公司需要上一套 协同 系统,为了稳定性决定在 linux 环境下来运行,数据库用 oracle .整体安装还是比较简单的,在此记录一下安装过程,及要注意的细节.
redhat oracle 数据库 防火墙 server -
linux redhat server5.0 安装oracle10g
这篇文章是我自己结合了搜索来的资料,然后按照我做实验再发表。希望对大家有帮助!是在虚拟机下安装的。
oracle linux redhat oracle10g linux5.0