vmwaer下卸载oracle10g

[root@localhost /]# userdel -r oracle
[root@localhost /]# groupdel dba
[root@localhost /]# touch /opt/rmoracle.sh
[root@localhost /]# vi /opt/rmoracle.sh
rm -rf /opt/oracle
rm -rf /opt/ORCLfmap
rm -f /etc/oraInst.loc
rm -f /etc/oratab
rm -f /usr/local/bin/oraenv
rm -f /usr/local/bin/coraenv
rm -f /usr/local/bin/dbhome

~
~

:qw//保存
"/opt/rmoracle.sh" 8L, 167C written
[root@localhost /]# chmod 755 /opt/rmoracle.sh
[root@localhost /]# /opt/rmoracle.sh

 

[root@localhost ayq]# find / -name ora
[root@localhost ayq]# rpm -qa | grep ora
libtheora-1.0alpha7-1
oracle-xe-univ-10.2.0.1-1.0
[root@localhost ayq]# rpm -e oracle-xe-univ-10.2.0.1-1.0

[root@localhost ayq]# find / -name oracle
/usr/lib/oracle
[root@localhost ayq]# rm -rf /usr/lib/oracle

你可能感兴趣的:(vmwaer下卸载oracle10g)