oem12c_install_for_linux

一、状况描述

伴随着oracle database

12c的登场,作为DBA的工作好像越来越少,软件的功能更加智能化、人性化,不知是咱喜欢得瑟还是爱与表现,总喜欢打开的终端,在那无止境的敲打着代码,其实也挺累的。既然工具都出来了,那就用呗,效果直观还有利于管理,管理数据库不就更简单了吗。下面,咱看一下oem12c在linux的安装吧。

二、环境准备

Redhat5.4_x64+em12cr2p1+oracle11.2.0.4

在linux下安装oracle这里不再详细说明,安装之前需建好用户,配置相应系统参数、软件包。查看数据库是否可正常访问。

alter

system set processes= 500 scope=spfile;

alter

system set session_cached_cursors=500 scope=spfile;

alter

system set shared_pool_size=650M scope=spfile;

alter

system set job_queue_processes=22 scope=spfile;

alter

database add logfile size 320M;

alter

system set open_cursors=350 scope=spfile;

alter

system set sga_target=2g scope=spfile;

ALTER

SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;

$ORACLE_HOME/bin/emca

-deconfig dbcontrol db -repos drop

三、安装过程

启动安装界面

如下图所示,由于是虚拟机安装,系统内存等不符合其安装要求,glibc软件版本低,

选择好安装目录,并填写操作系统的hostname

输入密码,至少8位,填写存储信息的数据库实例信息

检查oracle数据库参数是否符合安装要求

给出如下警告,提示你对数据库参数应设置的数值

数据库参数修改完成,查看

SQL> show parameter

processes

NAME TYPE VALUE

------------------------------------ -----------

------------------------------

aq_tm_processes integer

1

db_writer_processes integer

1

gcs_server_processes integer

0

global_txn_processes integer

1

job_queue_processes integer

1000

log_archive_max_processes integer

4

processes integer 301

---至少300

SQL> show parameter

memory

NAME TYPE VALUE

------------------------------------ -----------

------------------------------

hi_shared_memory_address integer

0

memory_max_target big integer

696M

memory_target big integer 696M

---确认

shared_memory_address integer

0

SQL> show parameter

session_c

NAME TYPE VALUE

------------------------------------ -----------

------------------------------

session_cached_cursors integer 201

-------至少200

SQL> show parameter

shared_p

NAME TYPE VALUE

------------------------------------ -----------

------------------------------

shared_pool_reserved_size big

integer 6501171

shared_pool_size big integer 0

------自动调整

SQL>

确认无误后点击安装

安装过程中,可点击 view log

查看安装日志

执行一下脚本

[root@oradb2 ~]#

/oracle/oem12c/oms/allroot.sh

Starting to execute allroot.sh

.........

Starting to execute

/oracle/oem12c/oms/root.sh ......

Running Oracle 11g root.sh

script...

The following environment variables

are set as:

ORACLE_OWNER= oracle

ORACLE_HOME=

/oracle/oem12c/oms

Enter the full pathname of the

local bin directory: [/usr/local/bin]:

The file "dbhome" already exists in

/usr/local/bin. Overwrite it? (y/n)

[n]:

The file "oraenv" already exists in

/usr/local/bin. Overwrite it? (y/n)

[n]:

The file "coraenv" already exists

in /usr/local/bin. Overwrite it? (y/n)

[n]:

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.

/etc exist

Creating /etc/oragchomelist

file...

/oracle/oem12c/oms

Finished execution of

/oracle/oem12c/oms/root.sh ......

Starting to execute

/oracle/agent/core/12.1.0.2.0/root.sh ......

Finished product-specific root

actions.

/etc exist

Finished execution of

/oracle/agent/core/12.1.0.2.0/root.sh ......

[root@oradb2 ~]#

完成安装,虚拟机下安装该软件用了2个多小时,提示em管理、控制登录地址。

下面是oem安装后主目录下内容(我们可以看出,服务是通过weblogic管理的)

管理OEM服务的界面

登录oms控制台

为EMREP数据库用户解锁并设置密码

SQL> alter user DBSNMP

identified by oracle account unlock;

User altered.

SQL>

可选择常用功能模块设置为主页

查看已添加主机(本机)

添加监控数据库

选择搜索列表

如上图所示,可添加描述信息,便于管理数据库

下图为数据库实例监控信息(由于浏览器版本低,下图通过远程登录显示内容),这样我们能直观看出EMREP数据库信息

OMS 停止和启动

[oracle@oradb2 bin]$ ./emctl stop

oms

Oracle Enterprise Manager Cloud

Control 12c Release 2

Copyright (c) 1996, 2012 Oracle

Corporation. All rights reserved.

Stopping WebTier...

WebTier Successfully

Stopped

Stopping Oracle Management

Server...

Oracle Management Server

Successfully Stopped

Oracle Management Server is

Down

[oracle@oradb2 bin]$ pwd

/oracle/oem12c/oms/bin

[oracle@oradb2 bin]$

[oracle@oradb2 bin]$ ./emctl start

oms

Oracle Enterprise Manager Cloud

Control 12c Release 2

Copyright (c) 1996, 2012 Oracle

Corporation. All rights reserved.

Starting Oracle Management

Server...

Starting WebTier...

WebTier Successfully

Started

Oracle Management Server

Successfully Started

Oracle Management Server is

Up

[oracle@oradb2 bin]$

