windows install oracle11g

Install oracle11g on windows

 

1. Download the version of Oracle  11g R2 for Windows

Download address: https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

It includes two compressed packages: win64_11gR2_database_1of2.zip, win64_11gR2_database_2of2.zip

2. Unzip the two compressed packages to the same directory, namely "database", and then click the "setup.exe" file in the unzipped directory:

\

3. In the "Configure Security Updates" window that appears, uncheck "I want to receive security updates through My Oracle Support" and click "Next":

\

The following interface appears, click "Yes"

\

4. In the "Installation Options" window, select "Create and configure a database " and click "Next":

\

5. In the " System Class" window, select "Desktop Class" and click "Next":

\

6. In the "Typical Installation" window, select the base directory of Oracle, select "Enterprise Edition" and "Default" and enter the unified password: Oracle11g, click "Next":

\

7. In the Prerequisites Check window, click Next:

\

8. In the "Summary" window, click "Finish" to complete the installation:

\

9. The installation process that appears is as follows:

\

\

After the database is created, the following "Database Configuration Assistant" interface will appear:

\

Select "Password Management" to view and modify the following users:

(1) Ordinary user: SCOTT (password: tiger)

(2) Ordinary administrator: SYSTEM (password: manager)

(3) Super administrator: SYS (password: change_on_install)

After the modification is complete, click OK.

10. In the "Finish" window, click "Close".

The contents of the installation complete interface:

Enterprise Manager Database Control URL - (orcl) :

https://localhost:1158/em

The database configuration file has been installed to C:\app\Administrator, and other selected installation components have also been installed to C:\app\Administrator\product\11.2.0\dbhome_1.

After Oracle completes the installation, services will be registered in the system. Among the registered services, the following two services must be started, otherwise Oracle will not be able to use normally:

\

(1) OracleOraDb11g_home1TNSListener: Indicates the listening service. If the client wants to connect to the database, this service must be turned on. This service also works during program development .

(2) OracleServiceORCL: Indicates the main service of the database, naming rules: OracleService database name. This service must be turned on, otherwise Oracle cannot be used at all.

Attached:

A. Installation notes for 32-bit Oracle 11g Client (win32_11gR2_client.zip) (client installation):

When selecting the installation type, select "Administrator", as shown below:

\

The other steps are similar to installing the server side.

B. Notes on PL/SQL Developer installation:

Configure oracle's environment variables:

TNS_ADMIN -- F:\app\kevin\product\11.2.0\dbhome_1\NETWORK\ADMIN

As shown below: (If this environment variable is not matched, the plsql tool cannot connect to the database instance)

\

Before installing PL/SQL, you need to install the Oracle client first.

My system environment:

1. 64-bit Windows 7 Ultimate

2、64位Oracle 11g R2 DB

3. 32-bit Oracle 11g Client (64-bit Oracle 11g Client will make an error)

4、PL/SQL Development 8.0.4

Notice:

(1) PL/SQL Development should not be installed in the default C:\Program Files (x86) directory, otherwise an error will be reported because the path with () cannot be parsed.

(2) When the 64-bit Oracle 11g Client is installed on the Oracle client, an error will be prompted when PL/SQL Developer is started.

Reason: oci.dll is 64-bit, the 32-bit application PL/SQL Developer cannot be loaded, you can install a 32-bit Oracle Client to solve it.

=================================================

1. Install 64-bit oracle11g

Second, install the 32-bit oracle11g client

Third, install pl/sql developer. Set oracle home and oci library in tools->perference->connection.

如:oracle home : C:\app\Administrator\product\11.2.0

oci library : C:\app\Administrator\product\11.2.0\client_1\bin\oci.dll

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325963942&siteId=291194637