redhat5 oracle10,redhat5.5 安装oracle10

系统环境:redhat5.5_x64 oracle 10.2

1、先安装所需的rpm包

yum install -y binutils compat-db control-center gcc gcc-c++ glibc glibc-common libstdc++ libstdc++-devel make pdksh sysstat xorg-x11-deprecated-libs glibc-devel

2、添加相关的用户及组

[root@oracle ~]# groupadd oinstall

[root@oracle ~]# groupadd dba

[root@oracle ~]# useradd -g oinstall -G dba oracle

[root@oracle ~]# passwd oracle

3、修改配置文件

[root@oracle ~]# vi /etc/sysctl.conf    //If the current value of any parameter is higher than the value listed in this table, then do not change the value of that parameter.

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

[root@oracle ~]# vi /etc/security/limits.conf

oracle           soft    nproc   2047

oracle           hard    nproc   16384

oracle           soft    nofile  1024

oracle           hard    nofile  65536

[root@oracle ~]# vi /etc/pam.d/login

session    required     pam_limits.so

切换到oracle

[root@oracle ~]# su – oracle

添加以下部分:

[oracle@oracle ~]$ vi .bash_profile

if [ $USER = “oracle” ]; then

if [ $SHELL = “/bin/ksh” ]; then

ulimit -p 16384

ulimit -n 65536

else

ulimit -u 16384 -n 65536

fi

fi

修改系统版本信息

[root@oracle ~]#echo redhat-4 > /etc/redhat-release

[root@oracle ~]# mkdir -p /u01/app/oracle/oraInventory

[root@oracle ~]# chown -R oracle:oinstall /u01/app/oracle/

[root@oracle ~]# chmod -R 775 /u01/app/oracle/

reboot server into GUI with oracle user.

export LANG=en   //如果系统安装选的中文,则执行。oracle10不支持中文,要不会出现图形乱码

然后 ./runInstaller开始安装。

PS:

为什么文档里面没有配置环境变量的参数。

专注于 服务器运维与web架构

E-mail:venus#rootop.org

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值