设为首页 加入收藏

TOP

CentOS6.5下Oracle11G-R2安装、卸载(一)
2014-11-24 02:28:23 来源: 作者: 【 】 浏览:17
Tags:CentOS6.5 Oracle11G-R2 安装 卸载

CentOS6.5下Oracle11G-R2安装、卸载
资源下载地址(包括本人所有安装过程中,系统备份文件):http://download.csdn.net/detail/attagain/7700437

一、 硬件要求
本部分内容命令,均以root用户执行。
1、 内存
建议内存应大于2G以上,1G可以运行,但比较吃力。
内存查看命令:
[root@tsp-rls-dbserver /]# cat /proc/meminfo

[root@tsp-rls-dbserver /]# free -m
total used free shared buffers cached
Mem: 32062 1301 30760 0 40 552
-/+ buffers/cache: 708 31354
Swap: 16095 0 16095
2、 交换分区
交换分区大小,通常设为内存的1.5倍以上,也可以根据实际情况进行调整。
交换分区查看命令:
[root@tsp-rls-dbserver /]# grep SwapTotal /proc/meminfo
SwapTotal: 67682296 kB
3、 硬盘空间
建议数据使用独立的挂载分区,本文中采用/data作为数据分区。要求/tmp目录空间不小于400M。
磁盘空间查看命令:
[root@tsp-rls-dbserver /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_tsprlsdbserver-lv_root 50G 4.3G 43G 10% /
tmpfs 16G 348K 16G 1% /dev/shm
/dev/sda1 485M 39M 421M 9% /boot
/dev/mapper/vg_tsprlsdbserver-lv_home 210G 190M 199G 1% /home
/dev/sdb1 1.1T 4.5G 1.1T 1% /data

目录空间大小查看命令:
[root@tsp-rls-dbserver tmp]# du -ch /tmp

二、 软件要求
1、 安装依赖包
建议安装系统时,选择开发库。CentOS6.5(x64)安装开发库后,主要依赖包有:
compat-libstdc++-33-3.2.3-61.i386.rpm(url: http://download.csdn.net/detail/attagain/7699569 )
compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7699573 )
libaio-0.3.105-2.i386.rpm(url: http://download.csdn.net/detail/attagain/7700213 )
libaio-0.3.107-10.el6.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7699585 )
libaio-devel-0.3.105-2.i386.rpm(url: http://download.csdn.net/detail/attagain/7700217 )
libaio-devel-0.3.105-2.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7700247 )
libgcc-3.4.6-3.i386.zip(url: http://download.csdn.net/detail/attagain/7699599 含有:libgcc-3.4.6-3.i386.rpm、libgcc_s-4.4.7-20120601.so.1、libgcc_s.so.1,安装本文件,首先要卸载libgcc-4.4.7-4.el6.x86_64.rpm ,so文件即为卸载前从/lib64中备份下来的,以备误删使用)
libgcc-4.4.7-4.el6.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7700201 )
libstdc++-3.4.6-11.i386.rpm(url: http://download.csdn.net/detail/attagain/7700169 )
libstdc++-devel-3.4.6-3.1.i386.rpm(url: http://download.csdn.net/detail/attagain/7699847 )
libstdc++-4.4.7-4.el6.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7699837 )
pdksh-5.2.14-37.el5_8.1.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7700147 )
unixODBC-2.2.11-7.1.i386.rpm(url: http://download.csdn.net/detail/attagain/7700007 )
unixODBC-2.2.11-7.1.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7700021 )
unixODBC-devel-2.2.11-7.1.i386.rpm(url: http://download.csdn.net/detail/attagain/7699903 )
unixODBC-devel-2.2.11-7.1.x86_64.rpm(url: http://download.csdn.net/detail/attagain/7699907 )

注:上述安装包,我搜索了好久才整理搜集完全。已经上传至csdn,不需要资源分。在64位CentOS6.5上安装上述资源包时,需要先卸载原64位安装包,安装成功后,再安装被卸载的64位安装包(上述的64位安装包,亦可以在安装光盘中找到)。卸载原64位依赖包时,建议使用参--nodeps,如:rpm e libaio-0.3.107-10.el6.x86_64 nodeps。另外,需要特别注意的,卸载libgcc-4.4.7-4.el6.x86_64时,同时会将/lib64目录中的libgcc_s.so.1卸载,卸载成功后,还要恢复该文件。上述依赖包libgcc-3.4.6-3.i386.zip中,包含有我的系统备份包。
如果缺少依赖包,可以使用rpm命令查看、离线安装、在线安装相应的安装包。以gcc包为例:
查看安装包,是否安装命令:
[root@tsp-rls-dbserver tmp]# rpm -qa|grep gcc
离线安装命令:
[root@tsp-rls-dbserver tmp]# rpm ivh gcc-***.rpm
在线安装命令:
[root@tsp-rls-dbserver tmp]# yum install gcc
注:根据系统检查结果,确定自己的系统需要安装什么安装包。

三、 环境配置
1、 创建oracle安装用户
A、 创建oinstall组
[root@tsp-rls-dbserver tmp]# groupadd oinsta

首页 上一页 1 2 3 4 下一页 尾页 1/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇centos6.5x86_64安装oracle11.2.0.. 下一篇ORACLE10G在Centos6.4上安装

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: