单机安装oracle,Oracle 11G 单机安装
1. 检查内存,至少1G
grep MemTotal /proc/meminfo
2.交换分区
Available RAMSwap Space Required
Between 1 GB and 2 GB1.5 times the size of RAM
Between 2 GB and 16 GBEqual to the size of RAM
More than 16 GB16 GB
grep "model name" /proc/cpuinfo
grep SwapTotal /proc/meminfo
[root@home ~]# free
total used free shared buffers cached
Mem: 1035140 512924 522216 0 51236 335880
-/+ buffers/cache: 125808 909332
Swap: 1052248 0 1052248
3. 共享内存段至少要大于MEMORY_MAX_TARGET and MEMORY_TARGET
[root@home ~]# df -k /dev/shm/
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 517568 0 517568 0% /dev/shm
4. 至少1G的 /tmp
df -h /tmp
5. 数据库软件和data磁盘空间要求
Installation TypeRequirement for Software Files (GB)
Enterprise Edition3.95
Standard Edition3.88
Installation TypeRequirement for Data Files (GB)
Enterprise Edition1.7
Standard Edition1.5
6. 操作系统版本
Operating System Requirements
The following are the operating system requirements for 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
For Asianux 3, Oracle Enterprise Linux 5.0, and Red Hat Enterprise Linux 5.0: 2.6.18 or later
[root@home ~]# uname -r
2.6.18-164.el5
[root@rhel5 ~]# uname -a
Linux rhel5.oraclelinux.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
[root@rhel5 ~]# uname -s
Linux
7. 检查软件包
yum -y install binutils-*
yum -y install compat-libstdc++-*
yum -y install elfutils-libelf-*
yum -y install elfutils-libelf-devel-*
yum -y install elfutils-libelf-devel-static-*
yum -y install gcc-*
yum -y install gcc-c++-*
yum -y install glibc-*
yum -y install glibc-common-*
yum -y install glibc-devel-*
yum -y install glibc-headers-*
yum -y install kernel-headers-*
yum -y install ksh-*
yum -y install libaio-*
yum -y install libaio-devel-*
yum -y install libgcc-*
yum -y install libgomp-*
yum -y install libstdc++-*
yum -y install libstdc++-devel-*
yum -y install make-*
yum -y install sysstat-*
yum -y install unixODBC-*
yum -y install unixODBC-devel-*
8. 创建组和用户
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -g oinstall -G dba oracle
如果oracle用户已经存在
/usr/sbin/usermod -g oinstall -G dba oracle
echo oracle | passwd --stdin oracle
9. 修改内核参数 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
10. vi /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
11. vi /etc/pam.d/login
session required pam_limits.so
12. 修改profile
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
13. 创建目录结构
mkdir -p /u01/app
chown -R oracle:oinstall /u01/app
chmod -R 775 /u01/app
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
14. runInstaller
-ignoreSysPrereqs
单机安装oracle,Oracle 11G 单机安装相关推荐
- Oracle RAC 11G补丁安装最佳实践
Oracle RAC 11G补丁安装最佳实践 一.准备阶段 二.GI 部分 2.1 升级GI opatch 2.2 root下生成ocm模板文件 2.3 停止EM 2.4 解压GI PSU压缩包 2. ...
- 指南:在 linux 下的 Oracle Database 11g 中安装 Oracle Enterprise Manager 10g Grid Control 第 5 版
原文地址:http://www.oracle.com/technetwork/cn/articles/revitt-oem-096363-zhs.html 作者:Mike Revitt 逐步详解如何针 ...
- oracle Client 11g静默安装
参考: oracle Client11G静默安装过程--linux环境_xiaoqiaoi5685的博客-CSDN博客oracle Client11G静默安装过程--linux环境.附下载链接http ...
- Oracle(11g)安装
oracle官网 https://www.oracle.com/cn/database/technologies/oracle-database-software-downloads.html 我这里 ...
- win10开启oracle服务器配置,Windows环境(Win10)下安装、配置服务器类Oracle Database 11g Release 2...
该篇为服务器类Oracle Database 11gRelease 2的安装.配置,若需安装.配置桌面类(通常是选择桌面类,如果是将本机作为服务器来使用,则选择服务器类),可参考"Windo ...
- oracle database 11g 如何正确卸载
如在使用过程中,遇到oracle database 的疑难问题,需要重装的时候,就需要我们先将老的oracle 做完全的卸载删除,这样才能安装新的oracle database. 下面看一下具体的卸载 ...
- 《Oracle 11G 单机安装手册》
目录 文档概述 3 操作系统概述 4 2.1 当前系统信息 4 2.2 上传Oracle软件安装包 4 检查硬件环境 6 3.1 检查内存 6 3.2 检查Swap空间 7 3.3 操作系统架构 7 ...
- Oracle 11g 单机安装 —— 文件系统
1.解析主机名: [root@rhel ~]# vim /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhos ...
- oracle 11gr2 单机数据库使用asm,RHEL7上安装11gR2单机使用ASM存储搭建Physical Standby笔记...
参考文献 一.背景介绍 接到需求要安装单机使用ASM存储的数据库,原本以为是轻车熟路的事情,emm,世界上哪有那么多轻松的活给你干,废话少说,进主题吧. 二. 关于安装思路 一直以来搭建的都是RAC+ ...
最新文章
- Xcode Debugging
- [转] 全面了解Windows任务管理器
- 0025-中点位移的速度
- 《瓦尔登湖》 感想及笔记
- 各种乐器与人声的频率特性说明
- C# 计算一点绕另一点旋转一定角度后新点的坐标
- tesseract ocr 5.0 Api调用,delphi源码实现--识别率超高速度快
- 酷派大观4 8970 刷android 4.4,酷派5890驱动 酷派 8970L(大观4)recovery卡刷通用刷机教程...
- 读入外挂:ios::sync_with_stdio(false)
- Broadcom BCM94360系列网卡Linux(Ubuntu/Fedora)驱动安装总结
- 掂清自己在别人心中的分量,是人际…
- 美版苹果6突然有4g显示无服务器,苹果6通病——插卡无服务维修思路和教程
- 可测函数列的几乎一致收敛于几乎处处收敛
- 民科微服务小程序怎么注册_民科微服务小程序app个人端认证下载-民科微服务小程序登录官方入口下载v2.4最新版_289手游网...
- 使用promise解决回调地狱_Promise 技术调研 - 回调地狱的产生原因与解决方式
- 网络技术与技术革命周末随想
- 正则解决大写金额转换
- 什么是数据库?数据库有什么作用?
- 解决迅雷极速版强制升级-20190715
- 8、Android Studio 使用MNN进行Swin_Transformer分类识别
热门文章
- 模板匹配,特征点匹配-全
- python autoreload
- windows msys编译64位x264和ffmpeg
- ListControl 换行行高与字体
- s2sh集成dataSource配置无效的问题 -Access denied for user 'sa'@'localhost'
- fftw_plan_dft_2d重复优化
- oracle存储过程调用游标例子
- 2020-1024=996
- filter java web_java web filter 之一 基础实现
- c语言动态申请函数,C语言用malloc函数申请二维动态数组