centos8.5 oracle19c卸载

1.停止服务:
shutdown immediate;
lsnrctl stop

2.删除安装目录以及其他:
rm -rf /opt/oracle/
rm -rf /usr/local/bin/coraenv
rm -rf /usr/local/bin/dbhome
rm -rf /usr/local/bin/oraenv
rm /etc/oratab

3.删除用户
userdel -r oracle
groupdel dba
groupdel oinstall

4.卸载安装软件包
yum -y remove oracle-database-ee-19c
rpm -e --noscripts oracle-database-preinstall-19c-1.0-1.el7.x86_64

到此卸载完成。

你可能感兴趣的:(mongodb运维,linux,centos,运维)