当前位置:网站首页>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 .
边栏推荐
- How to use JDBC to operate database
- 【Codeforces Round #806 (Div. 4)(A~F)】
- 20220727使用汇承科技的蓝牙模块HC-05配对手机进行蓝牙串口的演示
- 什么是虚函数?
- Detailed tutorial of one click reinstallation of win7 system
- golang 获取循环嵌套结构的tag
- 数据湖(十七):Flink与Iceberg整合DataStream API操作
- Redis经典面试题总结
- ThreadLocal usage scenario
- 每日练习------实现双色球的彩票功能。规则:从36个红球中随机选择不重复的6个数,从15个篮球中随机选择1个组成一注彩票。可以选择买多注。
猜你喜欢

Shell编写规范和变量

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

MySQL的碎片有哪些

「运维有小邓」网络设备监控
D2DEngine食用教程(4)———绘制文本

20220727 use the Bluetooth module hc-05 of Huicheng technology to pair mobile phones for Bluetooth serial port demonstration

STM32 RT-Thread虚拟文件系统挂载操作

Malloc, free, calloc, realloc dynamic memory development functions in dynamic memory management

叶子识别 颜色的特征提取 缺陷检测等

What are the fragments of MySQL
随机推荐
容器相关的概念
工程电磁场复习基本知识点
将Helm编写的Chart推送到Harbor仓库
ASEMI整流桥GBPC5010,GBPC5010参数,GBPC5010大小
如何一键进行重装Win11系统
STM32 RT-Thread虚拟文件系统挂载操作
Redis memory recycling
Uniapp - make phone calls and send text messages
Response to questions about the balanced beacon group of Hubei University of Arts and Sciences
Malloc, free, calloc, realloc dynamic memory development functions in dynamic memory management
AIRIOT答疑第6期|如何使用二次开发引擎?
QFileDevice、QFile、QSaveFile、QTemporaryFile
20220726汇承科技的蓝牙模块HC-05的AT命令测试
MySQL的碎片有哪些
What if the word selection box of win11 input method is missing?
Redis实现分布式锁
Leetcode 208. implement trie (prefix tree) (2022.07.27)
关于湖北文理学院平衡信标组的疑问回应
Win11输入法的选字框不见了怎么办?
VI command details