Edukasi

How to Stop and Disable ClamAV Service from CentOS?

We all know that ClamAV scanner is pretty heavy on CPU-Memory resources, and it should be avoided in low memory Linux systems. If you want to disable the ClamAV scanner from your CentOS system, you can refer to the following instructions.

Disable ClamAV service

  1. The first step is to stop the ClamAV scanner by applying following command.
    # service clamd stop
  2. To enable and disable the services in Red Hat based Linux distributions, chkconfig script is used. Issue following commands to disable the ClamAV scanner at the system startup.
    # chkconfig clamd off 
    # chkconfig clamd --del
  3. Once ClamAV is disabled, you may have to verify it’s status. Execute the following command to check whether ClamAV is disabled at boot level or not. If ClamAV is disabled successfully following command won’t show you any result.
    #chkconfig --list | grep clam

    After applying above changes, The system next time will boot without ClamAV service which in fact will be saving our system resource and the server would be faster.

Disable other unwanted services

You can execute command shown in step#2 to disable other unwanted packages and application from your CentOS system. All you’ve to do is, execute the following command to list all services and determine the service name you want to disable. The following command will display all services and their status at boot on each run level.

 

# chkconfig --list

Once the service name is determined, execute the command shown in step#2 replacing service name with clamd.

→ Looking to install the ClamAV plugin from WHM? Please refer to Install ClamAV for more details.

→ Want to run ClamAV scan from SSH in cPanel? Please refer to Run ClamAV for more details.

→ Looking to run Maldate and ClamAV from the same server? Please refer to Run multiple scanners for more details.

ryan

Recent Posts

Jadwal Imsak dan Buka Puasa Ramadhan 2025 Kota Serang Selama Sebulan

Berikut jadwal imsak dan buka puasa Ramadhan 2025 di Kota Serang dari tanggal 1 Ramadhan -…

3 hari ago

Jadwal Resmi Awal Puasa Ramadan 2025 Pemerintah, NU, Muhammadiyah

Jakarta - Pemerintah telah menetapkan awal Ramadan 2025 berdasarkan hasil sidang isbat oleh Kemenag. Begitu pula dengan organisasi masyarakat…

5 hari ago

Meta AI Ditanya Luas Kebakaran Los Angeles, Hasilnya Mengejutkan Sama dengan Luas Gaza

Siapa sangka, salah satu warganet justru mendapat informasi tak terduga yang berasal dari Meta AI.…

2 bulan ago

Tebak-tebakan pelesetan kata ini lucu abis, awas ketawa ngakak

Ketika menjalani rutinitas sehari-hari tentu saja kamu pernah merasa suntuk atau jenuh. Supaya kamu bisa…

2 bulan ago

Kapal China Diduga Biang Kerok Internet Mati Total di Berbagai Negara

Sebuah kapal kargo komersial China diduga sengaja menyeret jangkarnya untuk memotong kabel bawah laut yang…

3 bulan ago

Ini Sumber Kekayaan Nabi Sulaiman, Sungguh di Luar Dugaan

Nabi Sulaiman dikenal sebagai raja yang kaya raya. Para ilmuwan arkeologi kini mengungkap apa sumber kekayaannya,…

3 bulan ago