User Tools
toolsandtechnologies:greenbone_security_assistant
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| toolsandtechnologies:greenbone_security_assistant [2023/03/06 14:25] – [Feed Status] bosowski | toolsandtechnologies:greenbone_security_assistant [2023/05/11 14:11] (current) – Added sample run command list aryan | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| === To update/ | === To update/ | ||
| - Login to server as ubuntu@ | - Login to server as ubuntu@ | ||
| - | - Run `docker restart | + | - Run `docker restart |
| - Wait for the feeds to update and Greenbone to stand up | - Wait for the feeds to update and Greenbone to stand up | ||
| Line 19: | Line 19: | ||
| Follow the instructions with the persistent volume here: https:// | Follow the instructions with the persistent volume here: https:// | ||
| + | |||
| + | 10/May - instructions contains were | ||
| + | Start the container with a persistent volume: | ||
| + | |||
| + | <WRAP center round box 60%> | ||
| + | docker run --detach --publish 8080:9392 -e PASSWORD=" | ||
| + | </ | ||
| + | |||
| + | You can use whatever --name you’d like but for the sake of this guide we’re using openvas. | ||
| + | |||
| + | 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/ | ||
| + | </ | ||
| + | |||
| + | |||
| ---- | ---- | ||
| + | === 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.1678112719.txt.gz · Last modified: 2023/03/06 14:25 by bosowski