#停止服务
systemctl stop ospd-openvas.service
systemctl stop openvas-manager.service
systemctl stop gsad.service
systemctl stop gvmd.service
systemctl stop postgresql
systemctl stop redis
#确认服务是否已全部停止
systemctl status ospd-openvas.service
systemctl status openvas-manager.service
systemctl status gsad.service
systemctl status gvmd.service
systemctl status postgresql
systemctl status redis
#升级GVM
yum check-update -y
yum update OSPd-openvas.x86_64 -y
yum update gvm.noarch -y
#yum update epel-release.noarch -y
yum update gvm-libs.x86_64 -y
yum update gvmd.x86_64 -y
yum update openvas-scanner.x86_64 -y
yum update openvas-smb.x86_64 -y
yum update greenbone-security-assistant.x86_64 -y
#启动服务
systemctl start postgresql
systemctl start redis
systemctl start mosquitto
#
su - gvm
gvmd --migrate
#启动服务
systemctl start ospd-openvas.service
systemctl start openvas-manager.service
systemctl start gsad.service
systemctl start gvmd.service
#确认服务状态
systemctl status ospd-openvas.service
systemctl status openvas-manager.service
systemctl status gsad.service
systemctl status gvmd.service
systemctl status postgresql
systemctl status redis
#gvm-setup check
标签:status,openvas,GVM,update,手册,升级,servicesystemctl,systemctl,start From: https://www.cnblogs.com/jinyang123/p/17098474.html