# Install OpenVAS on Kali Linux
## Links
+ https://github.com/greenbone/gvmd
+ https://community.greenbone.net/
Nessus:
+ [How to Install and Configure Nessus Vulnerability Scanner on Kali Linux](https://www.howtoforge.com/how-to-install-and-configure-nessus-on-kali-linux/)
+ [How to install, configure and use Nessus Vulnerability Scanner on CentOS 8](https://www.howtoforge.com/how-to-install-configure-and-use-nessus-vulnerability-scanner-on-centos-8/)
## Install Kali Linux VM
NetInstaller ISO: https://www.kali.org/get-kali/#kali-bare-metal
Install Note:
+ **Uncheck** Desktop Environment
+ **Uncheck** XFCE
Update the system
```shell=
sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y
```
## Install OpenVAS
```shell=
sudo apt install openvas
```
Run the following command to start the setup process:
>The setting process may take some time and consume a lot of data. In the test setup we used for this tutorial, the complete setup process took 10 minutes, which is not bad.
```shell=
sudo gvm-setup
```
>After the configuration process is complete, all the necessary OpenVAS processes will start and the web interface will open automatically. The web interface is running locally on port 9392 and can be accessed through `https://localhost:9392`.
Verify the Installation
```shell=
sudo gvm-check-setup
```
Password reset
```shell=
sudo runuser -u _gvm -- gvmd --user=admin --new-password=new_password
```
## Starting and stopping OpenVAS
Run the following command to start the services:
```shell=
Sudo gvm-start
```
To stop the OpenVAS services again, run:
```shell=
sudo gvm-stop
```
To create a new user:
```shell=
sudo runuser -u _gvm -- gvmd --create-user=admin2 --new-password=12345
```
To change the password of the existing user:
```shell=
sudo runuser -u _gvm -- gvmd --user=admin --new-password=new_password
```
## Configure OpenVAS
Change timezone:
>NOTE: Recommend setting the timezone as UTC, the report displays UTC time only no matter what timezone you set.
Top-Right corner > My Settings
![](https://i.imgur.com/eAo4d2j.png)
## Automatic Feed Updates With Cron
```
sudo greenbone-feed-sync --type GVMD_DATA
sudo greenbone-feed-sync --type SCAP
sudo greenbone-feed-sync --type CERT
```
>Please note: The `CERT` feed sync depends on data provided by the `SCAP` feed and should be called after syncing the latter.