Originally posted by Ryaan J.
View Post
Hello Ryaan J.,
Everyone knows that the ClamAV scanner is heavy on CPU-memory resources and cannot be used in low-memory Linux systems. If you want to disable the ClamAV scanner from your CentOS system, follow the steps below,
Disable ClamAV Service:
- Firstly, stop the ClamAV scanner by executing the following command,
Code:
# service clamd stop
- Now, run the below commands to disable the ClamAV scanner at the system startup,
Code:
# chkconfig clamd off # chkconfig clamd --del
- Next, once disabling ClamAV, you may have to verify its status.
- Thus, execute the below command to check whether ClamAV is disabled at the boot level.
Code:
#chkconfig --list | grep clam
- Lastly, the system will boot next time without ClamAV service, saving the system resource and making the server faster after applying the above changes.
- Firstly, you can execute the below command to disable other applications and unwanted packages from your CentOS system,
Code:
# chkconfig --list
- It will list all services and determine the service name you want to disable. The above command will display all services and their status at boot on each run level.
- After determining the service name, you can simply execute the command below by replacing the service name with XYZ.
Code:
# chkconfig XYZ off # chkconfig XYZ --del
Thus, I hope the above solution helps you to stop and disable the ClamAV service from the CentOS system.
----------------------------------------
Regards,
Rex Maughan
Leave a comment: