How to solve Oracle 11g Installation Problems in Windows 7

Source: Internet
Author: User

Many DBAs are still in Oracle 9i or 10g, probably because of the price of Oracle 11g. This article will explain how to install Oracle 11g in Windows 7, and hope you can see some new features of the 11g.

Not long ago, I uninstalled my Windows Vista system, installed the flagship version of Windows 7, and encountered many problems during the installation process. Some problems were not encountered by myself, but I tried to solve them myself, step by step. Our unremitting efforts have also replaced the results. For example, when installing SQL Server 2005 and Oracle 11g, you may encounter problems. When installing SQL Server 2005, you cannot attach the previously created database, later I learned that in Windows 7, I had to run SQL Server 2005 as an administrator before I could attach and create a database. In addition, when installing Oracle 11g, the system is not compatible. Oracle 11g system self-check checks that the system is not compatible, so the database cannot be downloaded, finally, Oracle 11g Enterprise Edition was successfully installed this afternoon. In fact, I feel that I have learned much more from mistakes than I have learned at ordinary times. If I encounter errors, I can try to solve them myself. This is a learning capability, it can prove the strength of a person's learning and troubleshooting capabilities, and hope that he can think independently and solve problems in the future. Next we will share with you the problems and solutions we encountered when installing Oracle 11g.

First, on the Windows 7 flagship edition, the Oracle 11g prompts the following error when "product-specific precognition condition check:

  

 

  

 

In the first image, we can see that the check fails when Oracle checks the operating system compatibility. At this time, we cannot install it when clicking "Next, the error message in the second image is displayed. Therefore, Oracle can only be installed after the compatibility problem is solved. At this time, we first need to find the Oracle Installation File, the following describes the path of my installation file, first find the path:

"E: Oracle Enterprise_Standard Edition_11.1.0.7databasestageprereqdbefhost.xml".

After finding the "refhost. xml" file, if you have not installed the XML software, open the file in Notepad. After opening the file, find the following node:

 
 
  1. {   
  2.  <!--Microsoft Windows Vista-->   
  3. <OPERATING_SYSTEM>   
  4. <VERSION VALUE="6.0"/>  
  5.  }  

Replace the preceding nodes with the following:

  

 
 
  1. {   
  2.  <!--Microsoft Windows 7-->  
  3.  <OPERATING_SYSTEM>  
  4.  <VERSION VALUE="6.1"/>   
  5. </OPERATING_SYSTEM>  
  6.  }  

After replacement, click Save and exit. You can click ”setup.exe to install it. When you go to the installation page of the "product-specific precognition condition check", the first image is still displayed, and the system compatibility check fails, however, if you click "Next" to continue the installation, the following error occurs when you click "Next". For example:

  

 

Click "yes" to continue the installation. Next, the installer will go to the next Installer. The installer interface is shown below:

  

 

We continue to install the Oracle program and click "Next" to continue. When we click "Next", we will go to the Oracle Installation interface, for example:

  

 

It can be said that the installation of the entire Oracle Installation program is only a matter of time. We will continue to click the "Install" button to install Oracle, in this case, the Oracle installer configures and starts the previously selected components, such:

  

 

After the Configuration Assistant is configured, it will be installed on the hard disk of our computer. At this time, it will enter the startup and Creation Interface of the Oracle database, such:

  

 

After the Oracle database is created, the installation of the Oracle database is completed. Finally, the installation interface of Oracle is as follows:

  

 

Now we have completely completed the installation of Oracle 11g. At this time, we found the "password management" button. in Oracle 11g, the "scott" account is locked by default, if you use the "scott" account to log on as before, click the "password management" button to unlock the "scott" account. The unlock process is shown in:

  

 

Will "do you want to lock your account ?" In the password settings, enter your password. You still like to set it as the "tiger" in the previous version as the password. After all, it came from Oracle products. At the end, we can click "OK" to Complete Oracle installation.

After the installation program is complete, you can open Oracle 11gand upload it to the Java runtime file ", as shown in:

  

 

Here, we will describe the path of the file installed by my jdk: D: Program FilesJavajdk1.6.0_17jreinjava.exe. here you must download JDK from the sun official website, which is not described here, if you do not know how to install JDK, please leave a message in my blog,

After passing the "cmdjava.exe" Running file, we will jump to the logon page. After logging on with the system administrator account, we will go to the Oracle 11g interface, as shown in:

  

 

At this point, the entire Oracle 11g installation program is complete, and you are very happy after seeing the successful installation interface, through your own step by step, finally, I installed Oracle in my notebook. It was very gratifying to get the result after I tried it, I also hope to help people who have encountered the same problem!

Related Article

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.