Oracle 13c OEM 安装手册
1 安装准备工作
以下包已Redhat 为准,其他版的操作系统以官方手册为准。
1.1 Oracle Management Service 依赖如下包
glibc-common-2.3.4-2.43(x86_64)
glibc-devel-2.3.4-2.43(x86_64)
glibc-profile-2.3.4-2.43(x86_64)
glibc-headers-2.3.4-2.43(x86_64)
glibc-utils-2.3.4-2.43(x86_64)
glibc-2.3.4-2.43(x86_64)
make-3.81
binutils-2.20
gcc-4.4.4
libaio-0.3.107
glibc-common-2.12-1
libstdc++-4.4.4
libXtst-1.0.99 (x86_64)
sysstat-9.0.4
glibc-devel-2.12-1.7 (i686) (This is a 32-bit package)
glibc-devel-2.12-1.7 (x86_64) (This is a 64-bit package)
1.2 Oracle Management Agent 依赖如下包
make-3.81
binutils-2.20
gcc-4.1.1
libaio-0.3.106
glibc-common-2.3.4
libstdc++-4.1.1
sysstat-5.0.5
make-3.81
binutils-2.20
gcc-4.1.1
libaio-0.3.106
glibc-common-2.3.4
libstdc++-4.1.1
sysstat-5.0.5
这里建议配置好YUM,用yum 来一次安装。 参考:
Linux 平台下 YUM 源配置 手册
http://www.cndba.cn/dave/article/154
1.3 修改系统参数
1.3.1 验证UDP和TCP 内核参数
避免端口被占用,修改最小端口到11000。
[root@www.cndba.cn ~]# cat /proc/sys/net/ipv4/ip_local_port_range
9000 65000
[root@www.cndba.cn ~]#
[root@www.cndba.cn ~]# echo 11000 65000 > /proc/sys/net/ipv4/ip_local_port_range
[root@www.cndba.cn ~]# cat /proc/sys/net/ipv4/ip_local_port_range
11000 65000
[root@www.cndba.cn ~]#
修改/etc/sysctl.conf 文件,修改如下内容:
net.ipv4.ip_local_port_range = 11000 65000
然后重启网络服务:
[root@www.cndba.cn ~]# service network restart
1.3.2 修改kernel.shmmax 内核参数
如果OMS 和 Management Repository(database) 在不同的主机上,那么OMS的主机kernel.shmmax 参数设置为小于4G或者4294967295。 直接修改/etc/sysctl.conf 文件修改,然后运行sysctl –p 生效即可。
如果OMS和Management Repository(database) 在同一个主机上,那么kernel.shmmax 参数以Oracle 数据库文档要求的为准。
1.4 安装Oracle 数据库并修改参数
OEM 13c 只支持12.1.0.2.0 以上的数据库,所以需要先安装12的DB。 参考:
linux 6.4 平台下 Oracle 12c 单实例 安装手册
http://www.cndba.cn/dave/article/323
安装DB过程省略,注意:不要安装EM。
[oracle@www.cndba.cn ~]$ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Tue Mar 1 15:07:20 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL>
alter system set optimizer_adaptive_features=false scope=both sid='*';
alter system set processes=600 scope=spfile;
alter system set session_cached_cursors=300 scope=spfile;
alter system set sga_target=8g scope=spfile;
alter system set shared_pool_size=600m scope=spfile;
alter system set pga_aggregate_target=2g scope=spfile;
alter system set shared_pool_size=1G scope=spfile;
/u01/app/oracle1/oradata/orz/redo01.log
修改Online redo log 大小,单个文件最小600M:
SQL> alter database add logfile group 4('/u01/app/oracle/oradata/dave/redo04.log') size 1G;
Database altered.
SQL> alter database add logfile group 5('/u01/app/oracle/oradata/dave/redo05.log') size 1G;
Database altered.
SQL> alter database add logfile group 6('/u01/app/oracle/oradata/dave/redo06.log') size 1G;
Database altered.
SQL> alter database drop logfile group 2;
Database altered.
SQL> alter database drop logfile group 1;
Database altered.
SQL> alter system switch logfile;
System altered.
SQL> alter database clear unarchived logfile group 3;
Database altered.
SQL> alter database drop logfile group 3;
Database altered.
-- Restart the instance.
SHUTDOWN IMMEDIATE
STARTUP
1.5 创建OEM安装目录
[oracle@www.cndba.cn /]$ mkdir -p /u01/app/oracle/Middleware
[oracle@www.cndba.cn /]$ mkdir -p /u01/app/oracle/MiddlewareAgent
2 安装 Enterprise Manager Cloud Control
[oracle@www.cndba.cn software]$ chmod a+x em13100_linux64.bin
[oracle@www.cndba.cn software]$ ll
total 6616032
-rw-r--r-- 1 oracle oinstall 1315250699 Feb 29 16:02 em13100_linux64-2.zip
-rw-r--r-- 1 oracle oinstall 2145473190 Feb 29 16:06 em13100_linux64-3.zip
-rw-r--r-- 1 oracle oinstall 2141357330 Feb 29 16:07 em13100_linux64-4.zip
-rw-r--r-- 1 oracle oinstall 331590923 Feb 29 15:54 em13100_linux64-5.zip
-rwxr-xr-x 1 oracle oinstall 841114290 Feb 29 15:58 em13100_linux64.bin
[oracle@www.cndba.cn software]$
运行开始安装:
[oracle@www.cndba.cn software]$ ./em13100_linux64.bin
0%...............................................................100%
Launcher log file is /tmp/OraInstall2016-03-01_02-07-09PM/launcher2016-03-01_02-07-09PM.log.
Starting Oracle Universal Installer
Checking if CPU speed is above 300 MHz. Actual 3400.000 MHz Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Checking swap space: must be greater than 512 MB. Actual 31999 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 818155 MB Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2016-03-01_02-07-09PM
====Prereq Config Location main===
/tmp/OraInstall2016-03-01_02-07-09PM/stage/prereq
EMGCInstaller args -scratchPath
EMGCInstaller args /tmp/OraInstall2016-03-01_02-07-09PM
EMGCInstaller args -sourceType
EMGCInstaller args network
EMGCInstaller args -timestamp
EMGCInstaller args 2016-03-01_02-07-09PM
EMGCInstaller args -paramFile
EMGCInstaller args /tmp/sfx_0Utw4M/Disk1/install/linux64/oraparam.ini
EMGCInstaller args -nocleanUpOnExit
DiskLoc inside SourceLoc/software
EMFileLoc:/tmp/OraInstall2016-03-01_02-07-09PM/oui/em/
ScratchPathValue :/tmp/OraInstall2016-03-01_02-07-09PM















