File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 ```bash
2222 yum install -y epel-release
2323 ```
24-
24+ !!! note ""
2525 ** 2. Install ClamAV**
2626
2727 ```bash
2828 yum install clamav clamd clamav-update -y
2929 ```
30-
30+ !!! note ""
3131 ** 3. Modify ClamAV configuration**
3232
3333 ```bash
3838 DatabaseDirectory /var/lib/clamav
3939 LocalSocket /run/clamd.scan/clamd.sock
4040 ```
41-
41+ !!! note ""
4242 ** 4. Modify virus database update configuration**
4343
4444 ```bash
4949 DatabaseMirror database.clamav.net
5050 Checks 12
5151 ```
52-
52+ !!! note ""
5353 ** 5. Start ClamAV services**
5454
5555 ```bash
5656 freshclam
5757 systemctl start clamd@scan.service
5858 systemctl start clamav-freshclam.service
5959 ```
60-
60+ !!! note ""
6161 ** 6. Enable on boot**
6262
6363 ```bash
6464 systemctl enable clamd@scan.service
6565 systemctl enable clamav-freshclam.service
6666 ```
67-
67+ !!! note ""
6868 ** 7. Check service status**
6969
7070 ```bash
7979 ```bash
8080 sudo apt install clamav clamav-daemon -y
8181 ```
82-
82+ !!! note ""
8383 ** 2. Start ClamAV services**
8484
8585 ```bash
8686 freshclam
8787 sudo systemctl start clamav-daemon
8888 sudo systemctl start clamav-freshclam.service
8989 ```
90-
90+ !!! note ""
9191 ** 3. Enable on boot**
9292
9393 ```bash
9494 sudo systemctl enable clamav-daemon
9595 sudo systemctl enable clamav-freshclam.service
9696 ```
97-
97+ !!! note ""
9898 ** 4. Check service status**
9999
100100 ```bash
You can’t perform that action at this time.
0 commit comments