In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "how to delete oracle database software", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to delete oracle database software" this article.
1. Shut down the database
SQL > shutdown immediate
two。 Turn off database snooping
Lsnrctl stop
3. Use. / deinstall to delete the database and operate the command under the oracle user
[oracle@togogo ~] $cd / u01/app/oracle/product/11.2.0/db_1/deinstall/
[oracle@togogo deinstall] $ls
Bootstrap.pl deinstall deinstall.pl deinstall.xml jlib readme.txt response sshUserSetup.sh
[oracle@togogo deinstall] $. / deinstall
..
# CLEAN OPERATION SUMMARY #
Updated Enterprise Manager configuration for database orcl
Successfully de-configured the following database instances: orcl
Following Single Instance listener (s) were de-configured successfully: LISTENER
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully detached Oracle home'/ u01 from the central inventory on the local node.
Successfully deleted directory'/ u01 on the local node.
Successfully deleted directory'/ u01 on the local node.
Oracle Universal Installer cleanup was successful.
Run'rm-rf / etc/oraInst.loc' as root on node (s) 'togogo' at the end of the session.
Run'rm-rf / opt/ORCLfmap' as root on node (s) 'togogo' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#
# ORACLE DEINSTALL & DECONFIG TOOL END #
4. Delete related directories or folders and switch to root user deletion
Delete the three folders dbhome oraenv coraenv under / usr/local/bin
Cd / usr/local/bin
Rm-f dbhome
Rm-f oraenv
Rm-f coraenv
Delete the oratab and orainst.loc under / etc
Cd / etc
Rm-f oratab
Rm-f oraInst.loc
Delete the ORCLfmap under / opt
Cd / opt
Rm-fR ORCLfmap
5. Delete related users and groups
Delete oracle users and oinstall and dba oper
You must delete oracle users first.
Userdel-r oracle
Groupdel oinstall
Groupdel dba
Groupdel oper
6. Delete the home directory
Rm-rf / U01
The above is all the contents of the article "how to delete oracle database software". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.