第 2 章: 安装 Oracle 软件并构建数据库
本章让您了解如何使用 Oracle Universal Installer (OUI) 安装您的 Oracle 数据库软件并创建数据库。 您将学习如何使用 Database Configuration Assistant (DBCA) 创建附加数据库。
本章讨论了如下内容:
将您的鼠标移动 到该图标上以显示所有的屏幕界面。您还可以将您的鼠标移到每一个图标上,以仅查看与之关联的屏幕界面。
返回主题列表
您能够使用 Oracle Universal Installer (OUI) 安装您的 Oracle 软件。 OUI 是一个 GUI 工具,可以使您查看安装在您的机器上的 Oracle 软件,安装新的 Oracle 软件,并删除您不再需要使用的 Oracle 软件。
按照以下步骤安装 Oracle 软件并创建数据库:
1. | 作为管理组小组登录到您的计算机上,此小组有权限安装 Oracle 软件并创建和运行数据库。 |
2. | 将提供给您的数据库 CD 插入光驱。 Autorun 窗口将自动显示。 选择 Install/Deinstall Products。 注意: 如果您从 Oracle 的站点下载软件,请遵循网站上发布的如下指示。 |
3. | Oracle Universal Installer Welcome 窗口出现。 选择 Next 开始安装您的软件
|
4. | 在 UNIX 和 Linux 安装时,Specify Inventory directory and credentials 窗口出现。 输入安装 Oracle 软件的完整目录或接受缺省值。 输入操作系统组名称,此组具有目录写权限。单击 Next。单击 OK。
|
5. | 出现对话框。 打开一个新的终端窗口,以 root登录,按照对话框的指示运行 orainstRoot.sh 脚本。 当脚本完成后,返回到 Oracle Universal Installer 页面并单击 Continue。
|
6. | Specify File Locations 窗口出现。 输入安装 Oracle 软件的完整目录或接受缺省值。单击 Next。
|
7. | Select Installation Type 页面出现。 也选择适合您的环境的企业版或标准版。单击 Next。
|
8. | Installer 将确认您的系统符合安装和配置所选产品的最低需求。 在继续前纠正并报告问题。单击 Next。
|
9. | Select Database Configuration 页面出现。 选择开始数据库的类型为 General Purpose、 Transaction Processing 或 Data Warehouse。单击 Next。
|
10. | Specify Database Configuration Options 页面出现。 在 Database Naming 部分输入 Global Database Name 和 SID。 在 Database Character Set 部分选择字符集。 选择 Create database with Sample Schemas 安装示例模式。单击 Next。
|
11. | Select Database Management Option 页面出现。 选择 Use Database Control for Database Management。单击 Next。
|
12. | Specify Database File Storage Option 页面出现。 选择适合您的环境的 File System、Automatic Storage Management 或Raw Devices 。单击 Next。
|
13. | Specify Backup and Recovery Options 页面出现。 选择 Do not enable Automated backups 配置您自己的备份计划。单击 Next。
|
14. | Specify Database Schema Passwords 页面出现。 选择 Use different passwords for these accounts 并输入管理员密码或选择 Use the same password for all the accounts 并输入密码。单击 Next。
|
15. | Summary 页面出现,包含将安装的产品列表。 单击 Install 开始安装。
|
16. | 您将看到进度窗口。
|
17. | 出现 Configuration Assistants 页面出现。 允许 Configuration Assistants 执行。 他们配置您的网络、启动域数据库连接的 Oracle Net Services listener 进程,创建数据库并配置管理工具。
|
18. | 出现显示数据库创建进度条的页面。
|
19. | 当数据库创建完成后,出现包含您的数据库信息的页面。 查看此列表。 如果您想解除或更改数据库帐户的密码,您可以单击页面顶部的 Password Management 。 然后单击 OK。
|
20. | 出现对话框。 打开新的终端窗口,以 root登录并运行 root.sh 脚本。 当脚本完成后,返回到 Oracle Universal Installer 页面并单击 OK。
|
21. | End of Installation 页面出现,此页面包含关于 Web 应用程序端口号码的重要信息。
|
22. | 单击 Yes 退出。
|
23. | 您已经完成了 Oracle 软件的安装和数据库的创建。 |
返回主题列表
如果值选择安装软件并且随后创建数据库,或者如果您想刚刚安装的软件创建附加数据库,您
可以使用 Database Configuration Assistant (DBCA)即可完成。
遵循如下步骤创建一个数据库:
1. | 作为管理组小组登录到您的计算机上,此小组有权限安装 Oracle 软件并创建和运行数据库。 |
2. | 如下所示在 Windows 操作系统时启动 DBCA: Start > Programs > Oracle - home_name > Configuration and Migration Tools > Database Configuration Assistant 在提示符处输入如下命令在 UNIX 操作系统启动 DBCA: dbca |
3. | 出现 Welcome 页面。单击 Next。
|
4. | 在 Operations 窗口选择 Create a Database ,开始一个调查,使您可以配置并创建数据库。 单击 Next。
|
5. | 在 Database Templates 页面上,选择创建数据库使用的数据库模板类型。 您可以单击 Show Details 查看每种数据库类型的配置。 选择适合于您的数据库将支持的工作负载的类型的模板。 如果您不确定,选择默认的 General Purpose模板。单击 Next。
|
6. | 在 Database Identification 页面,输入 Global Database Name 和 SID。单击 Next。
|
7. | 出现 Management Options 页面。 为了使用 Enterprise Manager,选择 Configure the Database with Enterprise Manager。 选择 Use Database Control for Database Management 以本地管理您的数据库或选择适合您的配置的 Use Grid Control for Database Management 。单击 Next。
|
8. | 输入惯了用户的密码。单击 Next。
|
9. | 选择适合您的环境的 File System、Automatic Storage Management 或Raw Devices 。单击 Next。
|
10. | 指定创建 datafiles 的位置。 选择其一:Use Database File Locations from Template、Use Common Location for All Database Files或 Use Oracle-Managed Files。单击 Next。
|
11. | 选择 Flash Recovery Area 并指定目录位置和大小。 选择 Enable Archiving 将您的数据库置于 ARCHIVELOG 模式。单击 Next。
|
12. | 单击 Sample Schemas 选项卡。 如果您想在您的数据库中包含示例模式 (EXAMPLE) 表空间,请选择 Sample Schemas 。 单击 Custom Scripts 选项卡。
|
13. | 如果需要,在创建数据库以后,指定一个或多个要运行的 SQL 脚本。 否则,接受缺省的 No scripts to run。单击 Next。
|
14. | 出现 Memory 页面。 选择 Typical 并输入百分比值。 单击 Sizing 选项卡。
|
15. | 出现 Sizing 页面。 指定能够同时连接到数据库的最小的块空间和作多的操作系统用户进程数量。 注意: 如果您使用模板,您不能指定块的大小。 单击 Character Set 选项卡。
|
16. | 出现 Character Set 页面。 选择您的数据库的字符集。 单击 Connection Mode 选项卡。
|
17. | 出现 Connection Mode 页面。 也选择适合您的环境的专用服务器或共享服务器。单击 Next。
|
18. | 出现 Database Storage 页。 接受配置或者需要时作出更改。单击 Next。
|
19. | 选择 Create Database 创建您的数据库。 您也可以选择 Save as a Database Template 保存您的配置。 单击 Finish。
|
20. | 在 Confirmation 窗口,确认将安装的选项然后单击 OK。
|
21. | 您的数据库就创建了。
|
22. | 数据库创建后,您能够更改或解除您的密码或单击 Exit。
|
将鼠标移到这个图标上,以隐藏所有的屏幕截图
分享到:
相关推荐
Chapter 2: Architecture Chapter 3: Basic Replication Configuration Chapter 4: Tuning Oracle GoldenGate Chapter 5: Monitoring Oracle GoldenGate Chapter 6: Data Verification Chapter 7: Advanced Features...
Chapter 2 - The Oracle Network Architecture Chapter 3 - Attacking the TNS Listener and Dispatchers Chapter 4 - Attacking the Authentication Process Chapter 5 - Oracle and PL/SQL Chapter 6 - ...
Java程序设计:chapter14 JDBC技术和数据库开发应用.ppt
accp6.0--s2---chapter8:创建酒店数据库SQL脚本
chapter8:创建酒店数据库SQL脚本 京华志&精华志出品 分享资源 C# ASP.NET SQL DBA 源码
Chapter 2: Installation and Configuration Chapter 3: Oracle E-Business Suite Upgrades Chapter 4: Oracle E-Business Suite 12.2 File System Chapter 5: Patching Concepts Chapter 6: Working with the ...
Chapter 2: Server-Side Web Scripting 19 Chapter 3: Getting Started with PHP 35 Chapter 4: Adding PHP to HTML 53 Chapter 5: Syntax and Variables 61 Chapter 6: Control and Functions 83 Chapter 7: ...
Part I: Oracle 数据库基础Chapter 1 Oracle 数据库概述 5单元培训目标§1.1 Oracle 产品结构的组成§1.2 Oracle 产品结构的特点§1.3 Oracle 数据库体系结构§1.3.1 数据库§1.3.1.1 表空间§1.3.1.2 文件§1.3.2 ...
Chapter 2: A Model of Distributed Computations
HALCON算子函數Chapter 2:Control
Chapter 2: A Case Study: Designing an App Chapter 3: Prototype Chapter 4: Factory Method Chapter 5: Abstract Factory Chapter 6: Builder Chapter 7: Singleton Chapter 8: Adapter Chapter 9: Bridge ...
Chapter 2: Applications and Pages Chapter 3: Regions Chapter 4: Navigation Chapter 5: Items and Buttons Chapter 6: Session State Chapter 7: Processes Chapter 8: Data Validation Chapter 9: Branches ...
Chapter 2: Variables and Data Types Chapter 3: Language Statements Chapter 4: Procedures and Functions Chapter 5: Arrays and Records Chapter 6: All About Strings Part II Chapter 7: Objects Chapter 8:...
Chapter 2: Basic Security Concepts Chapter 3: Quick Tutorial on TPM 2.0 Chapter 4: Existing Applications That Use TPMs Chapter 5: Navigating the Specification Chapter 6: Execution Environment Chapter ...
Chapter 2: Customer Relationship Management Chapter 3: Opportunities and Quotes Chapter 4: Demand Management Chapter 5: Configurator Chapter 6: Sales Order Processing Chapter 7: Time Management ...
Chapter 2: From Data to Insights Chapter 3: Luis Madureira Part II: Defining Analytics in Social Media and Types of Analytics Tools Chapter 4: Analytics in Social Media Chapter 5: Dedicated vs. ...
Chapter 2: UNIX Commands Chapter 3: The UNIX Shell: An Overview Chapter 4: The Bourne Shell and Korn Shell Chapter 5: The C Shell Chapter 6: Pattern Matching Chapter 7: The Emacs Editor Chapter 8: The...
Chapter 2: Programming in the VBE 63 Chapter 3: The Application Object 75 Chapter 4: Object-Oriented Theory and VBA 89 Chapter 5: Event Procedures 103 Chapter 6: Class Modules 113 Chapter 7: Writing ...
CHAPTER 2: EPPC Programming CHAPTER 3: Accessing Operands in Memory CHAPTER 4: Using the Caches CHAPTER 5: Memory Management Unit CHAPTER 6: EPPC Exception Processing CHAPTER 7: MPC860 Architecture, ...
Chapter 2: Installing Linux Chapter 3: Using Oracle Database Chapter 4: Using MySQL Database Chapter 5: Using MongoDB Chapter 6: Using Apache Cassandra Chapter 7: Using Couchbase Server Chapter 8: ...