Oracle11g installation tutorial
- Unzip the two zip files at the same time, generate a database folder, enter the database folder, and click setup
- Remove the security update option and go directly to the next step
- Select Create and configure database and click Next
- Select the server class and click Next
- Select Singleton Database Installation and click Next
- Select Advanced installation and click Next
- Just click next
- Select Enterprise Edition and click Next
- Select the path to install the database, I have not changed it here, go directly to the next step
- Select General Purpose and click Next
- The database name, I wrote zhongfucheng here, you can choose it yourself
- Select the character set interface in the above 4 boxes, and then select the third button to find UTF-8 in the character set
- In the interface of selecting the case plan in the above 4 boxes, check "Create a database with a case plan"
- Uncheck "Enable Email Notifications" and go directly to the next step
- Select "File System Management", the next step
- Select "Do not automatically back up", the next step
- In the password, I entered oracleadmin, go directly to the next step
- oracleadmin is out of specification, but it doesn't matter, just click "Yes"
- Finally click Finish. . . . After the installation of the system, this page will finally appear
Click Password Management
- Find SYS and set the SYS password to
change_on_install
- Find system and set the system password to
manager
- Find SH, set the account to be unlocked, and the password is
sh
- Find SCOTT, set the account not to be set, the password is
tiger
- Click OK, click "Yes".
- Finally, click OK to complete the installation. There will be more Oracle services under Windows services.
- Test, open cmd, enter in cmd
sqlpuls
- Enter the username scott, the password tiger, and query the emp table
- If there is data obtained from the query, the Oracle installation is successful!
- Finally, because the Oracle service is very memory-intensive, we set the two services of Oracle to manual, and reopen it when we need to use the Oracle database!
Oracle Uninstall Tutorial
Using the uninstaller that comes with Oracle cannot fundamentally uninstall Oracle, thus leaving hidden dangers for the next installation, so how can we completely uninstall Oracle? That is to clear the registry directly, the steps are as follows:
1. Start -> Settings -> Control Panel -> Administrative Tools -> Services to stop all Oracle services.
2. Start -> Programs -> Oracle - OraDb11g_home1 -> Oracle Installation Products -> Universal Installer Uninstall all Oracle products, but Universal Installer itself cannot be deleted [if the second step fails, skip to the third step, most of the first steps The second step is a failure]
3. Run regedit, select HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE, and press the del key to delete this entry.
4. Run regedit to delete all Oracle entries in the following three locations. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ [below] delete all Oracles HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\ [below] delete all Oracles HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ [below] delete all Oracles
5. Run regedit, delete all Oracle entries in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\ [below].
6. Start -> Settings -> Control Panel -> System -> Advanced -> Environment Variables Delete the settings related to Oracle in the environment variables CLASSPATH and PATH
7. From the desktop, STARTUP (startup) group, program menu, delete all groups and icons related to Oracle
8. Delete the e:/oracleDB directory
9. [Restart the computer], the directory where Oracle is located can be completely deleted after restarting
10. Delete the files related to Oracle, select the default directory C:\Oracle where Oracle is located, delete this entry directory and all subdirectories, and delete the oralce file from the Windows directory (usually C:\WINDOWS) and so on.
11. Enter "win.ini" in the run box and press Enter. If there is a marked segment of [ORACLE] in the WIN.INI file, delete this segment
12. [If necessary], delete all Oracle-related ODBC DSNs
13. Go to Event Viewer and delete Oracle related logs
Note: If there is a situation where individual DLL files cannot be deleted, ignore it, restart, and start a new installation. When installing, select a new directory. After the installation is completed and restarted, the old directory and files can be deleted. Lost
If there are any mistakes in the article, please correct me, and we can communicate with each other. Students who are accustomed to reading technical articles on WeChat and want to get more Java resources can follow WeChat public account: Java3y