The following steps are run under administrator root privileges
The first step: add the PPA source, and then update to obtain the download package of openvas
Add: add-apt-repository ppa:mrazavi/openvas
Update: apt update
Step 2: Install openvas database sqlite3, and install openvas9
Install the database: apt install sqlite3
安装openvas9:apt install openvas9
When installing openvas, a window will pop up, press Enter to Yes, the window will automatically configure the prompt of redis
Step 3: Synchronize the sync database, install the OpenVAS-nasl program with the libopenvas9-dev package, which allows running a single OpenVAS nasl script for quick checking and troubleshooting. It is recommended that students who install on their own computers hang up the VPN , otherwise the probability of updating is very high.
安装libopenvas9-dev:apt install libopenvas9-dev
Sync Network Vulnerability Test (NVT) : greenbone-nvt-sync
Sync SCAP data: greenbone-scapdata-sync
Sync CERT data: greenbone-certdata-sync
Step 4: Open openvas-scanner
Start: service openvas-scanner restart
Open openvas-manager:
service openvas-manager restart
openvasmd --rebuild --progress
It will take a while here, and finally a done will be displayed! Indicates that the installation is complete!
Original link: written by the big guy
Another one is installed with source code: Another big guy
Only