Beruflich Dokumente
Kultur Dokumente
Welcome to Oracle Database Express Edition Installation Guide for Microsoft Windows (32-Bit). This guide covers the following topics:
Introduction Requirements Licensing Restrictions Installing Oracle Database XE Starting Oracle Database XE Deinstalling Oracle Database XE Importing and Exporting Data between 10.2 XE and 11.2 XE Reporting Security Vulnerabilities Oracle Database XE Character and Language Configurations Globalization Support: Configuring Locale and Character Sets with the NLS_ LANG Parameter Documentation Accessibility
Note:
The most up-to-date version of this installation guide is available from the Oracle Database Express Edition (Oracle Database XE) download page on Oracle Technology Network: http://www.oracle.com/pls/xe112/homepage
1 Introduction
Oracle Database XE is easy to install. The Oracle Database XE provides an Oracle database and tools for managing the database. Oracle Database XE supports the following development environments:
Oracle SQL Developer: Oracle SQL Developer is a graphical version of SQL*Plus that gives database developers a convenient way to perform basic tasks. You can connect to any target Oracle Database XE schema using standard Oracle database authentication. Once connected, you can perform operations on objects in the database. Download and install Oracle SQL Developer from: http://www.oracle.com/technetwork/developer-tools/sql-dev eloper/overview/index.html
1 Beta Draft
Oracle Application Express: Oracle Database XE includes Oracle Application Express (Oracle APEX), a rapid web application development tool for the Oracle database. Oracle APEX is enabled by default in Oracle Database XE. Java: Java is an open-source programing language that is designed for use in the distributed environment of the Internet. You can use Oracle JDeveloper, which is a free integrated Java development environment with support for the full development life cycle. Download and install Oracle JDeveloper from: http://www.oracle.com/technetwork/developer-tools/jdev/ov erview/index.html
.NET and Visual Studio: Visual Studio is an integrated development environment by Microsoft for building .NET applications. .NET is a software framework for Microsoft Windows operating systems. Download and install Oracle Data Access Components (ODAC) for Windows from: http://www.oracle.com/technetwork/topics/dotnet/downloads /index.html
PHP PHP is an open-source server-side embedded scripting language that is designed for Web development and can be embedded in HTML. You can use either of the following PHP products:
Zend Core for Oracle: Download and install from: http://www.oracle.com/technology/tech/php/zendcore/ind ex.html
For more information on Oracle Database XE, visit the following Web sites:
2 Requirements
This section covers the following topics:
Software Requirements Permission Requirement for Installing Oracle Database XE Windows Security Recommendations
2 Beta Draft
System Requirements Windows XP Service Pack 2 and Windows Server 2003 Service Pack 1 Firewalls Oracle Database Extensions for .NET Requirements Oracle Developer Tools for Visual Studio
Microsoft Windows XP Microsoft Windows 2003 Microsoft Windows 2003 R2 Microsoft Windows 2008 Microsoft Windows 7
Network protocol
1.5 gigabytes minimum 256 megabytes minimum, 512 megabytes recommended MSI version 2.0 or later You can download MSI from Microsoft at: http://msdn.microsoft.com/
2.1.2 Windows XP Service Pack 2 and Windows Server 2003 Service Pack 1 Firewalls
If you plan to install Oracle Database XE onto a computer running Windows XP Service Pack 2 or Windows Server 2003 Service Pack 1 and then connect to it from another computer, check that the firewall has not been configured to block communication from the following incoming ports. These ports are the default ports that Oracle Database XE users.
1521: Oracle Database Listener 2030: Oracle Services for Microsoft Transaction Server 8080: Oracle HTTP Transaction Server
3 Beta Draft
On the computer where you plan to install Oracle Database XE, install .NET Framework 2.0, 3.0, 3.5, or 4. Be sure to install .NET Framework 2.0 or higher before you install Oracle Database XE.
Note:
On the computer where you plan to develop .NET stored procedures, you need the following software: Oracle Database XE Visual Studio 2005, Visual Studio 2008, or Visual Studio 2010, which includes .NET Framework 2.0 or higher Install Visual Studio 2005 or higher onto the computer before you install Oracle Developer Tools for Visual Studio. Oracle Developer Tools for Visual Studio
Note:
These requirements are for design-time development and deployment. They are not required for run-time. For run-time, you only need to have .NET Framework 2.0 or higher installed on the database server. Visual Studio 2005 or higher is not necessary for run-time.
See Also:
http://www.oracle.com/technetwork/topics/dotnet/inde x-085095.html for more information on Oracle Database Extensions for .NET, including download and installation instructions
These requirements are for design-time development and deployment. They are not required for run-time. For run-time, you only need to have .NET Framework 2.0 or higher installed on the database server. Visual Studio 2005 or higher is not necessary for run-time.
See Also:
http://www.oracle.com/technetwork/developer-tools/vi sual-studio/overview/index-097110.html for more information on Oracle Developer Tools for Visual Studio.
4 Beta Draft
Disable Simple File Sharing on Windows XP Install on Windows File Systems that Support Access Controls
To enable the firewall (or check that the firewall is enabled) on Microsoft Windows XP, see Microsoft Knowledge Base article number 283673, "How to turn on or turn off the firewall in Windows XP." Note that enabling the firewall prevents all remote connections to your system by default. If you want to open specific ports, see Microsoft Knowledge Base article number 875357, "Troubleshooting Windows Firewall settings in Windows XP Service Pack 2" or article number 308127, "How to manually open ports in Internet Connection Firewall in Windows XP" for earlier Windows XP releases.
5 Beta Draft
3 Licensing Restrictions
This section covers the following topics:
Oracle Database XE CPU Limitations Oracle Database XE Installation and Execution Restrictions Oracle Database XE User Data Limitations Oracle Database XE RAM Limitation HTTPS Support
6 Beta Draft
To use more than 1 gigabyte of RAM, upgrade to Oracle Database 11g Standard Edition, Oracle Database 11g Standard Edition One, or Oracle Database 11g Enterprise Edition.
Performing a Graphical User Interface Installation of the Server Performing a Silent Installation Enabling the Control Panel Services for .NET Stored Procedures and Oracle Services for Microsoft Transaction Server Making Oracle Database XE Available to Remote Clients
Log on to Windows with Administrative privileges. You must be part of the Administrators group on Windows to install Oracle Database XE. If you are logged in as a domain user, ensure that you are connected to the network.
2. 3.
If the ORACLE_HOME environment variable has been set, then use System in the Control Panel to delete it. Go to the following Web site: http://www.oracle.com/technology/products/database/xe
4. 5.
Click Free Download and follow the instructions to select and download the Microsoft Windows version of Oracle Database XE. After downloading the Oracle Database XE installation executable, setup.exe, double-click it. "Oracle Database XE Character and Language Configurations" on page 15 describes these character sets in detail.
7 Beta Draft
6.
In the Oracle Database 11g Express Edition - Install Wizard welcome window, click Next.
7.
In the License Agreement window, select I accept and then click Next.
8.
In the Choose Destination Location window, either accept the default or click Browse to select a different installation directory. (Do not select a directory that has spaces in its name.) Then click Next.
8 Beta Draft
9.
If you are prompted for a port number, then specify one. The following port numbers are the default values:
1521: Oracle database listener 2030: Oracle Services for Microsoft Transaction Server 8080: HTTP port for the Oracle Database XE graphical user interface
If these port numbers are not currently used, then the installation uses them automatically without prompting you. If they are in use, then you will be prompted to enter an available port number.
10. In the Specify Database Passwords window, enter and confirm the password
to use for the SYS and SYSTEM database accounts. Then click Next.
Note:
The password for the INTERNAL and ADMIN APEX user accounts will be the same as the SYS and SYSTEM administrative user accounts.
9 Beta Draft
11. In the Summary window, review the installation settings, and if you are
satisfied, click Install. Otherwise, click Back and modify the settings as necessary.
Note:
Logs for the server component installation are in the OracleDatabaseXEServerInstall.log file, located in the system root directory, which is typically c:\WINDOWS. You can find the database creation logs in the install_ directory\app\oracle\product\11.2.0\server\config\lo g directory. (install_directory is typically c:\oraclexe.)
Log on to Windows with Administrative privileges. You must be part of the Administrators group on Windows to install Oracle Database XE. If you are logged in as a domain user, ensure that you are connected to the network.
2.
3.
Click Free Download and follow the instructions to select and download setup.exe, the Microsoft Windows version of Oracle Database XE.
10 Beta Draft
Under Silent Install Response File Templates, select the OracleXE response files that you want to use. These files allow you to perform silent installations, repairs (upgrades), and deinstallations.
4.
szDir: A valid path TNSPort: A valid listener numeric port value, so that you can connect to the Oracle Database XE database MTSPort: A valid available port number HTTPPort: A valid listener numeric port value, so that you can connect to Oracle Database XE SYSPassword: A password value for the SYS and SYSTEM administrative user accounts
5. 6.
If the ORACLE_HOME environment variable has been set, then use System in the Control Panel to delete it. Run the installation executable with the appropriate response file. For example, if you downloaded the setup.exe executable and its response files to a directory called xe_temp, you would enter the following command:
c:\xe_temp> setup.exe /s /f1"c:\xe_temp\response\OracleXE-Install.iss" /f2"c:\xe_temp\setup.log"
If you wanted to repair the Oracle Database XE installation, you would enter the following command:
c:\xe_temp> setup.exe /s /f1"c:\xe_temp\response\OracleXE-repair.iss" /f2"c:\xe_temp\setup.log"
The setup.log file indicates the success of the installation. A result code of 0 means the installation succeeded. Logs for the server component installation are in the \OracleDatabaseXEServerInstall.log file, located in the system root directory, which is typically c:\WINDOWS. You can find the database creation logs in the install_ directory\app\oracle\product\11.2.0\server\config\lo g directory. (install_directory is typically c:\oraclexe.)
4.3 Enabling the Control Panel Services for .NET Stored Procedures and Oracle Services for Microsoft Transaction Server
If you plan to use .NET stored procedures or Oracle Services for Microsoft Transaction Server (OraMTS), you need to enable their services on the computer where you installed Oracle Database XE, if you want them to start automatically. .NET stored procedures are installed on Oracle Database XE Server. Immediately after you install Oracle Database XE, their services are set to Manual. To enable the .NET stored procedures and MTS services:
1.
11 Beta Draft
2. 3.
In the Control Panel, double-click Administrative Tools, and then Services. Right-click each of the following services, and then select Properties from the menu. Then set the start-up type of the service to Automatic.
OracleXEClrAgnt (for .NET stored procedures) OracleMTSRecoveryService (Oracle Services for Microsoft Transaction Server)
4. 5.
Click OK. Start each service by right-clicking its name and selecting Start from the menu.
See Also:
Oracle Database Express Edition 2 Day Plus .NET Developer Guide for more information on .NET stored procedures Oracle Services for Microsoft Transaction Server Developer's Guide Oracle Database Extensions for .NET Developer's Guide for Microsoft Windows
12 Beta Draft
1.
To start the database, from the Start menu, select Programs (or All Programs), then Oracle Database 11g Express Edition, and then click Start Database. Log in to the database using the user name SYSTEM, and supply the password that you created during installation. To begin learning about Oracle Database XE, use the following document:
2. 3.
Oracle Database Express Edition 2 Day + .NET Developer's Guide for Microsoft Windows serves as a quick start guide, which describes Oracle technologies for the Microsoft .NET Framework, including the key features of Oracle Data Provider for .NET and Oracle Developer Tools for Visual Studio.
To access the Oracle Database XE Documentation, from the Start menu, select Programs (or All Programs), then Oracle Database 11g Express Edition, then Get Help, and then click Read Documentation.
In the Windows Control Panel, select Add or Remove Programs. Select Oracle Database 11g Express Edition. Click Change/Remove. In the Oracle Database 11g Express Edition - Install Wizard, select Remove, click Next, and then click Yes in the confirmation window. When the deinstallation completes, click Finish.
Log on to Windows with Windows administrative privileges. Go to the following Web site: http://www.oracle.com/technology/products/database/xe
3.
Click Free Download and follow the instructions to select and download the Microsoft Windows version of Oracle Database XE. The installation executable, OracleXE.exe, comes with a set of response files that you can use to perform silent installations, repairs (upgrades), and deinstallations.
4.
13 Beta Draft
For example, if you downloaded the OracleXE.exe executable and its response files to a directory called xe_temp, you would enter the following command to deinstall Oracle Database XE:
c:\xe_temp> OracleXE.exe /s /f1"c:\xe_temp\response\OracleXE-Remove.iss" /f2"c:\xe_temp\setup.log"
The setup.log file indicates whether the deinstallation was successful. A result code of 0 means the deinstallation succeeded.
Copy the gen_inst.sql file from the upgrade directory of 11.2 XE shiphome to your local directory. Connect to 10.2 XE database as SYS user and run gen_inst.sql. This will generate install.sql, gen_apps.sql and other .sql files. The files will be generated in the folder containing gen_inst.sql. SQL> @gen_inst.sql
3.
To export the data from 10.2 XE database, perform the following steps:
a. b. c.
Connect to 10.2 XE database as SYS user. Create a dump folder dump_folder on the local file system. Create directory object DUMP_DIR with READ and WRITE privilege to SYSTEM user.
SQL> CREATE DIRECTORY DUMP_DIR AS '/<dump_folder>'; SQL>GRANT read, write ON DIRECTORY DUMP_DIR TO system;
d.
4. 5. 6.
Deinstall 10.2 XE if installation of 11.2 XE is planned on the same system. Install 11.2 XE database. For more information see Section 4, "Installing Oracle Database XE". To import data to the 11.2 XE database, perform the following steps:
a. b.
Connect to 11.2 XE database as SYS user. Create directory object DUMP_DIR with READ and WRITE privilege to SYSTEM user.
SQL> CREATE DIRECTORY DUMP_DIR AS '/<dump_folder>'; SQL>GRANT read, write ON DIRECTORY DUMP_DIR TO system;
c.
14 Beta Draft
impdp system/system_password full=Y directory=DUMP_DIR dumpfile=DB10G.dmp logfile=expdpDB10G1.log impdp system/system_password directory=DUMP_DIR TABLE_EXISTS_ACTION=APPEND TABLES=FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$ dumpfile=DB10G2.dmp logfile=expdpDB10G1b.log 7.
Connect to 11.2 XE database as SYS user and run the script install.sql, which was generated in Step 2. This will trigger the execution of ws.sql, gen._apps.sql, and other .sql files.
A complete description of the problem you encountered The version of Oracle Database XE you were using The platform on which you were running Oracle Database XE Any scripts or examples that may be helpful in tracking down the security problem
For more information on how Oracle handles security issues, visit: http://www.oracle.com/technology/deploy/security/index.html
The database is created using Unicode(AL32UTF8) character set, which is suitable for global data in any language. The Oracle Application Express user interface and database error messages are available in Brazilian Portuguese, Chinese (Simplified and Traditional), English, French, German, Italian, Japanese, Korean, and Spanish.
"Globalization Support: Configuring Locale and Character Sets with the NLS_ LANG Parameter" on page 15 provides additional character and language information.
10 Globalization Support: Configuring Locale and Character Sets with the NLS_LANG Parameter
This section explains how to configure globalization settings for Oracle Database XE. It covers the following topics:
About the NLS_LANG Parameter Default Values for NLS_LANG Supported Character Sets
15 Beta Draft
Oracle Database Globalization Support Guide provides information about the NLS_ LANG parameter and Globalization Support initialization parameters.
Operating System Locale NLS_LANG Value Chinese (PRC) Chinese (Taiwan) English (United Kingdom) English (United States) French (Canada) French (France) SIMPLIFIED CHINESE_CHINA.ZHS16GBK TRADITIONAL CHINESE_TAIWAN.ZHT16MSWIN950 ENGLISH_UNITED KINGDOM.WE8MSWIN1252 AMERICAN_AMERICA.WE8MSWIN1252 CANADIAN FRENCH_CANADA.WE8MSWIN1252 FRENCH_FRANCE.WE8MSWIN1252
16 Beta Draft
Table 2 (Cont.) NLS_LANG Parameter Values for Windows Locales Operating System Locale NLS_LANG Value German (Germany) Italian (Italy) Japanese Korean Portuguese (Brazil) Portuguese (Portugal) Spanish (Spain) Spanish (Mexico) GERMAN_GERMANY.WE8MSWIN1252 ITALIAN_ITALY.WE8MSWIN1252 JAPANESE_JAPAN.JA16SJISTILDE KOREAN_KOREA.KO16MSWIN949 BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252 PORTUGUESE_PORTUGAL.WE8MSWIN1252 SPANISH_SPAIN.WE8MSWIN1252 MEXICAN SPANISH_MEXICO.WE8MSWIN1252
JA16SJISTILDE KO16KSC5601 KO16MSWIN949 TH8TISASCII VN8MSWIN1258 ZHS16CGB231280 ZHS16GBK ZHS32GB18030 ZHT16BIG5 ZHT16HKSCS
17 Beta Draft
Table 3 (Cont.) Supported Character Sets Name BLT8CP921 BLT8ISO8859P13 BLT8MSWIN1257 BLT8PC775 CEL8ISO8859P14 CL8ISO8859P5 CL8KOI8R CL8KOI8U CL8MSWIN1251 EE8ISO8859P2 EL8ISO8859P7 ET8MSWIN923 EE8MSWIN1250 EL8MSWIN1253 EL8PC737 EE8PC852 LT8MSWIN921 NE8ISO8859P10 NEE8ISO8859P4 RU8PC866 SE8ISO8859P3 US7ASCII US8PC437 WE8ISO8859P1 WE8ISO8859P15 WE8MSWIN1252 WE8PC850 WE8PC858 Middle Eastern AR8ADOS720 AR8ASMO8X AR8ISO8859P6 AR8MSWIN1256 AZ8ISO8859P9E IW8ISO8859P8 IW8MSWIN1255 Arabic MS-DOS 720 Server 8-bit Latin/Arabic ASMO Extended 708 8-bit Latin/Arabic ISO 8859-6 Latin/Arabic Microsoft Windows Code Page 1256 8-Bit Latin/Arabic ISO 8859-9 Latin Azerbaijani ISO 8859-8 Latin/Hebrew Microsoft Windows Code Page 1255 8-bit Latin/Hebrew Description Latvian Standard LVS8-92(1) Windows/UNIX 8-bit Baltic ISO 8859-13 Baltic Microsoft Windows Code Page 1257 8-bit Baltic IBM-PC Code Page 775 8-bit Baltic ISO 8859-13 Celtic ISO 8859-5 Latin/Cyrillic RELCOM Internet Standard 8-bit Latin/Cyrillic KOI8 Ukrainian Cyrillic Microsoft Windows Code Page 1251 8-bit Latin/Cyrillic ISO 8859-2 East European ISO 8859-7 Latin/Greek Microsoft Windows Code Page 923 8-bit Estonian Microsoft Windows Code Page 1250 8-bit East European Microsoft Windows Code Page 1253 8-bit Latin/Greek IBM-PC Code Page 737 8-bit Greek/Latin IBM-PC Code Page 852 8-bit East European Microsoft Windows Code Page 921 8-bit Lithuanian ISO 8859-10 North European ISO 8859-4 North and North-East European IBM-PC Code Page 866 8-bit Latin/Cyrillic ISO 8859-3 South European ASCII 7-bit American IBM-PC Code Page 437 8-bit American ISO 8859-1 West European ISO 8859-15 West European Microsoft Windows Code Page 1252 8-bit West European IBM-PC Code Page 850 8-bit West European IBM-PC Code Page 858 8-bit West European
18 Beta Draft
Table 3 (Cont.) Supported Character Sets Name TR8MSWIN1254 TR8PC857 WE8ISO8859P9 Universal AL16UTF16 AL32UTF8 UTF8 Unicode 4.0 UTF-16 Universal character set Unicode 4.0 UTF-8 Universal character set Unicode 3.0 UTF-8 Universal character set, CESU-8 compliant Description Microsoft Windows Code Page 1254 8-bit Turkish IBM-PC Code Page 857 8-bit Turkish ISO 8859-9 West European & Turkish
Operating System Locale Chinese (PRC) Chinese (Taiwan) English (United Kingdom) English (United States) French German Italian Japanese Korean Portuguese Spanish
19 Beta Draft
11 Documentation Accessibility
Our goal is to make Oracle products, services, and supporting documentation accessible to all users, including users that are disabled. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/. Accessibility of Code Examples in Documentation Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace. Accessibility of Links to External Web Sites in Documentation This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites. Access to Oracle Support Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/support/contact.html or visit http://www.oracle.com/accessibility/support.html if you are hearing impaired.
Oracle Database Express Edition Installation Guide, 11g Release 2 (11.2) for Microsoft Windows (32-Bit) E18803-01 Copyright 2005, 2011, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. This documentation is in prerelease status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.
20 Beta Draft