Sometimes my Oracle database on Windows gets hosed. How do I do a manual uninstall of Oracle?
有时候我在Windows上的Oracle数据库会受到攻击。如何手动卸载Oracle?
6 个解决方案
#1
39
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\Services
and 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 software from 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 shortcuts from your Start menu.
F.从“开始”菜单中删除所有快捷方式。
G. Remove the 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产品。
#2
4
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 ;-)
(当然)根据需要投入必要的重新启动;-)
#3
3
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.
步骤1:打开开始菜单并在程序文件中查找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.
步骤2:选择Deinstall Product,将弹出新窗口,选中复选框oracleDb10g_home1,如下所示。单击“删除”按钮。这将删除oracle。
step 3 : Remove the registration file from Regedit, in order to remove oracle 10g completely. Run Regedit.
步骤3:从Regedit中删除注册文件,以便完全删除oracle 10g。运行Regedit。
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 \ Services \ OracleDBConsole HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Oracle10g_home HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ OraclService
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)然后在下面做评论,我们将会查看。
#4
3
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.
有一点需要注意 - 如果你使用官方的deinstaller,它不喜欢temp文件夹中有空格。因此,如果您将其设置为“Documents and Settings ... \ temp”,它将失败。使用控制面板环境设置按钮首先设置TEMP文件夹。
#5
1
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 the VM ...再次损坏Oracle主目录之后:只需删除当前虚拟机并取消备份
#6
-3
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的文件。没有......没有从这种方法中恢复。
#1
39
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\Services
and 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 software from 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 shortcuts from your Start menu.
F.从“开始”菜单中删除所有快捷方式。
G. Remove the 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产品。
#2
4
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 ;-)
(当然)根据需要投入必要的重新启动;-)
#3
3
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.
步骤1:打开开始菜单并在程序文件中查找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.
步骤2:选择Deinstall Product,将弹出新窗口,选中复选框oracleDb10g_home1,如下所示。单击“删除”按钮。这将删除oracle。
step 3 : Remove the registration file from Regedit, in order to remove oracle 10g completely. Run Regedit.
步骤3:从Regedit中删除注册文件,以便完全删除oracle 10g。运行Regedit。
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 \ Services \ OracleDBConsole HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Oracle10g_home HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ OraclService
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)然后在下面做评论,我们将会查看。
#4
3
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.
有一点需要注意 - 如果你使用官方的deinstaller,它不喜欢temp文件夹中有空格。因此,如果您将其设置为“Documents and Settings ... \ temp”,它将失败。使用控制面板环境设置按钮首先设置TEMP文件夹。
#5
1
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 the VM ...再次损坏Oracle主目录之后:只需删除当前虚拟机并取消备份
#6
-3
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的文件。没有......没有从这种方法中恢复。