linux删除oracle

linux删除oracle

# touch /opt/rmoracle.sh
# 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

# chmod 755 /opt/rmoracle.sh
# /opt/rmoracle.sh

上面实际上是删除oracle home 目录.比较容易忘记的是/opt/ORCLfmap.