Security/OpenVAS: Difference between revisions
Jump to navigation
Jump to search
| Line 531: | Line 531: | ||
docker compose -f ./docker-compose.yml exec pg-gvm su postgres | docker compose -f ./docker-compose.yml exec pg-gvm su postgres | ||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U postgres -d gvmd | docker compose -f ./docker-compose.yml exec pg-gvm psql -U postgres -d gvmd | ||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U gvmd -d gvmd | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 553: | Line 554: | ||
docker compose -f ./docker-compose.yml down | docker compose -f ./docker-compose.yml down | ||
docker compose -f ./docker-compose.yml down --volumes | docker compose -f ./docker-compose.yml down --volumes | ||
</syntaxhighlight> | |||
|} | |||
{|class='wikitable mw-collapsible mw-collapsed' style='width:100%;margin:6px 0 3px 0' | |||
!scope='col' style='text-align:left'| | |||
Containers » Vacuum | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U postgres -d gvmd -c "SELECT pg_size_pretty(pg_database_size('gvmd'));" | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U postgres -d gvmd -c "VACUUM ANALYZE;" | |||
</syntaxhighlight> | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U gvmd -d gvmd -c "SELECT pg_size_pretty(pg_database_size('gvmd'));" | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U gvmd -d gvmd -c "VACUUM ANALYZE;" | |||
</syntaxhighlight> | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U postgres -d gvmd -c "VACUUM FULL;" | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U postgres -d gvmd -c "REINDEX DATABASE gvmd;" | |||
</syntaxhighlight> | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U gvmd -d gvmd -c "VACUUM FULL;" | |||
docker compose -f ./docker-compose.yml exec pg-gvm psql -U gvmd -d gvmd -c "REINDEX DATABASE gvmd;" | |||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Revision as of 09:36, 26 November 2025
OpenVAS » Debian
|
OpenVAS » Debian | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
OpenVAS » Containers
|
OpenVAS » Containers | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
References
|
References | ||
|---|---|---|