[Ubuntu 22.04] GVM OpenVas 설치

mimic1995·2024년 7월 30일
0

APM 설치

Apache 2.4.52 Prefork

apt install -y apache2
a2dismod mpm_event
a2enmod mpm_prefork
a2query -M
systemctl enable apache2 --now

MySQL 8.0.36

apt list mysql
apt install -y mysql-client mysql-server
mysql_secure_installation
systemctl enable mysqld --now

php 7.4.33

add-apt-repository ppa:ondrej/php
apt install -y php7.4 php7.4-bcmath php7.4-bz2 php7.4-cgi php7.4-cli php7.4-curl
php7.4-dba php7.4-enchant php7.4-fpm php7.4-gd php7.4-gmp php7.4-imap php7.4-
intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-odbc php7.4-opcache php7.4-
pgsql php7.4-pspell php7.4-readline php7.4-snmp php7.4-soap php7.4-sqlite3 php7.4-
tidy php7.4-xml php7.4-xmlrpc php7.4-xsl php7.4-zip php7.4-mysqlnd php7.4-gettext
apt install -y php7.4-
{bz2,imagick,imap,intl,gd,mbstring,pspell,curl,readline,xml,xmlrpc,zip}

php.ini 설정 short_open_tag = On ;

apache conf 설정 php 연동

apt install -y libapache2-mod-php7.4
a2enmod php7.4
systemctl restart apache2

및 apache.conf 내부 설정 추가


gvm 설치

계정 추가

adduser gvm --disabled-password --home /opt/gvm/ --no-create-home --gecos ''
passwd gvm 
// sudo 명령어가 필요해서 임시로 password 할당 , 설치 완료 시 다시 패스워드 제거 예정

공식 설치 매뉴얼

https://greenbone.github.io/docs/latest/22.4/source-build/index.html#gvm-tools

설치 시 참고 링크

https://www.postgresql.org/download/linux/ubuntu/
https://velog.io/@lady9305/Ubuntu-22.04-Install-Node-18.16-Postgresql-14
https://medium.com/@ryetiss/vulnerability-scan-with-gvm-cli-xml-commands-on-
greenbone-tool-5b5da8bc87d0
http://github.com/greenbone?q=openvasd&type=all&language=&sort=
https://docs.greenbone.net/GSM-Manual/gos-21.04/en/gmp.html

profile
Raiju Hantu Goryo Obake

0개의 댓글