Oracle 11g R2 Installation
2011-04-10 21:07
246 查看
create the
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -g oinstall -G dba oracle
Create the oracle base directory
mkdir -p /u01/app/
chown -R oracle:oinstall /u01/app/
chmod -R 775 /u01/app/
Package Requirements
1. Configuring Kernel Parameters
vi /etc/sysctl.conf
/sbin/sysctl -p
2. Setting Shell Limits for the oracle User
vi
vi
vi
3. Configuring the oracle User's Environment
vi /home/oracle/.bash_profile
ORACLE_SID=sales
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH ORACLE_SID ORACLE_BASE ORACLE_HOME
umask 022
. ./.bash_profile
oinstalland
dbagroups
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -g oinstall -G dba oracle
Create the oracle base directory
mkdir -p /u01/app/
chown -R oracle:oinstall /u01/app/
chmod -R 775 /u01/app/
Package Requirements
binutils-2.15.92.0.2 compat-libstdc++-33-3.2.3 compat-libstdc++-33-3.2.3 (32 bit) elfutils-libelf-0.97 elfutils-libelf-devel-0.97 expat-1.95.7 gcc-3.4.6 gcc-c++-3.4.6 glibc-2.3.4-2.41 glibc-2.3.4-2.41 (32 bit) glibc-common-2.3.4 glibc-devel-2.3.4 glibc-headers-2.3.4 libaio-0.3.105 libaio-0.3.105 (32 bit) libaio-devel-0.3.105 libaio-devel-0.3.105 (32 bit) libgcc-3.4.6 libgcc-3.4.6 (32-bit) libstdc++-3.4.6 libstdc++-3.4.6 (32 bit) libstdc++-devel 3.4.6 make-3.80 pdksh-5.2.14 sysstat-5.0.5 unixODBC-2.2.11 unixODBC-2.2.11 (32 bit) unixODBC-devel-2.2.11 unixODBC-devel-2.2.11 (32 bit)
1. Configuring Kernel Parameters
vi /etc/sysctl.conf
fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 536870912 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
/sbin/sysctl -p
2. Setting Shell Limits for the oracle User
vi
/etc/security/limits.conf
oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
vi
/etc/pam.d/login
session required pam_limits.so
vi
/etc/profile
if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi
3. Configuring the oracle User's Environment
vi /home/oracle/.bash_profile
ORACLE_SID=sales
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH ORACLE_SID ORACLE_BASE ORACLE_HOME
umask 022
. ./.bash_profile
unset ORACLE_HOME unset TNS_ADMIN
相关文章推荐
- Oracle 11g R2 GI and DB Installation on AIX 6.1L
- 向Oracle 11g R2 中插入CGCS大地坐标参考系
- 卸载oracle 11g r2 for windows (x64)时应指定数据库ASMIFS 使用的存储类型为“FS”
- Oracle-11g-R2 RAC 环境下 GPnP Profile 文件
- sqlserver 2008 r2跨数据库查询oracle 11g r1实现案例详解
- Oracle 11g r2分析函数新特性(一)分析函数NTH_VALUE
- Windows Server 2008 R2下安装Oracle 11g数据库
- Oracle 11G R2利用RMAN搭建DataGuard环境
- RHEL 6.2 64位安装ORACLE 11G R2
- oracle 11g R2安装时先决条件检查失败
- ORACLE 11G R2 RAC安装总结
- Linux安装 oracle 11g r2
- Oracle 11g R2 DBA 操作指南(13) 表空间与数据文件管理
- CentOS 5.5上安装配置oracle 11g R2
- 解决Oracle 11g R2 EXP命令无法导出空表问题
- 配置oracle 11g r2 RAC on rhel5.5 (二)
- [Oracle 11g r2(11.2.0.4.0)]案例分析2-HAIP 导致的数据库无法启动
- 解决在Linux6.1下安装Oracle-11g-R2时的中文乱码问题-(图形安装过程中)
- Oracle 11gR2上遇到blocking txn id for DDL等待事件
- Oracle 11g R2 install on centos 6