J2EE architecture to do B / S Development has been a full five years the whole, and the background database has been using Oracle and MySQL, Oracle version used 8i, 9i and 10g. However, 10g is not installed and configured itself, yesterday, re-configure the development environment, for the first time installation and configuration of 10g, spent almost four hours before the basic buttoned sad ah. A problem when the web for help, many people have experienced the same problem, but there is no right solution, and now share their own course out, we want a little help.
Before installation, compared with 10g and 9i installation package size, the former is only 800M, while the latter has 1.2G, then, was very puzzled how such a big size difference?
Second: the first installation.
In accordance with conventional means, setup, installation process, I chose to only install the database software, not install the database (8i or 9i installed, so you can properly install the Oracle services). All goes well, the installation was successful. But when you start service dumbfounded, and do not have any, and Oracle-related services, how can start the services? Check the Internet, there is no solution, most feel oppressed that actually had to reinstall a lot of people say, but it was not clear, reloading process and what to watch. No alternative but to reinstall.
No. 3: Uninstall and reinstall.
Through Oracle's uninstall program manually uninstall, then clean up the registry, primarily select HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE, press del key to delete the entry; and select HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services, scroll the list, remove all Oracle import; Last manually delete the remaining files under the Oracle installation directory (do not uninstall completely the physical file). Uninstall complete re-installation process the first time with the same results as with the first time, once again dumbfounded, Mei Zhe, and had to ponder why. Remember to use 10g, vaguely remember, there is a service and the database instance to the corresponding, no service, can choose to install the database instance is not the reason? Then think of, all the normal installation process should be that this causes problems with this question, a third installation.
Fourth: reinstall again.
Repeat the process on a different point, choose to install the database instance, the installation process all goes well, and as expected, the normal installation services through PL / SQL development tool preceding paragraph, you can normally connect and access the database. Heart barely disguised pleasure, finally found the reasons, though the reason is ridiculous, after all, experience can be considered a kind of harvest. Another problem emerged one after another, through the Oracle 10g DB management console itself, it can not properly log on, thought I remember correctly, password, Internet search solutions, are some major principles, did not find practical solutions, no way, had to bite the bullet, reinstall again, and set the password, record, sure he did not remember the password wrong.
Fifth: the final installation.
Repeat the last operation, a successful installation, and password down and log in again the console, still can not log on normally. Also dumbfounded, as long as you re-think the causes, remember to install the successful installation of DB Hou Shi Li, with a Ti Shi, by what kind of URL Jinhangxiangguan resources Fang Wen, remember the URL, address write yes Jiqi name, did for this reason what? I will modify the URL in the machine name into the IP address (127.0.0.1), a successful login, and finally sigh, How innocent ah!
Postscript: As the saying goes "no pit, no experience", everything should be their heart, "brightened", even if only a small software installation.