Oracle Database 快速安装向导
11g Release 2 (11.2) for Microsoft Windows (32-Bit)
一:本快速安装向导介绍
1. 本向导将会完成什么
A:配置您的操作系统以便支持Oracle数据库
B:在典型安装模式下在本地文件系统下安装Oracle数据库软件
C:配置一个一般目的的Oracle数据库,这个数据库将会使用本地文件系统来存储数据库文件
2. 成功完成安装后将达到下面两个目标
A:在您的系统上成功运行Oracle数据库和Oracle Net Listener进程
B:可以使用一个web浏览器来访问Oracle Enterprise Manager Database Control
3. 本向导不会完成什么
A:不会介绍如何使用高级安装选项来安装数据库
B:不会介绍如何在一个已经存在Oracle软件的操作系统上安装Oracle数据库
C:不会介绍如何安装Oracle Clusterware 和 Oracle Real Application Clusters
D:不会介绍如何克隆Oracle Home
E:不会开启Enterprise Manager e-mail notifications 或者 automated backups.
F:不会如何安装和配置Oracle grid infrastructure
二:以具有administrator权限的用户登录到系统
三:检查硬件需求
表1 硬件需求
需求 |
最小值 |
Physical memory (RAM) |
1 GB minimum |
Virtual memory |
Double the amount of RAM |
Disk space |
Total: 5.15 GB |
Processor Type |
Intel-compatible processor |
Video adapter |
256 colors |
表2 Disk 磁盘空间需求(on NTFS)
Installation Type |
TEMP Space |
C:\Program Files\Oracle |
Oracle Home |
Datafiles * |
Total |
Typical Installation |
500 MB |
3.1 MB |
2.8 GB |
1.86 GB |
5.15 GB |
为了确保您的系统满足以上这些硬件需求,请做以下这些检查:
1. 检查物理RAM的大小(检查方法略)
2. 检查虚拟内存的大小(检查方法略)
3. 检查系统可用的磁盘空间(检查方法略)
4. 检测temp目录中的可用磁盘空间(检查方法略)
四:检测软件需求
表 3 软件需求
需求 |
值 |
System Architecture |
Processor: Intel (x86), AMD64, and Intel EM64T
Note: Oracle provides 32-bit (Windows x86) and 64-bit (Windows x64) versions of Oracle Database for Microsoft Windows.
|
Operating System |
Oracle Database for 32-bit Windows is supported on the following operating systems:
· Windows Server 2003 - all editions
· Windows Server 2003 R2 - all editions
· Windows XP Professional
· Windows Vista - Business, Enterprise, and Ultimate editions
· Windows Server 2008 - Standard, Enterprise, Datacenter, Web, and Foundation editions. The Server Core option is not supported.
Note: Check My Oracle Support (formerly OracleMetaLink) for more information about Hyper-V support.
· Windows 7 - Professional, Enterprise, and Ultimate editions
Windows Multilingual User Interface Pack is supported.
|
Compiler |
Pro*Cobol has been tested and certified with Net Express 5.0.
Object Oriented COBOL (OOCOBOL) specifications are not supported.
The following components are supported with the Microsoft Visual C .NET 2005 8.0, Microsoft Visual C .NET 2008 9.0, and Intel 10.1 C compilers:
· Oracle Call Interface
· External callouts
· Pro*C/C
· XDK
Oracle C Call Interface is supported with
· Microsoft Visual C .NET 2005 8.0
· Microsoft Visual C .NET 2008 9.0 - OCCI libraries are installed under ORACLE_HOME\oci\lib\msvc\vc9. When developing OCCI applications with MSVC 9.0, ensure that the OCCI libraries are correctly selected from this directory for linking and executing.
· Intel 10.1 C compiler with the relevant Microsoft Visual C .NET STLs.
|
Network Protocol |
The Oracle Net foundation layer uses Oracle protocol support to communicate with the following industry-standard network protocols:
· TCP/IP
· TCP/IP with SSL
· Named Pipes
|
Oracle Database Client |
If you plan to connect to Oracle Database 11g Release 2 (11.2) from a release of Oracle Database Client that is earlier than 11g Release 2 (11.2), the following conditions apply:
· Oracle Database Client is version 9.2.0.4 or higher. See Note 207303.1 on My Oracle Support (formerly OracleMetaLink) for more details and up to date information.
· If the earlier Oracle Database Client is running on the same computer as Oracle Database 11g Release 2 (11.2), a bequeath connection cannot be used.
Oracle recommends upgrading Oracle Database Client to the latest patchset (9.2.0.8, 10.2.0.4, or later). You can download the patchset from the Patches and Updates section of My Oracle Support (formerly OracleMetaLink) at
https://support.oracle.com
|
五:支持的web浏览器
Oracle Enterprise Manager Database Control将支持以下web浏览器:
· Microsoft Internet Explorer 6.0 SP2
· Microsoft Internet Explorer 7.0
· Microsoft Internet Exlorer 7.0 SP1
· Microsoft Internet Explorer 8.0
· Netscape 8.1
· Netscape 9.0
· Firefox 2.0
· Firefox 3.0.7
· Safari 3.0.4
· Safari 3.1
· Safari 3.2
六:安装Oracle数据库软件
注意:如果Oracle Universal Installer和Windows Scheduler jobs同时运行,将可能产生未知错误。
1. If you are installing Oracle Database on a multihomed computer or a computer that uses multiple aliases, use the System in the Control Panel to create the ORACLE_HOSTNAME system environment variable. Set this variable to point to the host name of the computer on which you are installing Oracle Database.
2. Insert Oracle Database installation media and navigate to the database\Disk1 directory. Alternatively, navigate to the directory where you downloaded or copied the installation files.
Use the same installation media to install Oracle Database on all supported Windows platforms.
3. 双击setup.exe,启动Oracle Universal Installer.
4. 安装数据库时注意以下几点:
A:不要在已经存在Oracle Home的计算机上安装Oracle数据库软件
B:在Oracle Universal Installer的每个界面上,如果想要获取更多信息,可以点击Help
C:当提示输入密码时,要遵循以下原则:
(1)密码不能超过30个字符
(2)密码不能包含以下非法字符:
! @ % ^ & * ( ) = \ | ` ~ [ { ] } ; : ' " , < > ?
(3)密码不能和用户名称相同
(4)不能指定空密码
(5)SYSTEM账户的密码不能是manager. (case-insensitive)
(6)SYS账户的密码不能是change_on_install. (case-insensitive)
(7)SYSMAN 账户的密码不能是 sysman. (case-insensitive)
(8)DBSNMP账户的密码不能是dbsnmp. (case-insensitive)
(9)如果对于所有的账户你想使用同一个密码,那么不能是change_on_install, manager, sysman, or dbsnmp. (case-insensitive)
D:Do not modify the Java Runtime Environment (JRE) except by using a patch provided by Oracle Support Services. Oracle Universal Installer automatically installs the Oracle-supplied version of the JRE. This version is required to run Oracle Universal Installer and several Oracle assistants.
E:If you encounter errors while installing or linking the software, see Appendix F in Oracle Database Installation Guide for Microsoft Windows for information about troubleshooting.
F:If you chose an installation type that runs Database Configuration Assistant and Oracle Net Configuration Assistant in interactive mode, you must provide detailed information about configuring your database and network.
If you need assistance when using the Database Configuration Assistant or Oracle Net Configuration Assistant in interactive mode, click Help on any screen.
5. When the configuration tools finish, click Exit, then click Yes to exit from Oracle Universal Installer.
6. When Oracle Enterprise Manager Database Control opens in a Web browser, enter the user name and password you created during the installation.
You can log in as SYS, SYSTEM, or SYSMAN. If you log in as SYS, then you must connect AS SYSDBA. Enter the password you specified for the account during installation.
7. Optionally, delete the OraInstalldate_time directory to remove the temporary files that were created during the installation process. The OraInstalldate_time directory holds about 45 MB of files. This directory is created in the location set by the TEMP environment variable setting.
Restarting your computer also removes the OraInstalldate_time directory
下为Oracle Universal Installer安装数据库时的每个界面
Screen |
Recommended Action |
Configure Security Updates |
Enter your e-mail address, preferably your My Oracle Support (formerly OracleMetaLink) e-mail address or user name in the Email field.
You can select the I wish to receive security updates via My Oracle Support check box to receive security updates.
Enter your My Oracle Support (formerly OracleMetaLink) password in the My Oracle Support Password field.
Click Next.
|
Select Installation Option |
Select Create and Configure a Database from the following list of available options, then click Next:
· Create and Configure a Database: This option creates a new database along with sample schemas.
· Install Database Software only: This option installs only the database binaries. To configure database, you must run Oracle Database Configuration Assistant after the software installation.
· Upgrade an existing database: This option installs the software binaries in a new Oracle home. At the end of the installation, you can upgrade the existing database.
|
System Class |
Select Server Class from the following options to install the database, and click Next.
· Desktop Class: Choose this option if you are installing on a laptop or desktop class system.
· Server Class: Choose this option if you are installing on a server class system, such as what you would use when deploying Oracle in a production data center.
|
Grid Installation Options |
Select Single instance database installation for the type of database installation you want to perform, and click Next.
· Single instance database installation: This option installs the database and the listener.
· Real Application Clusters database installation: This option installs Oracle Real Application Clusters and the listener.
|
Select Install Type |
Select Typical Installation as the installation type from the following options, and then click Next:
· Typical Installation: This installation method is selected by default. It lets you quickly install Oracle Database using minimal input.
· Advanced Installation: This installation method enables to perform more complex installations.
|
Typical Install Configuration |
Enter the following information according to your requirements:
Oracle base: The Oracle base path appears by default. You can change the path based on your requirement.
Software location: In the Software Location section, accept the default values or enter the Oracle home name and directory path in which you want to install Oracle components. The directory path should not contain spaces.
Storage Type: Select File System, or Automatic Storage Management as the database storage option.
Database file location: If you select File System as your storage type, then click Browse and specify a database file location.
ASMSNMP Password: If you select Automatic Storage Management as your Storage Type, then specify the password for the ASMSNMP user.
Database Edition: Select the database edition to install.
Global database name: Specify the Global Database Name using the following syntax:
database_name.domain
For example, sales.us.example.com
Administrative password: Enter the password for the privileged database account.
Confirm Password: Reenter, and confirm the password for the privileged database account.
Click Next to continue.
|
Perform Prerequisite Checks |
Verify that all the prerequisite checks succeed, and then click Next.
Oracle Universal Installer checks the system to verify that it is configured correctly to run Oracle software. If you have completed all the preinstallation steps in this guide, all the checks should pass.
If a check fails, then review the cause of the failure listed for that check on the screen. If possible, rectify the problem and rerun the check. Alternatively, if you are satisfied that your system meets the requirements, then you can select the check box for the failed check to manually verify the requirement.
|
Summary |
Review the information displayed on this screen, and then click Finish.
Note: Starting with Oracle Database 11g Release 2 (11.2), you can save all the installation steps into a response file by clicking Save Response File. Later, this file can be used for a silent installation.
|
Install product |
This screen displays the progress of a database installation. It also shows the status information while the product is being installed. Click Next.
This screen then displays the status information for the configuration assistants that configure the software and create a database. When the message is displayed after Database Configuration Assistant process, click OK to continue.
|
Finish |
This screen is shown automatically when all the configuration tools are successful.
Click Close.
|
七:Installing Oracle Database Examples
If you plan to use the following products or features, then download and install the products from the Oracle Database Examples media:
· Oracle JDBC Development Drivers
· Oracle Database Examples
· Oracle Context Companion
· Various Oracle product demonstrations
For information about installing software and various Oracle product demonstrations from the Oracle Database Examples media, see Oracle Database Examples Installation Guide.
八:What to Do Next?
To become familiar with this release of Oracle Database, Oracle suggests that you complete the following tasks:
· Log in to Oracle Enterprise Manager Database Control using a Web browser.
Oracle Enterprise Manager Database Control is a Web-based application that you can use to manage a single Oracle database. The default URL for Database Control is:
http://host.domain:port/em/
Log in with the user name SYSMAN. Use the password that you specified for this user during the Oracle Database installation.
· See Chapter 5 of Oracle Database Installation Guide for Microsoft Windows for information about required and optional postinstallation tasks, depending on the components to use.
· Review Chapter 6 of Oracle Database Installation Guide for Microsoft Windows for information about how to get started using Oracle Database.
· Read Oracle Database 2 Day DBA guide, to learn more about using Oracle Enterprise Manager Database Control to administer a database.
This guide, designed for new Oracle DBAs, describes how to use Oracle Enterprise Manager Database Control to manage all aspects of an Oracle database installation. It also provides information about how to enable e-mail notifications and automated backups, which you might not have configured during the installation.