database 如何手动卸载 Oracle?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/83967/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 06:56:36  来源:igfitidea点击:

How do I do a manual uninstall of Oracle?

databaseoracleoracle10guninstalloracle9i

提问by Joshua

Sometimes my Oracle database on Windows gets hosed. How do I do a manual uninstall of Oracle?

有时我在 Windows 上的 Oracle 数据库会被冲洗掉。如何手动卸载 Oracle?

回答by Sten Vesterli

The six-step process to remove all things Oracle from a Windows machine:

从 Windows 机器中删除所有 Oracle 内容的六步过程:

A. Delete the Oracle services: In the registry, go to \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servicesand delete everything that starts with "Oracle"

A.删除 Oracle 服务:在注册表中,转到 \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services并删除所有以“Oracle”开头的内容

B. Remove other Oracle stuff from the registry: Go to \HKEY_LOCAL_MACHINE\SOFTWARE\and delete the key ORACLE

B.从注册表中删除其他 Oracle 内容:转到\HKEY_LOCAL_MACHINE\SOFTWARE\并删除密钥 ORACLE

C. Reboot

C.重启

D. Delete all the Oracle softwarefrom the directories where you installed it

D.从安装目录中删除所有 Oracle 软件

E. Delete the Oracle software inventory: Delete the directory C:\Program Files\Oracle. You must do this no matter where you installed your Oracle software - the Oracle installer automatically writes information here.

E.删除 Oracle 软件清单:删除目录C:\Program Files\Oracle。无论您在何处安装 Oracle 软件,都必须执行此操作 - Oracle 安装程序会自动在此处写入信息。

F. Delete all shortcutsfrom your Start menu.

F.从开始菜单中删除所有快捷方式

G. Removethe Oracle directories from PATH Environment Variable.

G.从 PATH 环境变量中删除Oracle 目录。

To simplify cleanup in the future, I'd strongly recommend you install your Oracle products in one or more virtual machines.

为了将来简化清理工作,我强烈建议您在一台或多台虚拟机中安装 Oracle 产品。

回答by shindigo

It's worth noting that there is an official Oracle standalone deinstaller: https://docs.oracle.com/cd/E11882_01/install.112/e47689/remove_oracle_sw.htm#LADBI1332, which I just used to uninstall Oracle 11 client. This is not necessarily better or easier to use than the top suggestion on this page, but it is "official".

值得注意的是,有一个官方的 Oracle 独立卸载程序:https: //docs.oracle.com/cd/E11882_01/install.112/e47689/remove_oracle_sw.htm#LADBI1332,我只是用来卸载 Oracle 11 客户端的。这不一定比此页面上的顶级建议更好或更容易使用,但它是“官方的”。

One thing to note - if you use the official deinstaller, it does not like the temp folder to have spaces in it. So if you have it set to "Documents and Settings...\temp" it will fail. Use the control panel environment settings button to SET the TEMP folder first.

需要注意的一件事 - 如果您使用官方卸载程序,它不喜欢临时文件夹中有空格。因此,如果您将其设置为“文档和设置...\temp”,它将失败。首先使用控制面板环境设置按钮设置 TEMP 文件夹。

回答by DCookie

Have a look at:

看一下:

http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php

http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php

Basically, it comes down to:

基本上,它归结为:

Remove all you can with the installer. Remove Oracle keys from the registry. Remove the Oracle directories from your computer.

使用安装程序删除所有可能的内容。从注册表中删除 Oracle 密钥。从您的计算机中删除 Oracle 目录。

With (of course) the requisite reboots thrown in as required ;-)

(当然)根据需要进行必要的重启;-)

回答by user3091530

Uninstall Oracle 10g from window 7, Xp

从窗口 7、Xp 卸载 Oracle 10g

step 1 :Open up the start menu and in program files look for oracle – oraDb10g_home folder, and select oracle installation products – > Universal Installer.

第一步:打开开始菜单,在程序文件中找到oracle-oraDb10g_home文件夹,选择oracle安装产品->Universal Installer。

step 2 :Select Deinstall Product, which will pop up new window , select check box oracleDb10g_home1 as shown below. Click on remove button. This will remove oracle.

step 2:选择Deinstall Product,弹出新窗口,勾选oracleDb10g_home1复选框,如下图。单击删除按钮。这将删除 oracle。

step 3 :Remove the registration file from Regedit, in order to remove oracle 10g completely. Run Regedit.

第三步:从Regedit中删除注册文件,以便彻底删除oracle 10g。运行注册。

Delete the following keys if it exits after the un-installation.

如果卸载后退出,请删除以下键

HKEY_CURRENT_USER\SOFTWARE\ORACLE HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Oracle.oracle HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsole HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle10g_home HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OraclService

HKEY_CURRENT_USER\SOFTWARE\ORACLE HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Oracle.oracle HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\OracleSet\OracleDBConsole\CurrentControlSet\OracleSet_LOCAL_MACHINE\CurrentControlSSYSTEM_SYSTEM_MACHINE\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Oracle.oracle \Oracl 服务

step 4: Now delete the folder where you have installed the software. By default, it is installed in c drive as C:\oracle and from C:\programs files\oracle.

第 4 步:现在删除安装软件的文件夹。默认情况下,它以 C:\oracle 和 C:\programs files\oracle 安装在 c 驱动器中。

Hence by doing this steps successfully, Oracle 10g is removed completely. If you are having any problem in removing or uninstalling the program,(oracle ) then do comment below, we will look on that.

因此,通过成功执行这些步骤,Oracle 10g 将被完全删除。如果您在删除或卸载程序(oracle)时遇到任何问题,请在下面发表评论,我们会查看。

回答by LooyeD

The tips for using a VM enviroment is the best: no worries about deinstalling. Just install a complete Oracle enviroment and after one succesfull run: winrar the VM ... after corrupting the Oracle home once again: just delete the current VM and unrar the backup

使用 VM 环境的提示是最好的:不用担心卸载。只需安装一个完整的 Oracle 环境,并在一次成功运行后:winrar 虚拟机...再次损坏 Oracle 主目录后:只需删除当前虚拟机并解压备份

回答by anyGenericProgrammer

This seems way too simple, but in Windows I was able to uninstall Oracle by going into Settings > Apps and Featuresfinding the Oracle database clicking it and then uninstall. I didn't even need a password.

这看起来太简单了,但是在 Windows 中,我可以通过Settings > Apps and Features找到 Oracle 数据库单击它然后单击它来卸载 Oracle uninstall。我什至不需要密码。

回答by dacracot

Assuming a unix type OS and that you properly installed it using an account named oracle...

假设一个 unix 类型的操作系统,并且您使用名为 oracle 的帐户正确安装了它...

find / -user oracle -exec rm -fr {} \;

find / -user oracle -exec rm -fr {} \;

That having been said, this must be done as root and you had better not mind loss of any and all files that belong to oracle. There will be no... NO recovery from this method.

话虽如此,这必须以 root 身份完成,您最好不要介意丢失属于 oracle 的任何和所有文件。不会有...没有从这种方法中恢复。