Control Web Panel

WebPanel => How to => Topic started by: Regset on October 30, 2021, 07:22:41 AM

Title: How to disable postfix, clamav and bind server?
Post by: Regset on October 30, 2021, 07:22:41 AM
Hello! How to completely remove not necessary services, such as postfix, clamav and bind server? I remove them, but they still appear. Thanks in advance for the answer!
Title: Re: How to disable postfix, clamav and bind server?
Post by: Netino on October 31, 2021, 02:46:16 AM
If you know they are "unneeded", why you already don't know to remove then?
Are you sure is really unneeded?
They are *vital* to most people here, for hosting services.

Code: [Select]
yum remove -y postfix
yum remove -y clamd clamav clamav-filesystem clamav-update clamav-lib clamav-data
yum remove -y bind bind-libs bind-libs-lite bind-export-libs bind-license bind-utils

Regards,
Netino
Title: Re: How to disable postfix, clamav and bind server?
Post by: Regset on October 31, 2021, 07:56:22 AM
I already did it. But after a while, these services appear again. So I ask how to delete these services completely.
Code: [Select]
No Match for argument: clamd
No Match for argument: clamav
No Match for argument: clamav-filesystem
No Match for argument: clamav-update
No Match for argument: clamav-lib
No Match for argument: clamav-data
No Packages marked for removal
Code: [Select]
No Match for argument: bind
No Match for argument: bind-libs
No Match for argument: bind-libs-lite
No Match for argument: bind-export-libs
No Match for argument: bind-license
No Match for argument: bind-utils
No Packages marked for removal
Code: [Select]
No Match for argument: postfix
No Packages marked for removal
(https://i.imgur.com/OblfFCy.png)
(https://i.imgur.com/rrtJOaZ.png)
Title: Re: How to disable postfix, clamav and bind server?
Post by: Regset on November 04, 2021, 09:21:16 AM
I solved this problem, maybe someone will find this solution useful. We just add to /etc/yum.conf:
Code: [Select]
exclude=postfix clamav clamd bind
And these services will no longer be installed.