How to install and uninstall Oracle databases

Source: Internet
Author: User

How to install and uninstall Oracle databases


========================================================== ============================================== ======================================


1. If there are two files when installing the database, you need to merge the two files before installing

After both files are decompressed, 1of2 contains the installation file and 2of2 only contains the jar package. You need to copy the folders under stage \ Components in 2of2 to this directory of 1of2.
NOTE: If no operation is available, the database will not run properly

2. During installation, you can follow the instruction in http://www.ixywy.com/oraclejsjc/328.html.



Figure 1 Figure 2
3. Select the database software after installation as shown in Figure 2 above.
4. Add the environment variable ORACLE_HOME.

5. After the installation is successful, go to the cmd command line mode and run the command lsnrctl status. If no listener is displayed
Check whether the listener exists in the D: \ app \ lenovo \ product \ 11.2.0 \ dbhome_1 \ NETWORK \ ADMIN directory. ora file, does not exist need to select fried ky "http://www.bkjia.com/kf/web/php/" target = "_ blank" class = "keylink"> kernel/kernel ++ c7et6i1x8K9yv2 + 3b/iKMO709C0tL2oyv2 + 3b/kernel = "http://www.2cto.com/uploadfile/Collfiles/20150124/2015012409544063.png" alt = "\">

6. After the installation is successful, you need to use the built-in oracle Configuration and transplantation tool-> Database Configuration Assistant to configure the Database User
After successful configuration, view the tnsnames. ora file changes and add sid


7. In cmd command line mode, use sqlplus/as sysdba and SQL developer to select sysdba mode, and enter the valid user created when the user is created using Database Configuration Assistant for logon.
The ORACLE database is the Instance name set when the database user is created. It is also the Instance name in tnsnames. ora.

========================================================== ======================================================= ======================================


1. To uninstall the database, run deinstall


2. delete information about the Registry
Delete all Oracle * related information under this directory
========"

=========="


3. If the system prompts that the main directory has been used during Reinstallation
Delete the C: \ Program Files \ Oracle \ Inventory \ ContentsXML folder. If a single file cannot be deleted, it is because the current installer is writing a log and you need to exit the installer and delete it, after the deletion is successful, reinstall it.


4. Delete Environment Variables


5. Delete the D: \ app file. During the deletion process, you may be prompted that the service is in use and cannot be deleted. You can stop the service and then delete it.


Select a service and click STOP.

The last oci. dll file cannot be deleted. You can view the task list in cmd command line mode to see that the current dll file is being used.
Tasklist/m oci. dll

After the service is stopped, the iexplore.exe program can be used for maintenance. At this time, you need to restart the computer and check that there is no process occupation. You can delete it.

When the taskkill/pid process number is used to kill iexplore, the shutdown interface is displayed. If the operation is canceled, oci. dll is still in use. If taskkill/pid process number/f is used to forcibly kill the process,
The desktop program will not be displayed. In this case, restart the iexplore process.
Ctrl + alt + delete, open the task manager, click File> new task in the upper left corner, enter the program name iexplore.exe to enable the process, and display the Desktop
=========="


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.