User Tools
toolsandtechnologies:greenbone_security_assistant
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| toolsandtechnologies:greenbone_security_assistant [2021/12/22 00:20] – created 10.91.120.28 | toolsandtechnologies:greenbone_security_assistant [2023/05/11 14:11] (current) – Added sample run command list aryan | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Details ===== | ===== Details ===== | ||
| - | Accessible at [[https:// | + | Accessible at [[http:// |
| - | + | ||
| - | 2021/12/21 - Version 20.08.0~git-fdd51705e-gsa-20.08 | + | |
| ==== Feed Status ==== | ==== Feed Status ==== | ||
| - | Visible at the feed status page | + | Visible at [[http:// |
| - | {{:toolsandtechnologies: | + | === To update/ |
| + | - Login to server as ubuntu@ | ||
| + | - Run `docker restart openvas` | ||
| + | | ||
| - | Manual updates currently (2021/12) | + | Run `docker logs greenbone -f` to follow logs. |
| - | - Login to server as ubuntu@ | + | === New Install |
| - | - sudo su gvm | + | |
| - | - cd /opt/gvm | + | |
| - | - ./ | + | |
| - | Logging is recorded in gvm@errigal-openvas:/opt/gvm/gvm_log | + | Follow the instructions with the persistent volume here: https://immauss.github.io/ |
| + | 10/May - instructions contains were | ||
| + | Start the container with a persistent volume: | ||
| - | ---- | + | <WRAP center round box 60%> |
| - | | + | docker run --detach |
| - | * 2021-12-21 16:16:43 Start GVM_DATA Sync | + | </ |
| - | * 2021-12-21 16:16:43 Start SCAP Sync | + | |
| - | * 2021-12-21 16:16:43 Start CERT Sync | + | |
| - | * 2021-12-21 16:16:43 Start CERT NVT Sync | + | |
| - | * 2021-12-21 16:16:43 Completed CERT NVT Sync | + | |
| - | ---- | + | |
| + | You can use whatever --name you’d like but for the sake of this guide we’re using openvas. | ||
| - | === Report Monitoring === | + | The --publish 8080:9392 option will port forward 8080 on the host to 9392 (the container web interface port) in the docker container. Port 8080 was chosen only to avoid conflicts with any existing OpenVAS/GVM installation. You can change 8080 to any available port that you`d like. |
| + | Note, the current startup parameters are | ||
| + | |||
| + | < | ||
| + | docker run --name=openvas \ | ||
| + | --env=PASSWORD=ozzrules \ | ||
| + | --volume=openvas:/ | ||
| + | -p 8080:9392 \ | ||
| + | --restart=no \ | ||
| + | --runtime=runc \ | ||
| + | --detach=true \ | ||
| + | immauss/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ---- | ||
| - | == Tasks == | + | === Uppdate === |
| + | Ref: [[https:// | ||
| + | To upgrade Greenbone, you must upgrade the docker image and then restart the container. | ||
| + | < | ||
| + | docker ps | ||
| + | docker pull [docker_image] | ||
| + | docker stop < | ||
| + | docker rm < | ||
| + | docker run [add parameters as above] | ||
| + | </ | ||
| + | Sample Upgrade Command history | ||
| + | < | ||
| + | docker ps | ||
| + | docker pull immauss/ | ||
| + | docker stop openvas | ||
| + | docker rm openvas | ||
| + | docker run --name=openvas --env=PASSWORD=ozzrules --volume=openvas:/ | ||
| + | docker ps | ||
| + | docker logs -f openvas | ||
| + | </ | ||
toolsandtechnologies/greenbone_security_assistant.1640132441.txt.gz · Last modified: 2021/12/22 00:20 by 10.91.120.28