下次咱们开始配置其他节点数据库,也请同志们多多给出批评、指正

linux安装oem环境,【OEM】 oem12c_install_for_linux相关推荐

  1. Arch Linux安装桌面环境

    Xfce是众多Linux桌面系统中的一个,以小巧占用系统资源少而著称,本文就带领大家在Arch Linux中安装Xfce桌面系统.前提是你已经安装好了Arch Linux系统. 1.更新系统安装包 在 ...

  2. Linux安装LAMP环境各种问题

    1.  查看linux下是否已经搭建lamp环境 使用的yum安装,它可以帮助我们解决软件自己的依赖关系.我还在后面加了postgresql数据库如果不需要的话可以去掉和postgresql的参数.命 ...

  3. linux安装中文环境,[Linux]Ubuntu 7.04 中文环境的安装

    第一步,要明确:我们所有做的一切,都必须是在root用户下才能完成的.所以,请务必使用root登陆.这里我插入一点root的知识.新装系统后,再终端设置root 密码.命令为 su passwd ro ...

  4. linux安装node环境

    1.服务器node环境安装 nvm安装 nvm是目前主流的node版本管理工具,可以快速安装node环境不需要下载包安装包,配置环境等一下一系列的繁琐步骤 执行以下命令 curl -o- https: ...

  5. linux 安装 tao环境,linux环境安装hbase------不一定需要hadoop

    hbase是分布式的,面向列(族)的数据库, 很常用, 网上介绍一大堆.本文说说在linux环境中安装hbase. 一般来说,都是需要先安装hadoop, 再安装hbase. 但是, 为了简便起见, ...

  6. linux安装PHP环境

    在Linux下搭建PHP环境比Windows下要复杂得多.除了安装Apache,PHP等软件外,还要安装一些相关工具,设置必要参数.而且,如果要使用PHP扩展库,还要进行编译.安装之前要准备如下安装包 ...

  7. 最新 Linux安装项目环境 mysql 完整教程 100%可行.附带所有教程

    1.环境背景(2019-7-15) mysql的版本(MySQL-5.6.22-1.el6.i686.rpm-bundle.tar) 链接:https://pan.baidu.com/s/1-tXGG ...

  8. linux安装toncat环境变量,linux下JDK,tomcat的安装与环境变量配置

    先从网上下载jdk(jdk-1_5_0_02-linux-i586.rpm) ,下载后放在/home目录中,当然其它地方也行. 进入安装目录 #cd /home #cp jdk-1_5_0_02-li ...

  9. linux安装交叉编译环境

    (一)交叉编译器的简介 (1)本地编译 在了解交叉编译之前我们首先介绍一下另一个概念:本地编译 之前所做的C开发属于本地编译,即在当前PC下(x86的CPU下),直接编译出可以运行的程序(或者库文件) ...

  10. 嵌入式Linux安装Python环境,linux环境下安装python 3

    说明: 在linux环境下,都默认安装python 2的环境,由于python3在python2的基础上升级较大,所以安装python 3环境用于使用最新的python 3的语法. 安装过程: 1.下 ...

最新文章

  1. AI一分钟 | “钢铁侠”马斯克冒冷汗直面跳票尴尬;Apollo2.0确定下个月初出征美国,李彦宏发力全球梦
  2. PgSQL · 应用案例 · 阿里云 RDS PostgreSQL 高并发特性 vs 社区版本
  3. 硬盘录像机和服务器,硬盘录像机和视频监控服务器
  4. Kinect V2 基础教程之彩色图像
  5. Linux虚拟化KVM-Qemu分析(一)
  6. python读取us7ascii字符集Oracle数据库中文乱码问题的解决方案
  7. 分享你最喜欢的技巧和提示(Xcode,Objective-C,Swift,C...等等)
  8. Web前端初级问题—ajax登录跳转登录实现
  9. 阶段1 语言基础+高级_1-3-Java语言高级_08-JDK8新特性_第1节 常用函数接口_1_函数式接口的概念函数式接口的定义...
  10. 去除 火狐浏览器自动给域名前加 www.
  11. 超级搜索术5-商业变现/生活便捷
  12. 云流送技术可以支持多人交互吗?
  13. Chrome 常用扩展插件
  14. 微信小程序的生命周期函数
  15. 关于Windows许可证过期解决方案
  16. ubuntu 配置本地源
  17. 数字游戏(东华大学OJ练习题)
  18. 【Unity】励志成为最强UI仔—BeaverJoe项目之UI界面制作【上】代码优化-动态加载UI对象
  19. 第91届奥斯卡奖公布提名名单《罗马》《宠儿》10项提名领跑
  20. 收藏下Android手机驱动

热门文章

  1. hive substr函数_数据分析工具篇——HQL函数及逻辑
  2. hadoop的HDFS-----防火墙导致9870端口无法访问
  3. python反编译工具uncompyle的安装与用法
  4. Python文件操作中进行字符串替换(保存到新文件/当前文件)
  5. Python实现im2col和col2im函数
  6. c语言编一个开关量上升沿的程序,电工学(1)习题解答
  7. mysql表jiayi_MySQL Memory存储引擎:优势及性能测试
  8. 如何将yolo的标注(annotations).txt 坐标转换成tensorflow-yolov3(YunYang1994)的.txt 标注坐标?
  9. Intel Realsense D435 python 实战(一)
  10. html常用代码大全文库,html特效代码大全