把Oracle 10g安装到CentOS 5.4的简捷途径

数据库 Oracle
把Oracle 10g安装到CentOS 5.4中,我们需要了解的有环境描述,系统安装时我们所需要的相关软件包等相关项目,以下就是详细介绍。

以下的文章主要是介绍如何把Oracle 10g安装到CentOS 5.4,以及在实际操作中我们都需要那些的实际相关操作步骤的描述,以下就是文章的主要内容的描述,望你浏览完以下的内容会有所收获。

一、环境描述

硬件设备:IBM X3650 M2

操作系统:CentOS 5.4

数据库:Oracle 10g 10.2.0.1

PS:此安装文档在上述真实环境下测试成功。

二、系统安装时需要的软件包

·桌面

-X窗口系统

-Gnome桌面环境

·开发

-开发工具

·系统

-管理工具

-系统工具(在细节中选上sysstat)

三、安装Oracle 10g时检查的软件包

 

binutils-2.17.50.0.6-12.el5  
compat-db-4.2.52-5.1  
control-center-2.16.0-16.el5  
gcc-4.1.2-46.el5_4.1  
gcc-c++-4.1.2-46.el5_4.1  
glibc-2.5-42  
glibc-common-2.5-42  
libstdc++-4.1.2-46.el5_4.1  
libstdc++-devel-4.1.2-46.el5_4.1  
make-3.81-3.el5  
pdksh-5.2.14-36.el5  
sysstat-7.0.2-3.el5  
libaio-0.3.106-3.2  
openmotif22-2.2.3-18  
libXp-1.0.0-8.1.el5  
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.

 

如果系统里没有上面的任何软件包,均可在安装光盘中找到。

四、配置内核参数

 

#cat >> /etc/sysctl.conf <<EOF 
kernel.shmall = 2097152 
kernel.shmmax = 2147483648 
kernel.shmmni = 4096 
kernel.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 = 262144 
net.core.wmem_default = 262144 
net.core.wmem_max = 262144 
EOF  
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.

 

运行sysctl -p命令使内核生效

五、增加用户组和用户

 

#groupadd oinstall  
#groupadd dba  
#useradd -m -g oinstall -G dba oracle  
#passwd oracle  
  • 1.
  • 2.
  • 3.
  • 4.

 

六、建立目录并授权

 

#mkdir -p /opt/oracle  
#chown -R oracle:oinstall /opt/oracle  
#chmod 775 /opt/oracle  
  • 1.
  • 2.
  • 3.

 

七、设置oracle用户的环境变量

 

#vi .bash_profile  
ORACLE_BASE=/opt/oracle;export ORACLE_BASE  
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/Db_1;export ORACLE_HOME  
ORACLE_SID=mven;export ORACLE_SID  
PATH=$ORACLE_HOME/bin:$PATH; export PATH  
TNS_ADMIN=$ORACLE_HOME/network/admin;export TNS_ADMIN  
NLS_LANG='simplified chinese'_china.ZHS16GBK;export NLS_LANG  
DISPLAY=:0.0;export DISPLAY  
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.

 

八、修改操作系统版本

 

#cat > /etc/redhat-release << EOF 
Red Hat Enterprise Linux AS release 3 (Taroon)  
EOF  
  • 1.
  • 2.
  • 3.

 

九、配置Xwindow

 

#xhost + 
  • 1.

十、准备工作已完成,开始安装Oracle

上述的相关内容就是对CentOS 5.4安装Oracle 10g 的描述,希望会给你带来一些帮助在此方面。

【编辑推荐】

  1. Oracle自增字段的实际应用
  2. Oracle使用游标触发器存储实操
  3. Oracle数据库中表的不同的连接方式描述
  4. Oracle数据库中表的连接方式的讲解
  5. Oracle VARRAY的实际应用简介
责任编辑:佚名 来源: 博客园
相关推荐

2010-04-01 10:09:11

Oracle 10g

2010-03-31 09:38:26

Oracle10g x

2011-05-13 11:21:51

linuxoracle 10g安装

2010-03-31 18:01:06

Oracle10g安装

2009-09-07 09:03:47

VMWare安装Ora

2010-04-14 16:09:51

Oracle 10g归

2011-07-19 13:28:31

Oracle 10g

2010-03-30 19:31:25

Oracle 10g

2010-02-03 16:16:49

Linux Oracl

2010-05-05 15:58:34

Oracle 10g

2010-08-04 09:03:53

PerlOracle 10g

2011-03-25 16:10:58

oraclenagios

2009-04-27 13:26:41

Oracle 10gRAC链接错误

2010-04-15 14:47:50

Oracle 10g

2010-04-15 14:53:55

Oracle 10g

2009-11-19 10:32:41

Oracle 10g服

2010-01-15 09:39:05

oracle 10g

2011-04-15 09:53:37

Oracle 10gSQL优化

2010-05-07 09:35:25

Oracle 10g

2010-04-07 09:39:18

Oracle 10G
点赞
收藏

51CTO技术栈公众号