Workaround for installing Oracle 11g-related issues under Windows 7 _oracle

Source: Internet
Author: User
Tags oracle database

Many DBAs are still at Oracle 9i or 10g, possibly because of the Oracle 11g price issue. This article will explain the installation of Oracle 11g under Windows 7, and I hope you can see some of the new features of 11g.

Recently unloaded their own Windows Vista system, installed on the Windows7 flagship version, in the installation process also encountered a lot of problems, some problems are not encountered by themselves, but they try to solve, step by step to try to work. Own unremitting efforts, also changed back the results. For example, there was a problem installing SQL Server 2005 and Oracle 11g, and when you installed SQL Server 2005, you couldn't attach a previously created database, and then know that you want to run SQL Server as an administrator under Windows 7 2005 to attach and create a database. As well as in the installation of Oracle 11g, System incompatibilities, Oracle 11g system self-test, check out the system is incompatible, can not install the database, after their own attempts and find in this afternoon finally successfully installed Oracle 11g Enterprise version. In fact, I think in the wrong to learn far more than usual, encounter mistakes can try to solve, this is a kind of learning ability, very can prove a person's ability to learn and wrong, also hope that in the future of their learning on the road can be independent thinking, solve problems. Let's share with you the problems and solutions you've encountered in installing Oracle 11g.

First, on your own Windows 7 flagship, Oracle 11g prompts you with the following error when "product-specific prerequisite condition check":

In the first picture, we can see that when Oracle checks operating system compatibility, it does not pass the check, at this time, we click "Next" to install, it is not installed, will jump out of the second picture of the error prompts, so can only solve the compatibility problem, to install Oracle. At this point, we have to find the Oracle installation files, the following is the path to my installation file description, first find the path:

"E:\Oracle enterprise_standard edition_11.1.0.7\database\stage\prereq\db\refhost.xml".

After you find the "refhost.xml" file, if you don't have the XML software installed, open the file in Notepad, and after you open it, we find the following node:

{ 
<!--Microsoft Windows vista--> 
<OPERATING_SYSTEM> 
<version value= "6.0"/> 
} 

Replace the above nodes with the following nodes:

{ 
<!--Microsoft Windows 7--> 
<OPERATING_SYSTEM> 
<version value= "6.1"/> 
</ Operating_system> 
} 

When the replacement is complete, click Save and Exit. Next you can click on "setup.exe" for installation, in the "product-specific prerequisite condition check" Installation interface, there will still be the first picture installation screen, is still the system's compatibility check does not pass, but we do not click "Next" to continue the installation, in the click "Next" button to install, the following error appears, as shown below:

At this point we click "Yes" to continue the installation, and then the installation program will go to the next installer, the installer interface is as follows:

We continue with the Oracle installer and click "Next" to continue, and when we click on the "Next" button, we will come to the Oracle installation interface, as shown below:

Here the entire Oracle installer can say the installation success is only a matter of time, we continue to click the "Install" button for Oracle installation, when the Oracle installer will configure and launch the previously selected components, the following figure:

After waiting for the configuration Assistant configuration completed, it began to formally install to our computer hard disk, at this time, entered the Oracle database startup and creation interface, the following figure:

After waiting for the Oracle database to be created, the installation of the Oracle database is completed, and finally Oracle completes the installation interface:

By the time we've finished installing Oracle 11g, we've found the "Password Management" button, and in Oracle 11g, the "Scott" account is locked by default, and if you want to use the "Scott" account to log in as before, click Password Management. button to unlock the "Scott" account. The unlock process is shown in the following illustration:

"Do you want to lock the account?" "Check out, enter your password in the password settings, or you like to set it in the previous version of" Tiger "as a password, after all, with Oracle's products come over. In the end, we can click on the "OK" button to complete the installation of Oracle.

After Setup completes, you can open Oracle 11g and, at first, you must pass in the Java run File "Java.exe", as shown in the following illustration:

Here is a description of the file path installed by my JDK: D:\Program files\java\jdk1.6.0_17\jre\bin\ Java.exe, here you also have to download the JDK on Sun's website, no description here, if you don't know how to install JDK please leave a message in my blog.

After passing in the "Java.exe" Run file, jump to the login page, we logged in as a system administrator account, we entered the Oracle 11g interface, as shown in the following figure:

To this end, the entire Oracle 11g installer is complete, I saw the successful login after the installation of the interface, but also very happy, through their own step-by-step attempt to finally complete the installation of Oracle in their own notebooks, in the past through their own repeated attempts after the results, is very gratifying, but also hope to be able 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.