Rehat 5.8下oracle11g安装
检查一内存 On Linux x86:
At least 1 GB of RAM 内存至少1G
To determine the RAM size, enter the following command:
# grep MemTotal /proc/meminfo
If the size of the RAM is less than the required size, then you must install more memory before continuing.
The following table describes the relationship between installed RAM and the configured swap space recommendation:
Note:
On Linux, the HugePages feature allocates non-swappable memory for large page tables using memory-mapped files. If you enable HugePages, then you should deduct the memory allocated to HugePages from the available RAM before calculating swap space.
RAM Swap Space 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
On Linux x86-64:(注意用虚拟机安装的时候必须>1G 否则后面安装检测无法通过)
At least 4 GB of RAM
To determine the RAM size, enter the following command:
# grep MemTotal /proc/meminfo
If the size of the RAM is less than the required size, then you must install more memory before continuing.
The following table describes the relationship between installed RAM and the configured swap space recommendation:
Note:
On Linux, the HugePages feature allocates non-swappable memory for large page tables using memory-mapped files. If you enable HugePages, then you should deduct the memory allocated to HugePages from the available RAM before calculating swap space.
RAM Swap Space Between 4 GB and 8 GB 2 times the size of RAM Between 8 GB and 32 GB 1.5 times the size of RAM More than 32 GB 32 GB
/dev/shm)and file descriptors. The size of the shared memory should be at least the greater of MEMORY_MAX_TARGET and MEMORY_TARGET for each Oracle instance on the computer. If MEMORY_MAX_TARGET or MEMORY_TARGET is set to a non zero value, and an incorrect size is assigned to the shared memory, it will result in an ORA-00845 error at startup. On Linux systems, if the operating system /dev/shm mount size is too small for the Oracle system global area (SGA) and program global area (PGA), even then it will result in an ORA-00845 error.如果在初始化参数中设置了MEMORY_MAX_TARGET 和MEMORY_TARGET 两参数为非0 值,并且不符合系统共享内存,则ORACLE 数据库启动时,就会触发ORA-00845:MEMORY_TARGET not supported on this system 错误。
The number of file descriptors for each Oracle instance should be at least 512*PROCESSES. Also, the limit of descriptors for each process should be at least 512. If file descriptors are not sized correctly, you will notice ORA-27123 from various Oracle processes and potentially Linux Error EMFILE (Too many open files) errors in non-Oracle processes.
什么是/dev/shm
它就是所谓的tmpfs,从名字可以看出是一个临时的文件系统,有人说跟ramdisk(虚拟磁盘),但不一样。使用/dev/shm的好处就是读取数据相当快,因为典型的 tmpfs 文件系统会完全驻留在 RAM 中,读写几乎可以是瞬间的。同时,要注意的是,在/dev/shm中的文件在系统重启后会被清除掉。
tmpfs默认大小一般为物理内存的一半,当然可以修改tmpfs的大小。一般在fstab上可以看到
tmpfs /dev/shm tmpfs defaults 0 0
如果要将tmpfs的大小修改为4G,可以对上面的做适当的修改即可,如:
tmpfs /dev/shm tmpfs defaults,size=4096M 0 0
The workaround, if you encounter the ORA-00845 error, is to increase the /dev/shm mountpoint size. For example:
# mount -t tmpfs shmfs -o size=7g /dev/shm
/etc/fstab similar to the following:shmfs /dev/shm tmpfs size=7g 0
# df -h /dev/shm/
检查3 /tmp
The following are the disk space requirements for installing Oracle Database 11g Release 2 (11.2):
1 GB of space in the
/tmpdirectoryTo determine the amount of space available in the
/tmpdirectory, enter the following command:# df -h /tmp
If the free space available in the
/tmpdirectory is less than what is required, then complete one of the following steps:Delete unnecessary files from the
/tmpdirectory to meet the disk space requirement.Set the
TMPandTMPDIRenvironment variables when setting theoracleuser's environment.See Also:
"Configuring the oracle User's Environment" for more information about setting
TMPandTMPDIRExtend the file system that contains the
/tmpdirectory. If necessary, contact the system administrator for information about extending file systems.
To determine the amount of free disk space on the system, enter the following command:
# df -h
The following tables describe the disk space requirements for software files, and data files for each installation type on Linux x86:
Installation Type Requirement for Software Files (GB) Enterprise Edition 3.95 Standard Edition 3.88 Installation Type Disk Space for Data Files (GB) Enterprise Edition 1.7 Standard Edition 1.5 The following tables describe the disk space requirements for software files, and data files for each installation type on Linux x86-64:
Installation Type Requirement for Software Files (GB) Enterprise Edition 4.35 Standard Edition 3.73 Installation Type Disk Space for Data Files (GB) Enterprise Edition 1.68 Standard Edition 1.48
The following packages (or later versions) must be installed:
binutils-2.17.50.0.6-12.el5 (s390x) unixODBC-2.2.11 (32 bit) or later unixODBC-devel-2.2.11 (32 bit) or later |
libaio-devel-0.3.106-5.x86_64.rpm
sysstat-7.0.2-11.el5.x86_64.rpm
unixODBC-devel-2.2.11-10.el5.i386.rpm
unixODBC-devel-2.2.11-10.el5.x86_64.rpm
|
Kernel
Parameter |
Setting To Get
You Started |
Purpose
|
|
aio-max-nr
|
1048576
|
The total number of concurrent outstanding I/O requests
|
|
shmmni
|
4096
|
Maximum number of shared memory segments
|
|
shmall
|
2097152
|
Maximum total shared memory (4 Kb pages)
|
|
shmmax
|
4294967295
|
Maximum size of a single shared memory segment. Set to either (4GB -1) or 1/2 the size of physical memory (in bytes) whichever is lower
|
|
semmsl
|
250
|
Maximum number of semaphores per set
|
|
semmns
|
32000
|
Maximum number of semaphores
|
|
semopm
|
100
|
Maximum operations per semop call
|
|
semmni
|
128
|
Maximum number of semaphore sets
|
|
file-max
|
6815744
|
Maximum number of open files
|
|
ip_local_port_range
|
9000 - 65500
|
Range of ports to use for client connections
|
|
rmem_default
|
262144
|
Default TCP/IP receive window
|
|
rmem_max
|
4194304
|
Maximum TCP/IP receive window
|
|
wmem_default
|
262144
|
Maximum TCP/IP send window
|
|
wmem_max
|
1048576
|
Maximum TCP/IP send window
|
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 2097152
fs.aio-max-nr = 1048576
fs.file-max = 6815744
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
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
session required /lib/security/pam_limits.so
session required pam_limits.so
[root@oracle2 ~]# chown -R oracle:oinstall /u01/app /u01/app/oracle /u01/app/oracle/oradata
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
ORACLE_SID=ORADB1
export ORACLE_BASE ORACLE_HOME ORACLE_SID
alias home='cd $ORACLE_HOME'
alias base='cd $ORACLE_BASE'
SQLPATH=/u01/app/oracle/product/11.2.0/db_1/sqlplus/admin
Password:
[root@oracle2 ~]# xhost +
access control disabled, clients can connect from any host
alias rman='rlwrap rman'
Rehat 5.8下oracle11g安装的更多相关文章
- linux redhat下oracle11G安装
首先由于使用的是虚拟机,所有要修改ip 在LINUX下修改IP分为二种情况, 1.调试时修改IP,仅在当前生效,重启后恢复为原有IP ifconfig eth0 192.168.63.27 netma ...
- Linux下Oracle11G RAC报错:在安装oracle软件时报file not found一例
Linux下Oracle11G RAC报错:在安装oracle软件时报file notfound一例 1.现象 之前安装一切都比較顺利,安装oracle软件时,进度到30%时报错:file not f ...
- Oracle安装部署之Win7下oracle11g数据库的安装及配置
1.下载安装包 到oracle官网downloads下下载(第一次下载需要注册账号). Win7 64位下载64位oracle11g安装包 Win7 32位下载32位oracle11g(Oracle_ ...
- win10操作系统下oracle11g客户端/服务端的下载安装配置卸载总结
win10操作系统下oracle11g客户端/服务端的下载安装配置卸载总结 一:前提 注意:现在有两种安装的方式 1. oracle11g服务端(64位)+oracle客户端(32位)+plsql(3 ...
- centos7下oracle11g详细的安装与建表操作
一.oracle的安装,在官网下载oracle11g R2 1.在桌面单击右键,选择“在终端中打开”,进入终端 输入命令:su 输入ROOT密码: 创建用户组oinstall:groupadd oin ...
- CentOS 6.5下静默安装oracle
本例: 通过SSH远程连接云主机,上传oracle11g安装包,在centos6.5上无图形化界面静默安装oracle11g. 涉及工具及环境: 1.本地环境windows7+ssh远程连接工具xSh ...
- 解决linux下oracle-11g打不开dbca问题
linux下oracle安装完毕后,出现建立数据库命令dbca无法使用问题,如图: 解决办法: 在32位的linux环境下,安装32位oracle11g会有这个bug,主要装个补丁(patch nam ...
- linux下Oracle11g RAC搭建(六)
linux下Oracle11g RAC搭建(六) 五.校验安装前的环境 root身份下完毕解压grid.database安装包 [grid@node1 soft]$ su - Password: [r ...
- Oracle win32_11gR2_database在Win7下的安装与卸载
Oracle win32_11gR2_database在Win7下的安装与卸载 by:授客 QQ:1033553122 Oracle的硬件要求 在安装oracle之前,请检查一下自己的电脑硬件是否复合 ...
随机推荐
- CSS3 Media Queries(响应式布局可以让你定制不同的分辨率和设备)
点评:Media Queries这功能是非常强大的,他可以让你定制不同的分辨率和设备,并在不改变内容的情况下,让你制作的web页面在不同的分辨率和设备下都能显示正常,并且不会因此而丢失样式 Med ...
- android学习笔记六——Spinner
注:参考http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0105/2264.html Spinner ==> Spinner ...
- jsp页面中的问题:Date cannot be resolved to a type
问题如下:写了一个jsp,提示 症状原因:缺date的jar包 解决办法:在jsp开头导入jar包:<%@ page language="java" import=" ...
- oracle中一个字符串包含另一个字符串中的所有字符
oracle中一个字符串包含另一个字符串中的所有字符 --解决监理报告中所勾选的标段信息,与该用户所管理的标段字符串不匹配的问题. select * from a where instr(a,b)&g ...
- HDU 1272 小希的迷宫(并查集)
题解: 首先,init,find,union操作都是模版,多敲几遍,在记记,就没问题了. 然后,本题就是多了一个flag数组,记录数据是否出现过,最后记录最小,和最大,遍历一般他们的父亲,只有一个就是 ...
- 设置session的生存时间
1.最有效的方法 修改php.ini中 #session的超时时间 session.gc_maxlifetime = 1440 2.通过php去修改这个值 $Lifetime = 3600; $S ...
- Android_ _开发技巧总结
=== 1 1.对于过多的控件,功能类似,数量又多的,可以用include方法.在实现应用中,可以把控件放入List集合中. private void initView() { // TODO ...
- laravel下使用阿里云oss上传图片
对小公司而言,使用阿里云oss比直接买硬盘要划算的多,不管从存储性价比上还是从网速负载上.最近因为公司的项目有比较大的图片存储访问需求,所以决定使用阿里云的oss. 在研究了一下以后,摆着不自己造轮子 ...
- jquery实现点击页面其他地方隐藏指定元素
代码实例如下: <!DOCTYPE html><html><head><meta charset=" utf-8"><meta ...
- vb eof详解
源地址:https://zhidao.baidu.com/question/87122186.html?qbl=relate_question_1&word=eof%20sql&ski ...