Uninstall Oracle by completely deleting Oracle files on Linux

Source: Internet
Author: User

To delete an Oracle database in a Linux operating system, you can use the common Oracle method or follow the methods provided in this article to delete all related files.
It is relatively easy to delete Oracle on a Linux operating system. Record the list of files to be deleted (that is, list the hiding places of Oracle installation files ). After completing these cleanup operations, you can think that there were no Oracle Installation records in the system. On this basis, a new Oracle installation and deployment can be completed.
You can Unmount and delete the file in the following order:
1. Delete the $ ORACLE_BASE/product/oraInventory directory;
2. Delete the $ ORACLE_BASE/product directory;
3. Delete the/etc/oratab file;
4. delete files related to the "ora" keyword in the/tmp/directory;
5. Delete Oracle-related content in the/opt/directory;
6. Several files under/usr/local/bin/cannot be deleted. Note that "y" is selected when the root. sh script is run in the next installation of Oracle to overwrite the file ";
7. Restart the operating system and uninstall it.

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.