How to disable postfix, clamav and bind server?

Started by Regset, October 30, 2021, 07:22:41 AM

Previous topic - Next topic

Regset

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!

Netino

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.


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

Regset

I already did it. But after a while, these services appear again. So I ask how to delete these services completely.
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

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

No Match for argument: postfix
No Packages marked for removal



Regset

I solved this problem, maybe someone will find this solution useful. We just add to /etc/yum.conf: exclude=postfix clamav clamd bind
And these services will no longer be installed.