以下过程完全是个人在rhel 5 下 安装 oracle 10g心得笔记,一步一步安装步骤,按照此步骤安装应该不会有问题1.安装rpm包rpm -aq
首页 → 数据库技术
背景:
阅读新闻
rhel 5 下 安装 oracle 10g 心得笔记
[日期:2009-06-13]来源:红联 作者:thebesteric[字体:]
以下过程完全是个人在rhel 5 下 安装 oracle 10g心得笔记,一步一步安装步骤,按照此步骤安装应该不会有问题
1.安装rpm包
rpm -aq | grep libgcc //检查包文件
rpm -uvh * //安装所有包文件
binutils
compat-db
compat-libstdc++
control-center
gcc
gcc-c++
glibc
glibc-common
libstdc++
libstdc++-devel
make
sysstat
setarch
libxp (to start runinstaller)
---------------------------------------------
2.修改/ect/sysctl.conf
kernel.shmall = 268435456
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
---------------------------------------------
3.生效sysctl.conf
sysctl -p
---------------------------------------------
4.创建oracle用户及组
groupadd oinstall
groupadd dba
useradd -g oinstall -g dba oracle //属于oinstall组并支持dba组
passwd oracle
---------------------------------------------
5.建立目录
mkdir /db
chown -r oracle:oinstall /db
---------------------------------------------
6.编辑用户环境变量
vi /home/oracle/.bash_profile
# get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# user specific environment and startup programs
oracle_sid=orcl
oracle_base=/db/oracle
oracle_home=$oracle_base/product/10.2.0/db_1
export oracle_sid oracle_base oracle_home
path=$path:$oracle_home/bin:$home/bin
export path
---------------------------------------------
7.vi /ect/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
---------------------------------------------
8.vi /ect/pam.d/login
session required /lib/security/pam_limits.so
session required /lib64/security/pam_limits.so //x86_64内核
---------------------------------------------
9.vi /ect/profile
if [ $user = oracle ]; then
if [ $shell = /bin/ksh ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
---------------------------------------------
10.授权安装
chmod -r 777 database
./filename -ignoresysprereqs 跳过os检测 (/etc/redhat-release中的5.1改成4)
./runinstall -
0
linux下的mysql数据库单独打包脚本
linux下启动oracle database em及isqlplus等命令
相关资讯 oracle rhel
图片资讯
本文评论查看全部评论 (0)
评论声明
最新资讯
本周热门
linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
本站(linuxidc)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。
copyright © 2006-2014 linux公社 all rights reserved 浙icp备06018118号
