Make the following preparations before installation: 1) read the online documentation carefully to ensure that the current installation environment meets the installation requirements. 2) check whether the server or client is installed. The installation content is different. 3) log on to the computer where the Oracle database is to be installed as an administrator. If you want to install the software on the master Domain Controller (PDC) or backup Domain Controller (BDC), you must log on as a member of the domain administrator. 4) if the system has installed Oracle, uninstall the ORACLE_HOME environment variable. For more information about how to uninstall Oracle, see "Uninstall oracle" in this Chapter ". 5) If you have installed an Oracle database and want to reinstall it, stop all Oracle services. The procedure is to open "Control Panel"> "Administrative Tools"> "services" in windows and stop all services starting with "oracle. Otherwise, an error occurs during Oracle installation. 6) to ensure the smooth installation of the system, we recommend that you copy all the 10 Gb installation discs of Oracle Database to a directory on the hard disk. For example, D:/source_code/10201_database_win32/database. Click F:/source_code/10201_database_win32/database/setup.exe to start installation.
Note:Oracle Database 10 Gb automatically checks whether the system environment meets the installation requirements when it is started. If the system environment does not meet the requirements, the installation is denied. If the conditions are met, the installation file is created and the installation continues. The installation procedure is as follows: 1) After setup.exe starts the installer, the system defaults to "Basic installation" and determines whether to create a startup database, as shown in Figure 1-1. Figure 1-1 Oracle 10g Installation File Location
Note:In the "Oracle main directory location" column, the default location is D:/Oracle/product/10.2.0/db_1. Generally, do not modify it at will. This is usually because a name corresponds to a main directory ORACLE_HOME, the name is the Oracle-OraDb10g_home1 that appears in the menu group after the installation is complete; if the path changes, the corresponding name will also change; and vice versa. After you click "Next", the home directory name and the corresponding home directory ORACLE_HOME (D:/Oracle/product/10.2.0/db_1) are automatically added to the Registry together. The global database is divided into two parts, in the format of database name. domain name. The domain name is the same as the domain name in the network. The same domain can only have unique database names, but different domains can have the same database names. In Figure 1-1, enter "test. World" as the global database name to create the test database in the world domain. In this case, the SID of the Oracle system identifier is automatically set to the same name as the database name. In a standalone environment, you do not need to enter a domain name. If a different domain name is entered, but the database name is the same, the system rejects the establishment of two identical Sid because of a single machine. 2) to selectively install the product content, select the "advanced installation" check box. 3) determine the location of the created database file. Recommended for Oracle: Install database files on a disk drive different from the Oracle Home Directory to facilitate maintenance and management and improve system running performance. 4) when you enter the "specify Database Configuration Options" interface, if you want to change the character set, you can select the "select database character set" option to change.
Note:Pay special attention to the character set selection. You should select a character set suitable for the application environment. In practice, sometimes the character set selected by the Oracle database is inconsistent with the character set of the relevant system, or the character set selected by the front-end application development tool is different from that selected by the back-end Oracle database server, garbled characters may occur during data communication or display. Therefore, we need to pay special attention to the selection of character sets. If the database needs to process multiple languages at the same time, such as Korean, Japanese, German, Chinese, and English, you can select Unicode (al32utf8) as the character set. Note: The Character Set of the Oracle database server is independent from that of the operating system. 5) after the file is copied, the system automatically configures and completes the following three tasks: · Oracle Net configuration ASSISTANT: Completing network configuration. · Oracle Database Configuration ASSISTANT: creates a database. · ISQL * Plus configuration ASSISTANT: complete iSQL * Plus configuration. Unlike Oracle 10g, when oracle9i is installed, after the file is copied, the system automatically configures and completes the following four tasks: · Oracle network configuration assistant completes network configuration. · Oracle9i has a built-in Apache Web server. Therefore, it starts the Oracle HTTP service. After the installation is complete, if you do not need to start the Apache web server, you can stop it by "Oracle HTTP Server"> "Stop HTTP server powered by Apache" in the menu group, in "Control Panel"> "Administrative Tools"> "services", change oracleorahome92httpserver service to "Manual ". · Oracle smart proxy is enabled. · Oracle Database Assistant creates and starts a database. During the creation process, the system requires you to specify a password for the sys and system accounts, as shown in 1-2. In this regard, Oracle 9.2.0.1.0 is different from Oracle 9.1. The latter is similar to Oracle 8i and has a default password (for details about the password, refer to the following section ). In the actual system, the password cannot be set with the same name as the user name; otherwise, the account is easily cracked. Figure 1-2 sys and system accounts/passwords click the "password management" button on the interface to view all accounts, including locked accounts, the account can be locked, unlocked, and the password can be modified. The Installation Process of Oracle Database 10 Gb is basically the same as that of 9i, but the "specify backup and recovery options" interface is added. Automatic Backup can be used or disabled. 1-3. At the end of Oracle Database Installation, 10 Gb displays the interface 1-4, including using http:/dalianok: 1158/EM/console/to start the console and using http:/dalianok: 5562/isqlplus start iSQL * Plus. Note that the port number is different. Figure 1-3 specify backup and recovery options during Oracle 10g installation Fig 1-4 interface at the end of Oracle 10g Installation