当前位置:网站首页>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 .
边栏推荐
- [uni app advanced practice] take you hand-in-hand to learn the development of a purely practical complex project 2/100
- How to reinstall win11 system with one click
- max_ pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType
- VMware虚拟机网络设置
- Engineering Geology Practice - engineering geology problem set
- After reading MySQL database advanced practice (SQL xiaoxuzhu)
- Shell writing specifications and variables
- 同时导出多个excel,并且一个excel中包含多个sheet
- Win11黑色桌面背景如何解决?
- “讳疾忌医”的开源走不远
猜你喜欢

Redis5种数据结构解析

SQL Server备份数据库的方法

MySQL stored procedures use cursors to synchronize data between two tables

What if the word selection box of win11 input method is missing?

「运维有小邓」网络设备监控

Redis实现分布式锁

如何让外网访问内网IP(esp8266网页使用)

20220726 at command test of Bluetooth module hc-05 of Huicheng Technology

C WinForm development: how to add pictures to project resources

颜色的识别方法和探索 基于matlab
随机推荐
Redis经典面试题总结
⽇志分析⼯具(Splunk)
RBD块存储设备的扩容以及缩容操作(六)
叶子识别 颜色的特征提取 缺陷检测等
VMware虚拟机网络设置
What is a virtual function?
整合SSM实现增删改查搜索
GNU General Public License v2.0 GNU General Public License
What are the fragments of MySQL
vba批量读取sql的create文来创建表
How to solve the problem of win11 black desktop background?
【类的本质(Objective-C语言中)】
版本兼容的问题
自定义注解的使用
Win11如何重命名音频设备
Win11输入法的选字框不见了怎么办?
将Helm编写的Chart推送到Harbor仓库
Alibaba cloud international email service package purchase process
Uniapp - make phone calls and send text messages
Redis持久化机制