Install oracle10G server, client, PLSQLDeveloper in WIN7 (64-bit)

Source: Internet
Author: User
1. Set the attributes of setup.exe before installing oracle.exe. "√" is applied to compatibility mode and privilege level. Then, exit. Next, go to step 1 of formal installation: Double-click setup.exe in the installation package, and the installation dialog box appears. Select advanced installation, and then click Next. Step 2: select the installation type based on your needs

1. Before installing oracle, set the attributes of setup.exe and "√" for compatibility mode and privilege level to exit. Next, go to step 1 of formal installation: Double-click setup.exe in the installation package, and the installation dialog box appears. Select advanced installation, and then click Next. Step 2: select the installation type based on your needs

I. Installing oracle

Set the property of setup.exe before installing oracle.exe, and set "√" in compatibility mode and privilege level to exit.

Next, go to the official installation page.

Step 1: Double-click setup.exe in the installation package. The installation dialog box is displayed. Select advanced installation, and then click Next.

Step 2: select the installation type based on your needs, and then click Next.

We recommend that you install the Enterprise Edition because it has powerful functions.

Step 3: select the installation path and click Next.

We recommend that you use the default path. If you want to modify the path, try to change the drive letter, that is, do not destroy the structure.

In addition, do not enter spaces in the installation path. Otherwise, some functions may not run after the installation is complete.

Step 4: Check the prerequisites. A warning is displayed here. Any warning must be cleared. Otherwise, the installed software may fail. Oracle must have a fixed IP address for later setting the listener. This is obviously the problem. Skip to Step 5.

Step 5: Add a false Nic,

(1) press CTRL + R (or "start"-> "run" to enter hdwwiz.exe to open the hardware add interface.

(2) Select manually add (option 2 ),

(3) Select "Network Adapter

(4) Select "Microsoft" on the left and "Loopback Adapter" on the right. OK.

(5) Click Finish.

Step 6: Open the network sharing center and select "Change adapter Settings" on the right"

Local Connection 2 is the created false Nic in step 5. Right-click it and choose Properties to configure an IP address for the newly added fake nic "Microsoft Loopback Adapter", for example, "192.168.0.5/24 ",

Then go back to Step 4, press the previous step, and then re-run the prerequisite check. If it is found that it has completely passed, you can proceed with peace of mind.

Step 7: Oracle can create a database while installing the software, or install the software before creating a database.

Step 8: The software will pop up an installation list. Click "Install" after the check is complete.

Step 9: wait until the installation is complete. After the installation is complete, the "complete" dialog box is displayed. The two URLs can be opened in a browser for database management without record. However, it is troublesome to retrieve these two URLs. We recommend that you record them first.

Ii. Install PLSQL Developer



Directly install pls-setup.exe.

However, problems occur after installation. An error occurs in PL/SQL: the specified connection identifier cannot be parsed. I checked a lot of information, most of which is due to the tnsnames. ora problem under the D: \ oracle \ product \ 10.2.0 \ db_1 \ NETWORK \ ADMIN directory. In fact, as long as you follow the regular installation process, there will be no problems here.

After testing, it was found that the connection to the local or remote oracle instance with sqlplus from oracle was successful, but PL/SQL Developer was used (I installed version 7.1) the ORA-12154: TNS: unable to resolve the specified connection identifier error is reported when you log on to any instance.

First, analyze the cause. Since sqlplus can be connected, it indicates that oracle Installation (at least Client installation) is normal and TNS configuration is correct. The problem lies in PL/SQL Developer.

In desperation, I chose to reinstall PL/SQL Developer. After the installation program is run, a warning box is displayed. This time, I read it carefully, which means that the installation directory contains special characters, which may cause oracle connection failure. The installation will continue after you press "OK" in the prompt window. Suddenly, 64-bit win7 will install the 32-bit application under the Program Files (x86) directory by default, the two parentheses may make oracle depressed. Change the installation path to a "popular" path. Then, connect to the database and solve all the problems.

Iii. oracle net manager

(1) Service naming options,

This option configures things in the tnsnames. ora file and provides services for PL/SQL link remote and local database use.

(2) Listener: provides remote services to other machines. If not configured, other machines cannot access the database of this machine through PL/SQL.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.