设为首页 加入收藏

TOP

ORACLE专题之安装(一)
2015-07-24 10:29:47 来源: 作者: 【 】 浏览:1
Tags:ORACLE 专题 安装

?

枯燥的知识点介绍是漫天飞舞,我们不妨从中筛选出部分细节,带着问题来学习Oracle体系知识,这样也许印象会更深刻吧。接下来的一段日子里,本人为了通过ocp考试,将会通过这种形式,开始oracle体系、备份、调优等一系列的学习梳理与练习,以下即是一个自我的总结,也作为网络上的简单分享。

基础知识,如果也能帮助到初学者,欣慰不已。

【不耻下问】

1、手工建库如何实施?

2、如何图形化安装数据库

思路为:

1、主机名、域名解析及网络配置;

2、安装需要的包;

3、创建用户、组、目录;

4、配置内核参数、修改环境变量;

5、设置shell限制;

6、解压安装包;

7、图形化安装oracle软件、dbca建库、netca配置监听;

8、配置开机启动。

3、什么是OFA?

OFA最优灵活体系结构,是Optimal Flexible Architecture的简称。这是一种oracle的规范,在于提出一种统一的文件及目录的规则。

?

【小试牛刀】

题目来自ocp认证考试大纲:

题库来源:052、053。

106、install

106.

You plan to configure the new Oracle Database 11g installation by performing these tasks:

- Use Automatic Storage Management (ASM) as the storage option.

- Use Oracle Enterprise Manager Database Control to manage the database.

- Provide the same password for SYS, SYSTEM, SYSMAN, and DBSNMP accounts during theinstallation.

- Configure the database to send email notifications.

Some tools available to you for installation are:

1: Oracle Universal Installer (OUI)

2: Database Configuration Assistant (DBCA)

3: Database Upgrade Assistant (DBUA)

4: Oracle Net Configuration Assistant

Which tools would you use for this installation?

A.2

B.3

C.1 and 2

D.3 and 4

E.1, 2, and 4

Answer: E

个人愚见:3项中的,DBUA为升级使用,无关于安装。其它选项,oui为卸载程序,dbca为建库程序,第4项是net manager配置(用netca命令调用)

108、install

108.

You are installing Oracle Database 11g on your server. During the installation Oracle Universal Installer (OUI) prompts you to enter the path of the inventorydirectory and also prompts you to specify an operating system group name. Which statement is true in this case?

A.The ORACLE_BASE parameter is not set.

B.The installation is being performed by the root user.

C.The operating system group that will be specified should have root user as its member.

D.The installation is being performed without the "Create Starter Database" option selected.

E.The operating system group that will be specified must have permission to write to the inventory directory.

Answer: E

个人愚见:安装必须保证inventory归属于oinstall组,oracle用户有权限访问。

109、install

109.

In a new installation of Oracle Database 11g, you perform these activities:

1: Organize software and data on different subdirectories to avoid poor performance.

2: Use consistent naming conventions for database files.

3: Separate administrative information pertaining to the database in different directories.

Which option corresponds to the type of activities you performed?

A.Oracle Managed Files

B.Oracle Grid Architecture

C.Optimal Flexible Architecture

D.Oracle database architecture

E.Automatic Storage Management

Answer: C

个人愚见:OFA最优灵活体系结构,一种安装规则。

110、install

110.

Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressed mode for an installation?

A.Run the root.sh script.

B.Create the oraInst.loc file.

C.Create the tnsnames.ora file.

D.Run the oraintRoot.sh script.

Answer: B

个人愚见:oraInst.loc文件通常位于/etc目录中。在其他Unix系统(如Solaris)中,该文件位于/var/opt/oracle目录中。图形化安装时会自动创建。

?

该文件内容,从网上找了下资料,如下:

该文件含有下列信息:

Oracle清单目录路径;

拥有安装和升级Oracle软件操作权限的OS组的名称。

Oracle清单目录中含有管理Oracle安装和升级的文件。通常,每台主机都有一个Oracle清单目录。该目录结构中含有inventory.xml文件,该文件含有服务器上已安装的各种Oracle版本的记录。

Oracle清单OS组拥有安装和升级Oracle软件的权限。Oracle公司建议将该组命名为oinstall。有时候DBA会将清单组设定为dba组。如果您的环境不需要其他独立的组(如oinstall),那么使用dba组就没有问题。

可以使用实用程序(如vi)创建oraInst.loc文件。

111、install

111.

You are installing Oracle Database 11g on a

首页 上一页 1 2 3 下一页 尾页 1/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle:视图(view) 下一篇Oracle闪回flashback

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·求navicat for mysql (2025-12-26 13:21:33)
·有哪位大哥推荐一下m (2025-12-26 13:21:30)
·MySQL下载与安装教程 (2025-12-26 13:21:26)
·Linux_百度百科 (2025-12-26 12:51:52)
·Shell 流程控制 | 菜 (2025-12-26 12:51:49)