Redhat Enterprise Linux5.4下安装Oracle 10g R2记录,希望能帮到有需要的朋友,由于安装时部分没有全部截图,部分截图从网上截取,不影响阅读。
[root@database ~]# cd /etc/yum.repos.d/
[root@database yum.repos.d]# mv rhel-debuginfo.repo rhel-cdrom.repo [root@database yum.repos.d]# vi rhel-cdrom.repo [root@database yum.repos.d]# cat rhel-cdrom.repo [rhel-cdrom]
name=Red Hat Enterprise Linux baseurl=doc.guandang.net enabled=1 gpgcheck=0
gpgkey=doc.guandang.net [root@database yum.repos.d]# yum clean all Loaded plugins: rhnplugin, security Cleaning up Everything
[root@database yum.repos.d]#
到此,本地YUM建立好了,下面安装所需的依赖包,只需一条命令即可完成安装: yum -y install binutils compat-db compat-gcc-34 compat-gcc-34-c++ \ compat-libstdc++-33 compat-libstdc++ gcc gcc-c++ glibc glibc-common \ glibc-devel glibc-headers libgcc libXp libXt libXtst libaio libaio-devel \ libgcc libstdc++ libstdc++-devel libgomp make numactl-devel sysstat
注意:这里会自动安装32位和64位的包,不要忽略32位的包! 例如只安装64位的libXp,在安装Oracle 10g时会报如下错误: Exception in thread "main" java.lang.UnsatisfiedLinkError:
/tmp/OraInstall2007-12-21_10-40-21PM/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
3、 设置网络:
需要在/etc/hosts 中加入相对应的设置(IP+主机名),否则在安装Oracle 10g时会出错. [root@database ~]# hostname database
[root@database ~]# cat /etc/hosts
# Do not remove the following line, or various programs # that require network functionality will fail. 192.168.0.16 database localhost 192.168.0.16 database [root@database ~]#
4、 创建Oracle用户和组 (1) 新增两个组oinstall和dba
(2) 新增一个用户oracle ,并设置其数组为oinstall和dba [root@database ~]# groupadd oinstall [root@database ~]# groupadd dba
[root@database ~]# useradd –g oinstall –G dba oracle [root@database ~]# passwd oracle Changing password for user oracle
New PASSWORD: it is based on a dictionary word Retype new UNIX password:
Passwd: all authentication tokens updated successfully. [root@database ~]# usermod –g oinstall –G dba oracle [root@database ~]# ls –l /home | grep oracle
drwx----- 3 oracle oinstall 4096 Mar 23 15:21 oracle [root@database ~]#
5、 修改内核参数
[root@database ~]# sed -i ‘/^$\|^#/d’ /etc/sysctl.conf [root@database ~]# vi /etc/sysctl.conf
[root@database ~]# cat /etc/sysctl.conf | grep -v "^$\|^#" | sort
VMware7.0 Redhat linux 企业版 5.4 下 oracle 10g 安装说明 1.硬件要求 ... 32位RedHat Enterprise ... 59页 1下载券喜欢此文档的还喜欢...
Redhat Enterprise Linux 5.4下安装配置Oracle 11g R2_计算机软件及应用_IT/计算机_专业资料。1.Linux 环境配置准备 环境:Linux:RedHat Enterprise 5.4,DB:...
红帽redhat 5.4 x64安装oracle 10g R2 x64_IT/计算机_专业资料。本文详细介绍了在企业中常用的x64位架构下oracle的安装过程1. 环境:Linux:RedHat Enterprise...
Redhat Enterprise linux 5.4上安装Oracle10g_IT/计算机_专业资料。Linux ...(以root用户登录)执行#xdpyinfo记录下name of display:后的字符串,如127.0.0...
Redhat Enterprise linux 5.7上安装Oracle10g Release 2 安装手册 目录一、 二、 三、 四、 五、 六、 安装环境 3 3 安装Oracle 10g Release2 前的配置 ...
但这个版本仍然为很多初学者学习的版本,下面详细讲述了安装 Oracle 10g 的步骤...Red Hat Enterprise Linux Server release 4.4 (Tikanga) ??? Kernel /r on...
orcacle10g在redhat5上的安装Redhat Enterprise linux 5 上安装 ...
RedHat Enterprice Linux 5.4 下安装Oracle 10g_IT/计算机_专业资料。RedHat ...(/etc/redhat-release) 将 RedHat Enterprise Linux Server release 5.4 (...
在Redhat Enterprise linux 5上 安装Oracle10g Release 2_IT/计算机_专业资料。在 Redhat Enterprise linux 5 上 安装 Oracle10g Release 2 前阵子,由于项目需要...
可以看到当前版本号为: Red Hat Enterprise Linux Server release 5.4 (Tikanga) # vi /etc/redhat-release 将 5.4 改为 4.4(安装完 oracle 后可将版本...
热门文档