File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Basic concepts:
2626 - ** Script** : Direct input, script library, or server script file.
2727
2828![ img.png] ( ../img/cronjobs/shell.png )
29- {: .original }
29+ {: .browser-mockup }
3030
3131### 1.2 App Backup | Website Backup | Database Backup
3232
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
Original file line number Diff line number Diff line change 77 ```bash
88 yum install -y epel-release
99 ```
10-
10+ !!! note ""
1111 ** 2. Install supervisor**
1212
1313 ```bash
1414 yum install -y supervisor
1515 ```
16-
16+ !!! note ""
1717 ** 3. Start supervisord**
1818
1919 ```bash
2020 systemctl start supervisord
2121 ```
22-
22+ !!! note ""
2323 ** 4. Enable on boot**
2424
2525 ```bash
2626 systemctl enable supervisord
2727 ```
28-
28+ !!! note ""
2929 ** 5. Check status**
3030
3131 ```bash
You can’t perform that action at this time.
0 commit comments