Stop all the databases and listener on the box either manually or using your startup script (/etc/init.d/oracle stop).
$ORACLE_HOME/bin/localconfig delete
rm -rf /etc/ora*
rm -rf $ORACLE_HOME
rm -rf $ORACLE_BASE
rm -rf /tmp/.oracle
rm -rf /var/tmp/.oracle
This should be enough to remove the whole software from the box, you can drop the OS users and their home directories also if you want
$ORACLE_HOME/bin/localconfig delete
rm -rf /etc/ora*
rm -rf $ORACLE_HOME
rm -rf $ORACLE_BASE
rm -rf /tmp/.oracle
rm -rf /var/tmp/.oracle
This should be enough to remove the whole software from the box, you can drop the OS users and their home directories also if you want
No comments:
Post a Comment