ITPub博客

首页 > 数据库 > Oracle > 1 Oracle Database 11.2.0.3.0 RAC On Oralce Linux 6.5使用-Oracle安装先决条件(二)

1 Oracle Database 11.2.0.3.0 RAC On Oralce Linux 6.5使用-Oracle安装先决条件(二)

原创 Oracle 作者:luisedalian 时间:2014-02-10 10:17:50 0 删除 编辑

1.1.1 手动安装

# 除了基本的安装外,下面的包也必须进行安装。一些包还同时需要安装32位和64位的版本。

# 安装必要的软件包,如果按照前面的选择安装的Linux,则注释的软件包已经安装完成

$ cd /media

$ ls   // 查看挂载的虚拟光驱, 进入到Package文件夹中执行下面的命令

//$rpm -Uvh binutils-2.*

//$rpm -Uvh compat-libstdc++-33*

//$rpm -Uvh elfutils-libelf-0.*

//$rpm -Uvh libaio-0.*

$rpm -Uvh libaio-devel-0.*

//$rpm -Uvh sysstat-9.*

//$rpm -Uvh glibc-2.*

//$rpm -Uvh glibc-common-2.*

//$rpm -Uvh glibc-devel-2.* glibc-headers-2.*

$rpm -Uvh ksh-2*

//$rpm -Uvh make-3.*

//$rpm -Uvh libgcc-4.*

//$rpm -Uvh libstdc++-4.*

$rpm -Uvh libstdc++-4.*.i686*

//$rpm -Uvh libstdc++-devel-4.*

//$rpm -Uvh gcc-4.*x86_64*

//$rpm -Uvh gcc-c++-4.*x86_64*

//$rpm -Uvh --allfiles elfutils-libelf-0*x86_64* elfutils-libelf-devel-0*x86_64*

$rpm -Uvh elfutils-libelf-0*i686* elfutils-libelf-devel-0*i686*

$rpm -Uvh libtool-ltdl*i686*

$rpm -Uvh ncurses*i686*

$rpm -Uvh readline*i686*

$rpm -Uvh unixODBC*

$ cd /

$ eject

##############   配置 /etc/sysctl.conf文件  ##############

# Oracle RAC

fs.aio-max-nr = 1048576

fs.file-max = 6815744

#kernel.shmall = 2097152

#kernel.shmmax = 1054504960

kernel.shmmni = 4096

# semaphores: semmsl, semmns, semopm, semmni

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65500

net.core.rmem_default=262144

net.core.rmem_max=4194304

net.core.wmem_default=262144

net.core.wmem_max=1048586

# 执行命令,改变当前Kernel的参数

[root@RacNode1 桌面]$ /sbin/sysctl -p

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

net.ipv4.tcp_syncookies = 1

error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key

error: "net.bridge.bridge-nf-call-iptables" is an unknown key

error: "net.bridge.bridge-nf-call-arptables" is an unknown key

kernel.msgmnb = 65536

kernel.msgmax = 65536

kernel.shmmax = 68719476736

kernel.shmall = 4294967296

fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65500

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048586

#将下面的行添加到/etc/security/limits.conf文件中

oracle              soft    nproc   2047

oracle              hard    nproc   16384

oracle              soft    nofile  4096

oracle              hard    nofile  65536

oracle              soft    stack   10240

# 将下面的配置添加到/etc/pam.d/login文件中

session    required     pam_limits.so

# 创建新的组和用户

groupadd -g 1000 oinstall

groupadd -g 1200 dba

useradd -u 1100 -g oinstall -G dba oracle

passwd oracle

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17013648/viewspace-1078691/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    5641995