当前位置:网站首页>How to uninstall clean ZABBIX service? (super detailed)
How to uninstall clean ZABBIX service? (super detailed)
2022-07-28 03:29:00 【A- liuchenyang】
List of articles
1、 stop it zabbix-server zabbix-agent httpd rh-php72-php-fpm
systemctl stop zabbix-server zabbix-agent httpd rh-php72-php-fpm
2、 uninstall zabbix service
2.1、 lookup zabbix All the services
rpm -qa | grep -i zabbix

We can see several , Can be unloaded in sequence ;
2.2、 Uninstall... In turn zabbix service
yum -y remove zabbix-agent-5.0.25-1.el7.x86_64
yum -y remove zabbix-web-mysql-scl-5.0.25-1.el7.noarch
yum -y remove zabbix-release-5.0-1.el7.noarch
yum -y remove zabbix-server-mysql-5.0.25-1.el7.x86_64
yum -y remove zabbix-web-5.0.25-1.el7.noarch
Check again after uninstallation ;
rpm -qa | grep -i zabbix

Now it's gone , That's all right. ;
2.3、 Delete zabbix All configurations and related files
#find lookup zabbix
[[email protected] ~]# find / -name zabbix
/etc/selinux/targeted/active/modules/100/zabbix
/etc/zabbix
/var/lib/yum/repos/x86_64/7/zabbix
/var/lib/mysql/zabbix
/var/log/zabbix
/var/cache/yum/x86_64/7/zabbix
/usr/lib/zabbix
# Directly delete all
rm -rf /etc/selinux/targeted/active/modules/100/zabbix
rm -rf /etc/zabbix
rm -rf /var/lib/yum/repos/x86_64/7/zabbix
rm -rf /var/lib/mysql/zabbix
rm -rf /var/log/zabbix
rm -rf /var/cache/yum/x86_64/7/zabbix
rm -rf /usr/lib/zabbix
Finally, check whether the deletion is clean ;
find / -name zabbix

You can see that it has been deleted ;
If you need to be cleaner , You can use fuzzy search ;
find / -name "*zabbix*"

You can also find so many , Finally, delete it all ;
Finally, check it again , In this way, it will be completely deleted .
3、 uninstall mysql
3.1、 uninstall mariadb
# lookup mariadb
rpm -qa mariadb

# Just uninstall
yum -y remove mariadb-5.5.68-1.el7.x86_64
3.2、 Delete mysql Related configuration files
# lookup mysql Related documents
[[email protected] ~]# find / -name mysql
/etc/selinux/targeted/active/modules/100/mysql
/var/lib/mysql
/var/lib/mysql/mysql
/usr/lib64/mysql
/usr/lib64/perl5/vendor_perl/auto/DBD/mysql
/usr/lib64/perl5/vendor_perl/DBD/mysql
/usr/share/mysql
# Directly delete all
rm -rf /etc/selinux/targeted/active/modules/100/mysql
rm -rf /var/lib/mysql
rm -rf /var/lib/mysql/mysql
rm -rf /usr/lib64/mysql
rm -rf /usr/lib64/perl5/vendor_perl/auto/DBD/mysql
rm -rf /usr/lib64/perl5/vendor_perl/DBD/mysql
rm -rf /usr/share/mysql/
Finally, check whether the deletion is clean ;
find / -name mysql

You can see that it has been deleted ;
4、 uninstall http service
lookup httpd service
rpm -qa httpd
# uninstall httpd service
yum -y remove httpd-2.4.6-97.el7.centos.5.x86_64
5、 uninstall rh-php72-php-fpm service
# lookup rh-php72-php-fpm Installation package
rpm -qa rh-php72-php-fpm

# Just uninstall
yum -y remove rh-php72-php-fpm-7.2.24-1.el7.x86_64
In this way, it is completely unloaded .
边栏推荐
- Uniapp - make phone calls and send text messages
- tensorboard使用记录
- Leetcode 208. implement trie (prefix tree) (2022.07.27)
- ⽇志分析⼯具(Splunk)
- 2022最新Android Handler相关面试题总结
- 【Codeforces Round #806 (Div. 4)(A~F)】
- 响应式高端网站模板源码图库素材资源下载平台源码
- 【SAML SSO解决方案】上海道宁为您带来SAML for ASP.NET/SAML for ASP.NET Core下载、试用、教程
- Softek Barcode Reader 9.1.5
- 【5G NR】RRC Reject解析
猜你喜欢

静态博客搭建工具汇总

Shell编写规范和变量

颜色的识别方法和探索 基于matlab

max_pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType

Shell: one click deployment PXE

4天Excel实战训练营,0.01元特惠仅三天,赠200套学习资料包

Analysis of redis network model

C language to achieve a dynamic version of the address book

VMware虚拟机网络设置

Log analysis tool (Splunk)
随机推荐
C # set TextBox control not editable
《MySQL数据库进阶实战》读后感(SQL 小虚竹)
[5g NR] RRC reject analysis
如何一键进行重装Win11系统
力扣(LeetCode)208. 实现 Trie (前缀树)(2022.07.27)
IronOCR for .NET 2022.8
Redis implements distributed locks
如何让外网访问内网IP(esp8266网页使用)
Practice of online problem feedback module (16): realize the function of checking details
ThreadLocal使用场景
"Introduction to engineering electromagnetic field" after class exercises with answers
Tungsten Fabric SDN — BGP as a Service
静态博客搭建工具汇总
Summary of concurrent programming interview questions
IO analog serial port of stm32
20220727使用汇承科技的蓝牙模块HC-05配对手机进行蓝牙串口的演示
光年(Light Year Admin)后台管理系统模板
Methods of SQL server backup database
Hotel VR panoramic display shooting provides more opportunities for cooperation and negotiation
QT official example: Fridge Magnets example