cdnfly主控端卸载

supervisorctl -c /opt/cdnfly/master/conf/supervisord.conf stop all
systemctl stop mariadb
systemctl disable mariadb
systemctl stop elasticsearch
systemctl disable elasticsearch
yum remove mariadb-server mariadb-devel mariadb -y
rpm -e elasticsearch-7.6.1
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker rmi $(docker images -q)
rm -rf /usr/share/elasticsearch
rm -rf /var/run/elasticsearch
rm -rf /etc/sysconfig/elasticsearch
rm -rf /etc/elasticsearch/
rm -rf /opt/cdnfly/
rm -rf /var/log/cdnfly/
rm -rf /opt/*
rm -rf /run/mariadb
rm -rf /var/log/mariadb
rm -rf /usr/bin/mysql*
rm -rf /usr/bin/mysqladmin
rm -rf /var/lib/mysql
rm -rf /usr/lib64/mysql
rm -rf /usr/share/mysql
rm -rf /var/lib/docker
rm -rf /var/spool/mail/mysql
rm -rf /etc/selinux/targeted/active/modules/100/mysql
rm -rf /usr/lib64/perl5/vendor_perl/auto/DBD/mysql
rm -rf /usr/lib64/perl5/vendor_perl/DBD/mysql
rm -rf /www/backup/oldData/mysql
rm -rf /var/lib/systemd/catalog/*


vi /etc/rc.local
vi /etc/rc.d/rc.local
crontab -e
点赞