toolsandtechnologies:greenbone_security_assistant

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
toolsandtechnologies:greenbone_security_assistant [2023/03/06 14:25] – [Feed Status] bosowskitoolsandtechnologies:greenbone_security_assistant [2023/05/11 14:11] (current) – Added sample run command list aryan
Line 11: Line 11:
 === To update/refresh the feeds (when they become outdated):=== === To update/refresh the feeds (when they become outdated):===
   - Login to server as ubuntu@   - Login to server as ubuntu@
-  - Run `docker restart greenbone`+  - Run `docker restart openvas`
   - 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://immauss.github.io/openvas/ Follow the instructions with the persistent volume here: https://immauss.github.io/openvas/
 +
 +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="Your admin password here" --volume openvas:/data --name openvas immauss/openvas
 +</WRAP>
 +
 +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
 +
 +<code>
 +docker run --name=openvas \
 + --env=PASSWORD=ozzrules \
 + --volume=openvas:/data \
 + -p 8080:9392 \
 + --restart=no \
 + --runtime=runc \
 + --detach=true \
 + immauss/openvas
 +</code>
 +
 +
 ---- ----
  
 +=== Uppdate ===
 +
 +Ref: [[https://docs.docker.com/get-started/03_updating_app/|Update docker Container]]
 +
 +To upgrade Greenbone, you must upgrade the docker image and then restart the container.
  
 +<code>
 +docker ps
 +docker pull [docker_image]        immauss/openvas 
 +docker stop <the-container-id>    openvas
 +docker rm <the-container-id>      openvas
 +docker run [add parameters as above]
 +</code>
  
 +Sample Upgrade Command history
  
 +<code>
 +docker ps
 +docker pull  immauss/openvas 
 +docker stop openvas
 +docker rm openvas
 +docker run  --name=openvas --env=PASSWORD=ozzrules --volume=openvas:/data -p 8080:9392 --restart=no --runtime=runc --detach=true immauss/openvas
 +docker ps
 +docker logs -f openvas
 +</code>
toolsandtechnologies/greenbone_security_assistant.1678112719.txt.gz · Last modified: 2023/03/06 14:25 by bosowski