Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/3tternp/openvas
https://github.com/3tternp/openvas
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/3tternp/openvas
- Owner: 3tternp
- Created: 2023-03-24T07:17:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-25T19:21:52.000Z (7 months ago)
- Last Synced: 2024-04-25T20:24:27.361Z (7 months ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# openvas
1. Open terminal and clone the repo to your system
**git clone https://github.com/3tternp/openvas**
2. change path to directory
cd openvas
3. change execution permission to the file as
chmod +x openvas.sh
4. now run the file as
sudo ./openvas.sh
if you have multiple version of postgresql then you will get below error for testing i have postgresql 14 and 15 in my system so i got an error as
__[-] ERROR: The default PostgreSQL version (15) is not 16 that is required by libgvmd__
__[-] ERROR: Use pg_upgradecluster to update your PostgreSQL cluster__
To fix this error just change the port number of postgresql 15 and 16 go to the file
sudo gedit /etc/postgresql/16/main/postgresql.confsearch for 5433 and change it to 5432
and for postgresql 16 make changes as
__sudo gedit /etc/postgresql/15/main/postgresql.conf__
search for 5432 and change it to 5433
and restart the postgresql server using following command
__sudo systemctl restart postgresql__
Now you can run the script once again without any problem.