网站建设资讯

NEWS

网站建设资讯

redhat5.5安装oracle11g

首先上传oracle安装文件至linux服务器

创新互联主要从事成都网站设计、成都网站建设、网页设计、企业做网站、公司建网站等业务。立足成都服务五原,十载网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18980820575

1.解压zip

unzip linux.x64_11gR2_database_1of2.zip

unzip linux.x64_11gR2_database_2of2.zip

2.创建安装目录

mkdir /opt/oracle

3.创建用户组:

groupadd dba

groupadd oinstall

4.创建用户:

useradd -g oinstall -G dba oracle

passwd oracle

将/opt/oracle目录赋予oracle用户,oinstall用户组

chown -R oracle:oinstall /opt/oracle

5.安装依赖包(通过redhat5.5安装镜像安装)

 挂载cdrom

 mkdir /mnt/cdrom

 mount /dev/cdrom /mnt/cdrom(/mnt/cdrom/Server)

 进入软件包所在路径:

 cd /mnt/cdrom/Server

 开始安装所需软件包:

 rpm -ivh unixODBC-2.2.11-7.1.x86_64.rpm

 rpm -ivh unixODBC-devel-2.2.11-7.1.x86_64.rpm

 rpm -ivh unixODBC-2.2.11-7.1.i386.rpm

 rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm

 rpm -ivh sysstat-7.0.2-3.el5.x86_64.rpm

 rpm -ivh libstdc++-devel-4.1.2-48.el5.x86_64.rpm

 rpm -ivh libaio-devel-0.3.106-5.x86_64.rpm

 rpm -ivh libaio-devel-0.3.106-5.i386.rpm

 rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm(互相依赖,同时安装)

 rpm -ivh kernel-headers-2.6.18-194.el5.x86_64.rpm

 rpm -ivh glibc-headers-2.5-49.x86_64.rpm

 rpm -ivh glibc-devel-2.5-49.x86_64.rpm

 rpm -ivh glibc-devel-2.5-49.i386.rpm

 rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm

 rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm 

 rpm -ivh gcc-c++-4.1.2-48.el5.x86_64.rpm

 

6.修改linux内核参数

 /etc/sysctl.conf

 /etc/security/limits.conf

具体如何修改请自行google

7.以oracle用户身份登录(不是通过su切换)

 执行:

 export DISPLAY=:0.0

 xhost +

 xdpyinfo

8.进入oracle文件目录,执行

./runInstaller

9.启动安装界面,逐步安装。


网页题目:redhat5.5安装oracle11g
转载来于:http://cdweb.net/article/gccgei.html