[root@www.cndba.cn ~]# /u01/app/oracle/Middleware/allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u01/app/oracle/Middleware/root.sh ......
/etc exist
Creating /etc/oragchomelist file...
/u01/app/oracle/Middleware
Finished product-specific root actions.
/etc exist
Finished execution of /u01/app/oracle/Middleware/root.sh ......
Starting to execute /u01/app/oracle/MiddlewareAgent/agent_13.1.0.0.0/root.sh ......
Finished product-specific root actions.
/etc exist
Finished execution of /u01/app/oracle/MiddlewareAgent/agent_13.1.0.0.0/root.sh ......
[root@www.cndba.cn ~]#


在如下平台下安装费时约3小时:
[root@www.cndba.cn ~]# free -g
total used free shared buffers cached
Mem: 23 22 0 5 0 15
-/+ buffers/cache: 7 15
Swap: 31 0 31
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
stepping : 9
microcode : 27
cpu MHz : 3400.000
cache size : 3072 KB
zhuan :http://www.cndba.cn/dave/article/324
Oracle 13c OEM 安装手册的更多相关文章
- Oracle 11g R2安装手册(图文教程)For Windows
1.Oracle 11g R2安装手册(图文教程)For Windows 1.下载Oracle 11g R2 for Windows版本,下载地址如下 官方网站: http://download.or ...
- oracle 11gR2 RAC安装手册
--oracle 11gR2 RAC安装手册 -----------------------------2013/10/29 参考三思笔记 http://files.cnblogs.com/jackh ...
- Oracle 11g R2安装手册(…
1.Oracle 11g R2安装手册(图文教程)For Windows 1.下载Oracle 11g R2 for Windows版本,下载地址如下官方网站:http://download.orac ...
- RedHat 7.3 Oracle 12.2.0.1 RAC 安装手册(转)
1 准备工作 1.1 关于GRID的一些变化 1.1.1 简化的基于映像的Oracle Grid Infrastructure安装 从Oracle Grid Infrastructure 12 ...
- Oracle 12c 安装手册
Oracle 12C 首次安装 期待已久的Oracle 12C 终于发布了,我迫不及待的下载了介质,一睹风采. 下载地址:http://www.oracle.com/technetwork/datab ...
- Oracle 11G RAC11.2.0.4 + Redhat7.3安装手册
安装思路: 1.安装两台redhat7 linux系统 2.网络配置(双网卡,public,vip,private,scan) 3.存储配置(内存配置,ASM共享存储:6块5G共享盘udev,根目录留 ...
- Oracle 数据库基础——安装
一.数据库基础知识 1.概念 数据库全称数据库管理系统,简称DBMS,是一种在计算机中,针对数据进行管理.存储.共享的一种技术. 2.分类 数据库的发展过程中,按逻辑模型可分为以下几种: 3.关系型数 ...
- Oracle简介及安装
一.轨迹 二.Oracle简介 Oracle是现在全世界最大的数据库提供商,编程语言提供商,应用软件提供商,它的地位等价于微软的地位. Oracle在古希腊神话中被称为“神谕”,指的是上帝的宠儿,在中 ...
- 本文将详细介绍oracle 10g OEM常规错误
本文将详细介绍oracle 10g OEM常规错误-------Unknown host specified解决方法,需要了解的朋友可以参考下 详细出处参考:http://www.jb51.net/a ...
随机推荐
- Java 四大作用域总结
一.ServletContext 1.生命周期:当Web应用被加载进容器时创建代表整个web应用的ServletContext对象,当服务器关闭或Web应用被移除时,ServletContext对象跟 ...
- React Native 网络请求封装:使用Promise封装fetch请求
最近公司使用React作为前端框架,使用了异步请求访问,这里做下总结: React Native中虽然也内置了XMLHttpRequest 网络请求API(也就是俗称的ajax),但XMLHttpRe ...
- Linux图形化界面下使用命令进行截图的方法
以前在LINUX里面截图都是直接按print screen键或者 alt + print screen. 但是print screen是整个屏幕, alt + print screen是当前窗口. 想 ...
- PAT1042. Shuffling Machine (20)
#include <iostream> #include <vector> using namespace std; int n; string card[54]={" ...
- 使用ConcurrentLinkedQueue惨痛的教训
服务端原本有个定时任务对一个集合ArrayList 中的消息做处理. 因为考虑到处理消息是先进先出原则,所以优化的时候考虑改用ConcurrentLinkedQueue 当时没仔细深入研究过这个集合就 ...
- 使用SpringMVC时报错HTTP Status 405 - Request method 'GET' not supported
GET方法不支持.我出错的原因在于,在JSP中我希望超链接a以post方式提交,但是这里写js代码时出错. <script type="text/javascript"> ...
- hibernate学习(4)
Hibernate查询方式 1 对象导航查询 (1)根据id查询某个客户,再查询这个客户里面所有的联系人 2 OID查询 (1)根据id查询某一条记录,返回对象 3 hql查询 (1)Query对象, ...
- Web2.0 TA 问题记录
记录一下上学期在当Web2.0 TA的时候遇到过的小朋友们问过的问题,可能会成为以后我开发上遇到的问题. 1. 元素的背景默认是boader origin的,也就是说是从边框开始延伸的. 但如果对bo ...
- phpexcel: 数据导出
// 设置列名最多40个 $cols = array( "A", "B", "C", "D", "E" ...
- python中zip()函数的用法
一. 定义 zip()函数用于将可迭代的对象作为参数,将对象中对应的元素打包成一个个元组,然后返回由这些元组组成的对象,这样做的好处是节约了不少内存 如果各个迭代器的元素个数不一致,则返回列表长度与最 ...