mirror of
https://github.com/imthenachoman/How-To-Secure-A-Linux-Server.git
synced 2026-11-18 18:16:07 +01:00
Revise Lynis installation commands for Debian
Updated installation instructions for Lynis on Debian systems to use GPG keyrings.
This commit is contained in:
1 parent
57f7c8c437
commit
7f575e6284
1 file changed
+6
-5
@@ -3029,11 +3029,12 @@ From [https://cisofy.com/lynis/](https://cisofy.com/lynis/):
|
|||||||
On Debian based systems, using CISOFY's community software repository:
|
On Debian based systems, using CISOFY's community software repository:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
sudo apt install apt-transport-https ca-certificates host
|
sudo apt install ca-certificates host
|
||||||
sudo wget -O - https://packages.cisofy.com/keys/cisofy-software-public.key | sudo apt-key add -
|
sudo mkdir -p /etc/apt/keyrings
|
||||||
sudo echo "deb https://packages.cisofy.com/community/lynis/deb/ stable main" | sudo tee /etc/apt/sources.list.d/cisofy-lynis.list
|
wget -O - https://packages.cisofy.com/keys/cisofy-software-public.key | sudo gpg --dearmor -o /etc/apt/keyrings/cisofy-lynis.gpg
|
||||||
sudo apt update
|
echo "deb [signed-by=/etc/apt/keyrings/cisofy-lynis.gpg] https://packages.cisofy.com/community/lynis/deb/ stable main" | sudo tee /etc/apt/sources.list.d/cisofy-lynis.list
|
||||||
sudo apt install lynis host
|
sudo apt update
|
||||||
|
sudo apt install lynis
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Update it:
|
1. Update it:
|
||||||
|
|||||||
Reference in new issue
Block a user