- 浏览: 565040 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
a1641693970:
还不错,学习了
BeanUtils使用总结(二)LazyDynaBean -
zjfshowtime:
很好的办法,学习了。
ORA-28001: the password has expired -
ya654277yo:
哦,多谢分享
Apache整合Tomcat后get方式提交中文乱码问题解决 -
foolkeeper:
nice !!
jvm内存参数设定 -
tracy821:
谢谢了,找了好久才找到
关于Spring 声明式事务处理时,throws exception不回滚的问题
Oracle目前最新的版本是11g R2版本,网上不少安装介绍都是9i或者10g的,我按照介绍RHEL5.5上安装Oracle 11gR2总是有问题,之后看官方文档介绍了,在光盘的doc目录下有。
Oracle 11g R2数据库安装硬件配置要求:
最小内存 1 GB of RAM
虚拟内存容量
Between 1 GB and 2 GB | 1.5 times the size of RAM |
Between 2 GB and 16 GB | Equal to the size of RAM |
More than 16 GB | 16 GB |
硬盘空间要求
Enterprise Edition | 3.95 |
Standard Edition | 3.88 |
Enterprise Edition | 1.7 |
Standard Edition | 1.5 |
Oracle 11g R2数据库支持的操作系统
Oracle Database 11g Release 2 (11.2) for Linux x86:
Asianux 2.0
Asianux 3.0
Oracle Enterprise Linux 4.0 Update 7 or later
Oracle Enterprise Linux 5.0
Red Hat Enterprise Linux 4.0 Update 7 or later
Red Hat Enterprise Linux 5.0
SUSE Linux Enterprise Server 10.0
SUSE Linux Enterprise Server 11.0
需要的软件包支持:
这里只列出Asianux 3, Oracle Enterprise Linux 5.0, and Red Hat Enterprise Linux 5.0的要求,检查一下系统是否安装过这些包,没有的话在Redhat的光盘上都有。
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
elfutils-libelf-devel-static-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-common-2.5
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
ksh-20060214
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.2
libgomp-4.1.2
libstdc++-4.1.2
libstdc++-devel-4.1.2
make-3.81
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-devel-2.2.11
创建Oracle用户
The Oracle Inventory group (typically, oinstall)
The OSDBA group (typically, dba)
The Oracle software owner (typically, oracle)
The OSOPER group (optional. Typically, oper)
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -g oinstall -G dba oracle
# passwd oracle
修改内核参数
修改 /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
修改用户限制
修改 /etc/security/limits.conf 文件,加上下面的参数
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
修改用户验证选项
修改/etc/pam.d/login文件加上如下参数
session required pam_limits.so
修改用户配置文件
修改/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
安装目录配置
# mkdir -p /u01/
# chown -R oracle:oinstall /u01/
# chmod -R 775 /u01/
修改用户bash shell
$ vi .bash_profile
增加
export ORACLE_BASE=/u01/app
export ORACLE_HOME=$ORACLE_BASE/oracle
export ORACLE_SID=liusuping
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
startx启动图形界面进入安装目录
配置图形界面
$ xhost fully_qualified_remote_host_name
$ xhost localhost
切换安装用户
su orcale
执行安装
./runInstaller
安装完毕后用root用户执行两个脚本
[root@c app]# /u01/app/oraInventory/orainstRoot.sh
更改权限/u01/app/oraInventory.
添加组的读取和写入权限。
删除全局的读取, 写入和执行权限。更改组名/u01/app/oraInventory 到 oinstall.
脚本的执行已完成。
[root@c app]# /u01/app/oracle/product/11.2.0/dbhome_2/root.sh
Running Oracle 11g root.sh script...The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/dbhome_2Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@c app]#
安装完毕
本文转自:http://www.liusuping.com/ubuntu-linux/redhat-linux-oracle-11g-r2.html
发表评论
-
Oracle数据库的锁类型(转)
2014-05-08 14:05 1080Oracle数据库的锁类型 o ... -
AWR报告手动生成
2014-04-12 12:23 944sqlplus / as sysdba SQL> ... -
PowerDesigner脚本生成
2013-11-23 17:04 8061 PowerDesigner中批量根据对象的name生 ... -
EXP-00011:oracle11g 空表不能exp导出的问题
2013-05-23 10:51 1351环境:Oracle11gR2+linux RH 5.5 最 ... -
新建Oracle数据库2种方法
2013-03-14 15:53 1067新建Oracle数据库2种方法:1.通过运行Oracle ... -
(转)查看执行计划
2012-09-29 11:00 1413Oracle10g获取sql语句的执 ... -
(转)ORACLE 数据库(查询--主键外键约束)
2012-05-15 15:50 2054-- 查询外键约束(查某表的所有父表) sel ... -
ORA-28001: the password has expired
2012-02-23 13:47 9422大早上正式库提示: Oracle提示错误消息ORA-28 ... -
linux自动备份数据库
2012-02-13 18:08 977#!/bin/sh export PATH=$PATH:$H ... -
Oracle中使用sys_connect_by_path函数实现行转列
2012-01-09 20:16 1319select category ,MAX(s ... -
Oracle强杀进程,解决表锁死等问题
2011-10-17 17:49 11421、找到sid,serial#; SELECT /*+ ... -
Oracle常用技巧(转)
2011-10-11 14:39 9801.删除表空间 DROP TABLESPACE ... -
查询oracle表的信息(表,字段,约束,索引)
2011-08-09 12:22 10831、查询出所有的用户表 select * fro ... -
Oracle index
2011-08-09 12:19 1096索引: 1、一般索引: create inde ... -
(转)oracle执行计划
2011-07-20 19:23 1051一.相关的概念 ... -
ORA-01658 表空間大小不足
2011-02-22 12:24 1291解決方法: 1.查詢各個表空間的利用率 sele ... -
(转)ORACLE数据导入导出
2011-02-19 15:45 863Oracle数据导入导出imp/exp就相当于oracle数据 ... -
Oracle 10g 安装之网络适配器要求 Microsoft Loopback Adapter (环回适配器)
2011-02-19 15:36 4617安装10g的时候,遇到了 ... -
【ORA-12560: TNS: 协议适配器错误】解决方案
2011-02-19 14:42 1313ORA-12560: TNS: 协议适配器错误的问题的原因有三 ... -
SQL优化34条
2010-07-05 12:47 7941) 选择最有效率的表名顺序(只在基于规则的优化器中有效):O ...
相关推荐
Redhat Linux安装Oracle 11g R2数据库
redhat7安装oracle11gR2之动手安装
详细的Redhat 6.9安装oracle 11g R2步骤,帮助你尽快的了解如何操作及安装的注意事项和操作步骤。
一. OS环境准备 二. 安装ORACLE之环境准备 三. 手动安装Oracle11gR2 四. Rehat 设置Oracle数据库开机自动启动
由于自己在找这些rpm的时候花费了挺多时间的,在此作个资源,为大家节省一些时间。redhat6.6安装oracle11g所需全部rpm
在liunux下安装ORACLE11GR2时需要的RPM包,这不是常用的,是那些莫名的坑爹包,有新包不用,还必须要这些老包 compat ksh liaio gibc unixODBC pdksh
redhat5安装oracle11g,资源不全。
Redhat linux server 7.4环境下oracle 11g数据库应用探索.pdf
Redhat7 x86_64安装oracle11G R2 64位分享
企业版redhat_linux_5.5_环境安装oracle_11g_数据库,详细讲解了安装依赖包以及步骤。
linux下安装oracle数据库,此文档包含redhat下 怎样安装oracle数据库 和oracle安装过程所需要得依赖包
RedHat Linux安装Oracle10g
本人亲自实施后总结的配置文件修改方案,按步骤进行配置,正常安装完毕。 系统RedHat6.2 数据库Oracle11
Oracle目前最新的版本是11g R2版本,网上不少安装介绍都是9i或者10g的,我按照介绍RHEL5.5上安装Oracle 11gR2总是有问题,之后看官方文档介绍了,在光盘的doc目录下有。
只是我结合自己的实际情况进行安装,百分百通过的,期间在网上找了各种资料,才得以在redhat5上装好oracle 11g
RedHat 6 X64位下安装Oracle11g R2,图文详解,亲自安装测试。
RedHat6.5系统Oracle11gR2数据库安装教程_完整可用版
RedHat6.8安装oracle11g RAC 完整安装步骤,虚拟机上安装验证过
RedHat Linux 5.3安装 Oracle 11g中文文档总结