Ubuntu 2004 安装Greenbone Vulnerability Management version 11

 

googlebigtable@googlebigtable-virtual-machine:~$ sudo apt-get update

[sudo] password for googlebigtable:

Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease

Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]

Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease

Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]

Fetched 205 kB in 2s (94.1 kB/s)                                     

Reading package lists... Done

googlebigtable@googlebigtable-virtual-machine:~$ sudo apt-get install -y aptitude

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  aptitude-common libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl libcwidget4 libfcgi-perl libio-string-perl libparse-debianchangelog-perl libsub-name-perl

  libxapian30

Suggested packages:

  aptitude-doc-en | aptitude-doc apt-xapian-index debtags tasksel libcwidget-dev libhtml-template-perl libxml-simple-perl xapian-tools

The following NEW packages will be installed:

  aptitude aptitude-common libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl libcwidget4 libfcgi-perl libio-string-perl libparse-debianchangelog-perl

  libsub-name-perl libxapian30

0 upgraded, 11 newly installed, 0 to remove and 163 not upgraded.

Need to get 4,325 kB of archives.

After this operation, 19.9 MB of additional disk space will be used.

Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 aptitude-common all 0.8.12-1ubuntu4 [1,711 kB]

Get:2 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libcwidget4 amd64 0.5.18-5build1 [306 kB]                                                              

Get:3 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libxapian30 amd64 1.4.14-2 [661 kB]                                                                    

Get:4 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 aptitude amd64 0.8.12-1ubuntu4 [1,323 kB]                                                              

Get:5 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libcgi-pm-perl all 4.46-1 [186 kB]                                                                         

Get:6 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libfcgi-perl amd64 0.79-1 [33.1 kB]                                                                        

Get:7 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libcgi-fast-perl all 1:2.15-1 [10.5 kB]                                                                    

Get:8 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libsub-name-perl amd64 0.26-1 [11.5 kB]                                                                    

Get:9 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libclass-accessor-perl all 0.51-1 [21.2 kB]                                                            

Get:10 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libio-string-perl all 1.08-3 [11.1 kB]                                                                    

Get:11 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libparse-debianchangelog-perl all 1.2.0-13 [49.7 kB]                                                  

Fetched 4,325 kB in 22s (193 kB/s)                                                                                                                                    

Selecting previously unselected package aptitude-common.

(Reading database ... 180333 files and directories currently installed.)

Preparing to unpack .../00-aptitude-common_0.8.12-1ubuntu4_all.deb ...

Unpacking aptitude-common (0.8.12-1ubuntu4) ...

Selecting previously unselected package libcwidget4:amd64.

Preparing to unpack .../01-libcwidget4_0.5.18-5build1_amd64.deb ...

Unpacking libcwidget4:amd64 (0.5.18-5build1) ...

Selecting previously unselected package libxapian30:amd64.

Preparing to unpack .../02-libxapian30_1.4.14-2_amd64.deb ...

Unpacking libxapian30:amd64 (1.4.14-2) ...

Selecting previously unselected package aptitude.

Preparing to unpack .../03-aptitude_0.8.12-1ubuntu4_amd64.deb ...

Unpacking aptitude (0.8.12-1ubuntu4) ...

Selecting previously unselected package libcgi-pm-perl.

Preparing to unpack .../04-libcgi-pm-perl_4.46-1_all.deb ...

Unpacking libcgi-pm-perl (4.46-1) ...

Selecting previously unselected package libfcgi-perl.

Preparing to unpack .../05-libfcgi-perl_0.79-1_amd64.deb ...

Unpacking libfcgi-perl (0.79-1) ...

Selecting previously unselected package libcgi-fast-perl.

Preparing to unpack .../06-libcgi-fast-perl_1%3a2.15-1_all.deb ...

Unpacking libcgi-fast-perl (1:2.15-1) ...

Selecting previously unselected package libsub-name-perl.

Preparing to unpack .../07-libsub-name-perl_0.26-1_amd64.deb ...

Unpacking libsub-name-perl (0.26-1) ...

Selecting previously unselected package libclass-accessor-perl.

Preparing to unpack .../08-libclass-accessor-perl_0.51-1_all.deb ...

Unpacking libclass-accessor-perl (0.51-1) ...

Selecting previously unselected package libio-string-perl.

Preparing to unpack .../09-libio-string-perl_1.08-3_all.deb ...

Unpacking libio-string-perl (1.08-3) ...

Selecting previously unselected package libparse-debianchangelog-perl.

Preparing to unpack .../10-libparse-debianchangelog-perl_1.2.0-13_all.deb ...

Unpacking libparse-debianchangelog-perl (1.2.0-13) ...

Setting up libxapian30:amd64 (1.4.14-2) ...

Setting up libcgi-pm-perl (4.46-1) ...

Setting up libio-string-perl (1.08-3) ...

Setting up libcwidget4:amd64 (0.5.18-5build1) ...

Setting up aptitude-common (0.8.12-1ubuntu4) ...

Setting up aptitude (0.8.12-1ubuntu4) ...

update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode

Setting up libsub-name-perl (0.26-1) ...

Setting up libfcgi-perl (0.79-1) ...

Setting up libclass-accessor-perl (0.51-1) ...

Setting up libcgi-fast-perl (1:2.15-1) ...

Setting up libparse-debianchangelog-perl (1.2.0-13) ...

Processing triggers for man-db (2.9.1-1) ...

Processing triggers for libc-bin (2.31-0ubuntu9) ...

googlebigtable@googlebigtable-virtual-machine:~$ sudo timedatectl set-timezone Asia/Shanghai

googlebigtable@googlebigtable-virtual-machine:~$ sudo systemctl restart syslog

googlebigtable@googlebigtable-virtual-machine:~$

ooglebigtable@googlebigtable-virtual-machine:~$ sudo apt install -y postgresql

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Success. You can now start the database server using:

 

    pg_ctlcluster 12 main start

 

Ver Cluster Port Status Owner    Data directory              Log file

12  main    5432 down   postgres /var/lib/postgresql/12/main /var/log/postgresql/postgresql-12-main.log

update-alternatives: using /usr/share/postgresql/12/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode

Setting up sysstat (12.2.0-2) ...

 

Creating config file /etc/default/sysstat with new version

update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode

Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.

Setting up postgresql (12+214ubuntu0.1) ...

Processing triggers for systemd (245.4-4ubuntu3.2) ...

Processing triggers for man-db (2.9.1-1) ...

Processing triggers for libc-bin (2.31-0ubuntu9) ...

googlebigtable@googlebigtable-virtual-machine:~$

googlebigtable@googlebigtable-virtual-machine:~$ sudo add-apt-repository ppa:mrazavi/gvm

 Greenbone Vulnerability Management version 11 (GVM-11) is the current stable major release of tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution. GVM is developed for and as part of the commercial product line Greenbone Security Manager. It is developed by Greenbone and licenced as Open Source.

 

More info at: https://community.greenbone.net/

 

** NEW **

A set of docker images based on this PPA are avialble at docker hub. It could be used to setup GVM on any distribution of GNU/Linux.

More info: https://github.com/admirito/gvm-containers

 

===

 

To install the Greenbone Vulnerability Management 11 packages on Ubuntu 20.04 Focal Fossa first you need to install PostgreSQL database server (if you don't already have one--it could also be installed on a remote machine):

 

sudo apt install postgresql

 

Then use the following commands to install GVM:

 

sudo add-apt-repository ppa:mrazavi/gvm

sudo apt install gvm

 

Finally, you have to update the greenbone nvt/cert/scap data with these commands:

 

greenbone-nvt-sync

sudo greenbone-scapdata-sync

sudo greenbone-certdata-sync

 

You can access the Greenbone Security Assistant web interface at:

 

https://localhost:9392

 

(The port number has changed according to the upstream in the new version and the old 4000 port number is no longer the default)

 

The default username/password is as follows:

 

Username: admin

Password: admin

 

You can check the status of greenbone daemons with systemctl:

 

systemctl status ospd-openvas  # scanner

systemctl status gvmd  # manager

systemctl status gsad  # web ui

 

A note for GVM 10 users:

 

GVM-10 supported both SQLite and PostgreSQL as database backend for gvmd. Unfortunately GVM-11 only supports PostgreSQL, so if you are using SQLite backend, you have to migrate to PostgreSQL. More info is available on https://github.com/greenbone/gvmd/blob/v9.0.0/INSTALL.md#migrating-from-sqlite-to-postgresql

 

Another new change in GVM-11 is that openvas-scanner package is now renamed to openvas. The new openvas package doesn't provide a daemon. Instead there is a new ospd-openvas package/daemon which executes openvas binary and gvmd connects to ospd-openvas with OSP protocol to perform the vulnerability scans.

 

Finally, if you were using PostgreSQL backend with GVM-10 it is worth noting that gvmd package will migrate the database automatically for you. But if you have problems with the database you can run the following commands to do it manually:

 

. /etc/default/gvmd

gvmd --migrate

 

And if gvmd is complaining it cannot connect to openvas it maybe because the scanner defined in the database is outdated. You can always recreate a new database with:

 

# IMPORTANT NOTE: if you choose to reinstall the database the old database

#                 will be deleted and you will loose the associated data

#                 e.g. all the scans, reports, etc. WILL BE DELETED.

sudo dpkg-reconfigure gvmd-pg

 

Also GVM 10 nvticache in the redis is not compatible with GVM 11 so you have to flush the cache in the redis after upgrading the GVM:

 

sudo redis-cli -s /var/run/redis/redis.sock FLUSHALL

 

A note for OpenVAS 9 users:

 

The new gvm-10 packages of this PPA are not compatible with openvas-9 series. To upgrade from openvas-9 to gvm-10, you have to first backup your data, most importantly the "mgr" directory containing the tasks.db database located at /var/lib/openvas/mgr; then purge the old packages with the following commands:

 

sudo systemctl stop openvas-manager

mkdir ~/openvas-backup

sudo cp -a /var/lib/openvas ~/openvas-backup/lib

sudo cp -a /etc/openvas ~/openvas-backup/etc

 

sudo apt purge 'openvas9*' 'libopenvas9*'

sudo rm -rf /var/log/openvas /var/lib/openvas /var/cache/openvas/

 

Then, you can install gvm-10 with the previous instructions of the PPA. Finally you can restore the tasks.db by the following commands:

 

sudo systemctl stop gvmd

sudo rm -f /var/lib/gvm/gvmd/gvmd.db*

echo .dump | sudo sqlite3 ~/openvas-backup/lib/mgr/tasks.db | \

             sudo sqlite3 /var/lib/gvm/gvmd/gvmd.db

sudo gvmd --migrate

sudo systemctl start gvmd

 

For more information read the gvmd manual at: https://github.com/greenbone/gvmd/blob/v8.0.0/INSTALL.md#migrating-to-version-80

 More info: https://launchpad.net/~mrazavi/+archive/ubuntu/gvm

Press [ENTER] to continue or Ctrl-c to cancel adding it.

 

Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease                                      

Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]                      

Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                                                   

Get:4 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal InRelease [17.5 kB]    

Get:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]              

Get:6 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main i386 Packages [2,012 B]                  

Get:7 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 Packages [4,300 B]                                                                                 

Get:8 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main Translation-en [2,544 B]                                                                                 

Fetched 232 kB in 8s (29.3 kB/s)                                                                                                                                      

Reading package lists... Done

googlebigtable@googlebigtable-virtual-machine:~$

googlebigtable@googlebigtable-virtual-machine:~$ sudo apt install -y gvm

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  curl dbconfig-common dbconfig-pgsql dvisvgm fonts-lmodern gnutls-bin gsad gvmd-common gvmd-pg libatomic1 libblas3 libcurl4 libgnutls-dane0 libgnutls30 libgvm

  libgvm-pg-server0 libhdb9-heimdal libhiredis0.14 libjemalloc2 liblinear4 liblua5.1-0 libmicrohttpd12 libopenvas-wincmd1 libopenvas-wmiclient1 libopts25 libptexenc1

  libteckit0 libtexlua53 libtexluajit2 libunbound8 libzzip-0-13 lmodern lua-bitop lua-cjson lua-lpeg nmap nmap-common openvas openvas-smb ospd-openvas python3-bs4

  python3-defusedxml python3-html5lib python3-lxml python3-ospd python3-packaging python3-psutil python3-pyparsing python3-redis python3-soupsieve

  python3-webencodings redis-server redis-tools t1utils tex-common texlive-base texlive-binaries texlive-latex-base xml-twig-tools xsltproc

Suggested packages:

  xmlstarlet smbclient snmp sshpass socat haveged liblinear-tools liblinear-dev ncat ndiff zenmap python3-genshi python3-lxml-dbg python-lxml-doc python3-ospd-doc

  python-psutil-doc python-pyparsing-doc python3-hiredis ruby-redis debhelper perl-tk xzdec texlive-latex-base-doc

The following NEW packages will be installed:

  curl dbconfig-common dbconfig-pgsql dvisvgm fonts-lmodern gnutls-bin gsad gvm gvmd-common gvmd-pg libatomic1 libblas3 libgnutls-dane0 libgvm libgvm-pg-server0

  libhdb9-heimdal libhiredis0.14 libjemalloc2 liblinear4 liblua5.1-0 libmicrohttpd12 libopenvas-wincmd1 libopenvas-wmiclient1 libopts25 libptexenc1 libteckit0

  libtexlua53 libtexluajit2 libunbound8 libzzip-0-13 lmodern lua-bitop lua-cjson lua-lpeg nmap nmap-common openvas openvas-smb ospd-openvas python3-bs4

  python3-defusedxml python3-html5lib python3-lxml python3-ospd python3-packaging python3-psutil python3-pyparsing python3-redis python3-soupsieve

  python3-webencodings redis-server redis-tools t1utils tex-common texlive-base texlive-binaries texlive-latex-base xml-twig-tools xsltproc

The following packages will be upgraded:

  libcurl4 libgnutls30

2 upgraded, 59 newly installed, 0 to remove and 161 not upgraded.

Need to get 62.5 MB/63.4 MB of archives.

After this operation, 253 MB of additional disk space will be used.

Get:1 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 libgvm amd64 11.0.1-2 [73.5 kB]

Get:2 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 libopenvas-wmiclient1 amd64 1.0.5-2 [995 kB]

Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libunbound8 amd64 1.9.4-2ubuntu1.1 [349 kB]

Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls-dane0 amd64 3.6.13-2ubuntu1.3 [29.1 kB]                                                  

Get:5 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libopts25 amd64 1:5.18.16-3 [59.4 kB]                                                                  

Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 gnutls-bin amd64 3.6.13-2ubuntu1.3 [275 kB]                                                    

Get:7 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libatomic1 amd64 10-20200411-0ubuntu1 [9,284 B]                                                            

Get:8 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libhiredis0.14 amd64 0.14.0-6 [30.2 kB]                                                                

Get:9 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libjemalloc2 amd64 5.2.1-1ubuntu1 [235 kB]                                                             

Get:10 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 openvas amd64 1:7.0.1-2 [228 kB]                                                                  

Get:11 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 liblua5.1-0 amd64 5.1.5-8.1build4 [99.9 kB]                                                           

Get:12 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 lua-bitop amd64 1.0.2-5 [6,680 B]                                                                     

Get:13 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 lua-cjson amd64 2.1.0+dfsg-2.1 [17.4 kB]                                                              

Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 redis-tools amd64 5:5.0.7-2 [489 kB]                                                                  

Get:15 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 gsad amd64 9.0.1-4 [2,423 kB]                                                                     

Get:16 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 redis-server amd64 5:5.0.7-2 [37.3 kB]                                                                

Get:17 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libhdb9-heimdal amd64 7.7.0+dfsg-1ubuntu1 [64.2 kB]                                                       

Get:18 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 tex-common all 6.13 [32.7 kB]                                                                         

Get:19 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.2 [233 kB]                                                         

Get:20 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.2 [161 kB]                                                             

Get:21 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 dbconfig-common all 2.0.13 [586 kB]                                                                   

Get:22 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 dbconfig-pgsql all 2.0.13 [1,112 B]                                                                   

Get:23 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 dvisvgm amd64 2.8.1-1build1 [1,048 kB]                                                                

Get:24 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 fonts-lmodern all 2.004.5-6 [4,532 kB]                                                                

Get:25 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 gvmd-common amd64 9.0.1-2 [142 kB]                                                                

Get:26 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 gvmd-pg amd64 9.0.1-2 [579 kB]                                                                    

Get:27 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 gvm amd64 11.0.1-2 [4,136 B]                                                                      

Get:28 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 libgvm-pg-server0 amd64 9.0.1-2 [22.0 kB]                                                         

Get:29 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 libopenvas-wincmd1 amd64 1.0.5-2 [667 kB]                                                         

Get:30 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 openvas-smb amd64 1.0.5-2 [1,394 kB]                                                              

Get:31 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libmicrohttpd12 amd64 0.9.66-1 [62.5 kB]                                                              

Get:32 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libblas3 amd64 3.9.0-1build1 [142 kB]                                                                     

Get:33 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 liblinear4 amd64 2.3.0+dfsg-3build1 [41.7 kB]                                                         

Get:34 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libptexenc1 amd64 2019.20190605.51237-3build2 [35.5 kB]                                                   

Get:35 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libteckit0 amd64 2.5.8+ds2-5ubuntu2 [320 kB]                                                          

Get:36 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libtexlua53 amd64 2019.20190605.51237-3build2 [105 kB]                                                    

Get:37 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libtexluajit2 amd64 2019.20190605.51237-3build2 [235 kB]                                                  

Get:38 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 python3-ospd all 2.0.1-1 [31.4 kB]                                                                

Get:39 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libzzip-0-13 amd64 0.13.62-3.2ubuntu1 [26.2 kB]                                                       

Get:40 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 lmodern all 2.004.5-6 [9,474 kB]                                                                      

Get:41 http://ppa.launchpad.net/mrazavi/gvm/ubuntu focal/main amd64 ospd-openvas all 1.0.1-3 [23.2 kB]                                                                

Get:42 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 lua-lpeg amd64 1.0.2-1 [31.4 kB]                                                                      

Get:43 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 nmap-common all 7.80+dfsg1-2build1 [3,676 kB]                                                         

Get:44 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-defusedxml all 0.6.0-2 [37.0 kB]                                                                  

Get:45 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-lxml amd64 4.5.0-1 [1,381 kB]                                                                     

Get:46 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-pyparsing all 2.4.6-1 [61.3 kB]                                                                   

Get:47 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-packaging all 20.3-1 [26.8 kB]                                                                    

Get:48 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-psutil amd64 5.5.1-1ubuntu4 [141 kB]                                                              

Get:49 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-redis all 3.3.11-2 [56.4 kB]                                                                      

Get:50 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-soupsieve all 1.9.5+dfsg-1 [29.1 kB]                                                              

Get:51 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-bs4 all 4.8.2-1 [83.0 kB]                                                                         

Get:52 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-webencodings all 0.5.1-1ubuntu1 [11.0 kB]                                                         

Get:53 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-html5lib all 1.0.1-2 [84.3 kB]                                                                    

Get:54 http://us.archive.ubuntu.com/ubuntu focal/main amd64 t1utils amd64 1.41-3 [56.1 kB]                                                                            

Get:55 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 texlive-binaries amd64 2019.20190605.51237-3build2 [8,041 kB]                                         

Get:56 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 texlive-base all 2019.20200218-1 [20.8 MB]                                                            

Get:57 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 texlive-latex-base all 2019.20200218-1 [990 kB]                                                       

Get:58 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 xml-twig-tools all 1:3.50-2 [28.0 kB]                                                                 

Get:59 http://us.archive.ubuntu.com/ubuntu focal/main amd64 xsltproc amd64 1.1.34-4 [14.3 kB]                                                                         

Get:60 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 nmap amd64 7.80+dfsg1-2build1 [1,662 kB]                                                              

Fetched 62.5 MB in 6min 34s (159 kB/s)                                                                                                                                

Extracting templates from packages: 100%

Preconfiguring packages ...

(Reading database ... 182477 files and directories currently installed.)

Preparing to unpack .../libgnutls30_3.6.13-2ubuntu1.3_amd64.deb ...

Unpacking libgnutls30:amd64 (3.6.13-2ubuntu1.3) over (3.6.13-2ubuntu1.2) ...

Setting up libgnutls30:amd64 (3.6.13-2ubuntu1.3) ...

Selecting previously unselected package libunbound8:amd64.

(Reading database ... 182477 files and directories currently installed.)

Preparing to unpack .../00-libunbound8_1.9.4-2ubuntu1.1_amd64.deb ...

Unpacking libunbound8:amd64 (1.9.4-2ubuntu1.1) ...

Selecting previously unselected package libgnutls-dane0:amd64.

Preparing to unpack .../01-libgnutls-dane0_3.6.13-2ubuntu1.3_amd64.deb ...

Unpacking libgnutls-dane0:amd64 (3.6.13-2ubuntu1.3) ...

Selecting previously unselected package libopts25:amd64.

Preparing to unpack .../02-libopts25_1%3a5.18.16-3_amd64.deb ...

Unpacking libopts25:amd64 (1:5.18.16-3) ...

Selecting previously unselected package gnutls-bin.

Preparing to unpack .../03-gnutls-bin_3.6.13-2ubuntu1.3_amd64.deb ...

Unpacking gnutls-bin (3.6.13-2ubuntu1.3) ...

Selecting previously unselected package libatomic1:amd64.

Preparing to unpack .../04-libatomic1_10-20200411-0ubuntu1_amd64.deb ...

Unpacking libatomic1:amd64 (10-20200411-0ubuntu1) ...

Selecting previously unselected package libhiredis0.14:amd64.

Preparing to unpack .../05-libhiredis0.14_0.14.0-6_amd64.deb ...

Unpacking libhiredis0.14:amd64 (0.14.0-6) ...

Selecting previously unselected package libjemalloc2:amd64.

Preparing to unpack .../06-libjemalloc2_5.2.1-1ubuntu1_amd64.deb ...

Unpacking libjemalloc2:amd64 (5.2.1-1ubuntu1) ...

Selecting previously unselected package liblua5.1-0:amd64.

Preparing to unpack .../07-liblua5.1-0_5.1.5-8.1build4_amd64.deb ...

Unpacking liblua5.1-0:amd64 (5.1.5-8.1build4) ...

Selecting previously unselected package lua-bitop:amd64.

Preparing to unpack .../08-lua-bitop_1.0.2-5_amd64.deb ...

Unpacking lua-bitop:amd64 (1.0.2-5) ...

Selecting previously unselected package lua-cjson:amd64.

Preparing to unpack .../09-lua-cjson_2.1.0+dfsg-2.1_amd64.deb ...

Unpacking lua-cjson:amd64 (2.1.0+dfsg-2.1) ...

Selecting previously unselected package redis-tools.

Preparing to unpack .../10-redis-tools_5%3a5.0.7-2_amd64.deb ...

Unpacking redis-tools (5:5.0.7-2) ...

Selecting previously unselected package redis-server.

Preparing to unpack .../11-redis-server_5%3a5.0.7-2_amd64.deb ...

Unpacking redis-server (5:5.0.7-2) ...

Selecting previously unselected package libgvm.

Preparing to unpack .../12-libgvm_11.0.1-2_amd64.deb ...

Unpacking libgvm (11.0.1-2) ...

Selecting previously unselected package libhdb9-heimdal:amd64.

Preparing to unpack .../13-libhdb9-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...

Unpacking libhdb9-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...

Selecting previously unselected package libopenvas-wmiclient1:amd64.

Preparing to unpack .../14-libopenvas-wmiclient1_1.0.5-2_amd64.deb ...

Unpacking libopenvas-wmiclient1:amd64 (1.0.5-2) ...

Setting up libunbound8:amd64 (1.9.4-2ubuntu1.1) ...

Setting up libgnutls-dane0:amd64 (3.6.13-2ubuntu1.3) ...

Setting up libopts25:amd64 (1:5.18.16-3) ...

Setting up gnutls-bin (3.6.13-2ubuntu1.3) ...

Setting up libatomic1:amd64 (10-20200411-0ubuntu1) ...

Setting up libhiredis0.14:amd64 (0.14.0-6) ...

Setting up libjemalloc2:amd64 (5.2.1-1ubuntu1) ...

Setting up liblua5.1-0:amd64 (5.1.5-8.1build4) ...

Setting up lua-bitop:amd64 (1.0.2-5) ...

Setting up lua-cjson:amd64 (2.1.0+dfsg-2.1) ...

Setting up redis-tools (5:5.0.7-2) ...

Setting up redis-server (5:5.0.7-2) ...

Created symlink /etc/systemd/system/redis.service → /lib/systemd/system/redis-server.service.

Created symlink /etc/systemd/system/multi-user.target.wants/redis-server.service → /lib/systemd/system/redis-server.service.

Selecting previously unselected package openvas.

(Reading database ... 182626 files and directories currently installed.)

Preparing to unpack .../00-openvas_1%3a7.0.1-2_amd64.deb ...

Unpacking openvas (1:7.0.1-2) ...

Selecting previously unselected package tex-common.

Preparing to unpack .../01-tex-common_6.13_all.deb ...

Unpacking tex-common (6.13) ...

Preparing to unpack .../02-libcurl4_7.68.0-1ubuntu2.2_amd64.deb ...

Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.2) over (7.68.0-1ubuntu2.1) ...

Selecting previously unselected package curl.

Preparing to unpack .../03-curl_7.68.0-1ubuntu2.2_amd64.deb ...

Unpacking curl (7.68.0-1ubuntu2.2) ...

Selecting previously unselected package dbconfig-common.

Preparing to unpack .../04-dbconfig-common_2.0.13_all.deb ...

Unpacking dbconfig-common (2.0.13) ...

Selecting previously unselected package dbconfig-pgsql.

Preparing to unpack .../05-dbconfig-pgsql_2.0.13_all.deb ...

Unpacking dbconfig-pgsql (2.0.13) ...

Selecting previously unselected package dvisvgm.

Preparing to unpack .../06-dvisvgm_2.8.1-1build1_amd64.deb ...

Unpacking dvisvgm (2.8.1-1build1) ...

Selecting previously unselected package fonts-lmodern.

Preparing to unpack .../07-fonts-lmodern_2.004.5-6_all.deb ...

Unpacking fonts-lmodern (2.004.5-6) ...

Selecting previously unselected package libmicrohttpd12.

Preparing to unpack .../08-libmicrohttpd12_0.9.66-1_amd64.deb ...

Unpacking libmicrohttpd12 (0.9.66-1) ...

Selecting previously unselected package gsad.

Preparing to unpack .../09-gsad_9.0.1-4_amd64.deb ...

Unpacking gsad (9.0.1-4) ...

Selecting previously unselected package gvmd-common.

Preparing to unpack .../10-gvmd-common_9.0.1-2_amd64.deb ...

Unpacking gvmd-common (9.0.1-2) ...

Selecting previously unselected package gvmd-pg.

Preparing to unpack .../11-gvmd-pg_9.0.1-2_amd64.deb ...

Unpacking gvmd-pg (9.0.1-2) ...

Selecting previously unselected package gvm.

Preparing to unpack .../12-gvm_11.0.1-2_amd64.deb ...

Unpacking gvm (11.0.1-2) ...

Selecting previously unselected package libblas3:amd64.

Preparing to unpack .../13-libblas3_3.9.0-1build1_amd64.deb ...

Unpacking libblas3:amd64 (3.9.0-1build1) ...

Selecting previously unselected package libgvm-pg-server0.

Preparing to unpack .../14-libgvm-pg-server0_9.0.1-2_amd64.deb ...

Unpacking libgvm-pg-server0 (9.0.1-2) ...

Selecting previously unselected package liblinear4:amd64.

Preparing to unpack .../15-liblinear4_2.3.0+dfsg-3build1_amd64.deb ...

Unpacking liblinear4:amd64 (2.3.0+dfsg-3build1) ...

Selecting previously unselected package libopenvas-wincmd1:amd64.

Preparing to unpack .../16-libopenvas-wincmd1_1.0.5-2_amd64.deb ...

Unpacking libopenvas-wincmd1:amd64 (1.0.5-2) ...

Selecting previously unselected package libptexenc1:amd64.

Preparing to unpack .../17-libptexenc1_2019.20190605.51237-3build2_amd64.deb ...

Unpacking libptexenc1:amd64 (2019.20190605.51237-3build2) ...

Selecting previously unselected package libteckit0:amd64.

Preparing to unpack .../18-libteckit0_2.5.8+ds2-5ubuntu2_amd64.deb ...

Unpacking libteckit0:amd64 (2.5.8+ds2-5ubuntu2) ...

Selecting previously unselected package libtexlua53:amd64.

Preparing to unpack .../19-libtexlua53_2019.20190605.51237-3build2_amd64.deb ...

Unpacking libtexlua53:amd64 (2019.20190605.51237-3build2) ...

Selecting previously unselected package libtexluajit2:amd64.

Preparing to unpack .../20-libtexluajit2_2019.20190605.51237-3build2_amd64.deb ...

Unpacking libtexluajit2:amd64 (2019.20190605.51237-3build2) ...

Selecting previously unselected package libzzip-0-13:amd64.

Preparing to unpack .../21-libzzip-0-13_0.13.62-3.2ubuntu1_amd64.deb ...

Unpacking libzzip-0-13:amd64 (0.13.62-3.2ubuntu1) ...

Selecting previously unselected package lmodern.

Preparing to unpack .../22-lmodern_2.004.5-6_all.deb ...

Unpacking lmodern (2.004.5-6) ...

Selecting previously unselected package lua-lpeg:amd64.

Preparing to unpack .../23-lua-lpeg_1.0.2-1_amd64.deb ...

Unpacking lua-lpeg:amd64 (1.0.2-1) ...

Selecting previously unselected package nmap-common.

Preparing to unpack .../24-nmap-common_7.80+dfsg1-2build1_all.deb ...

Unpacking nmap-common (7.80+dfsg1-2build1) ...

Selecting previously unselected package openvas-smb.

Preparing to unpack .../25-openvas-smb_1.0.5-2_amd64.deb ...

Unpacking openvas-smb (1.0.5-2) ...

Selecting previously unselected package python3-defusedxml.

Preparing to unpack .../26-python3-defusedxml_0.6.0-2_all.deb ...

Unpacking python3-defusedxml (0.6.0-2) ...

Selecting previously unselected package python3-lxml:amd64.

Preparing to unpack .../27-python3-lxml_4.5.0-1_amd64.deb ...

Unpacking python3-lxml:amd64 (4.5.0-1) ...

Selecting previously unselected package python3-ospd.

Preparing to unpack .../28-python3-ospd_2.0.1-1_all.deb ...

Unpacking python3-ospd (2.0.1-1) ...

Selecting previously unselected package python3-pyparsing.

Preparing to unpack .../29-python3-pyparsing_2.4.6-1_all.deb ...

Unpacking python3-pyparsing (2.4.6-1) ...

Selecting previously unselected package python3-packaging.

Preparing to unpack .../30-python3-packaging_20.3-1_all.deb ...

Unpacking python3-packaging (20.3-1) ...

Selecting previously unselected package python3-psutil.

Preparing to unpack .../31-python3-psutil_5.5.1-1ubuntu4_amd64.deb ...

Unpacking python3-psutil (5.5.1-1ubuntu4) ...

Selecting previously unselected package python3-redis.

Preparing to unpack .../32-python3-redis_3.3.11-2_all.deb ...

Unpacking python3-redis (3.3.11-2) ...

Selecting previously unselected package ospd-openvas.

Preparing to unpack .../33-ospd-openvas_1.0.1-3_all.deb ...

Unpacking ospd-openvas (1.0.1-3) ...

Selecting previously unselected package python3-soupsieve.

Preparing to unpack .../34-python3-soupsieve_1.9.5+dfsg-1_all.deb ...

Unpacking python3-soupsieve (1.9.5+dfsg-1) ...

Selecting previously unselected package python3-bs4.

Preparing to unpack .../35-python3-bs4_4.8.2-1_all.deb ...

Unpacking python3-bs4 (4.8.2-1) ...

Selecting previously unselected package python3-webencodings.

Preparing to unpack .../36-python3-webencodings_0.5.1-1ubuntu1_all.deb ...

Unpacking python3-webencodings (0.5.1-1ubuntu1) ...

Selecting previously unselected package python3-html5lib.

Preparing to unpack .../37-python3-html5lib_1.0.1-2_all.deb ...

Unpacking python3-html5lib (1.0.1-2) ...

Selecting previously unselected package t1utils.

Preparing to unpack .../38-t1utils_1.41-3_amd64.deb ...

Unpacking t1utils (1.41-3) ...

Selecting previously unselected package texlive-binaries.

Preparing to unpack .../39-texlive-binaries_2019.20190605.51237-3build2_amd64.deb ...

Unpacking texlive-binaries (2019.20190605.51237-3build2) ...

Selecting previously unselected package texlive-base.

Preparing to unpack .../40-texlive-base_2019.20200218-1_all.deb ...

Unpacking texlive-base (2019.20200218-1) ...

Selecting previously unselected package texlive-latex-base.

Preparing to unpack .../41-texlive-latex-base_2019.20200218-1_all.deb ...

Unpacking texlive-latex-base (2019.20200218-1) ...

Selecting previously unselected package xml-twig-tools.

Preparing to unpack .../42-xml-twig-tools_1%3a3.50-2_all.deb ...

Unpacking xml-twig-tools (1:3.50-2) ...

Selecting previously unselected package xsltproc.

Preparing to unpack .../43-xsltproc_1.1.34-4_amd64.deb ...

Unpacking xsltproc (1.1.34-4) ...

Selecting previously unselected package nmap.

Preparing to unpack .../44-nmap_7.80+dfsg1-2build1_amd64.deb ...

Unpacking nmap (7.80+dfsg1-2build1) ...

Setting up xml-twig-tools (1:3.50-2) ...

Setting up lua-lpeg:amd64 (1.0.2-1) ...

Setting up gvmd-common (9.0.1-2) ...

Setting up libtexlua53:amd64 (2019.20190605.51237-3build2) ...

Setting up python3-defusedxml (0.6.0-2) ...

Setting up libgvm (11.0.1-2) ...

Setting up libtexluajit2:amd64 (2019.20190605.51237-3build2) ...

Setting up xsltproc (1.1.34-4) ...

Setting up dvisvgm (2.8.1-1build1) ...

Setting up libzzip-0-13:amd64 (0.13.62-3.2ubuntu1) ...

Setting up dbconfig-common (2.0.13) ...

 

Creating config file /etc/dbconfig-common/config with new version

Setting up libhdb9-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...

Setting up libmicrohttpd12 (0.9.66-1) ...

Setting up python3-webencodings (0.5.1-1ubuntu1) ...

Setting up libopenvas-wmiclient1:amd64 (1.0.5-2) ...

Setting up python3-psutil (5.5.1-1ubuntu4) ...

Setting up tex-common (6.13) ...

update-language: texlive-base not installed and configured, doing nothing!

Setting up libblas3:amd64 (3.9.0-1build1) ...

update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode

Setting up openvas (1:7.0.1-2) ...

Setting up libptexenc1:amd64 (2019.20190605.51237-3build2) ...

Setting up python3-pyparsing (2.4.6-1) ...

Setting up libteckit0:amd64 (2.5.8+ds2-5ubuntu2) ...

Setting up t1utils (1.41-3) ...

Setting up python3-redis (3.3.11-2) ...

Setting up python3-html5lib (1.0.1-2) ...

Setting up nmap-common (7.80+dfsg1-2build1) ...

Setting up texlive-binaries (2019.20190605.51237-3build2) ...

update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode

update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode

Setting up python3-lxml:amd64 (4.5.0-1) ...

Setting up fonts-lmodern (2.004.5-6) ...

Setting up libcurl4:amd64 (7.68.0-1ubuntu2.2) ...

Setting up curl (7.68.0-1ubuntu2.2) ...

Setting up texlive-base (2019.20200218-1) ...

mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...

mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...

mktexlsr: Updating /var/lib/texmf/ls-R...

mktexlsr: Done.

tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps

tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg

tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper

tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/config/pdftexconfig.tex

tl-paper: setting paper size for dvipdfmx to letter: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg

tl-paper: setting paper size for dvips to letter: /var/lib/texmf/dvips/config/config-paper.ps

tl-paper: setting paper size for pdftex to letter: /var/lib/texmf/tex/generic/config/pdftexconfig.tex

tl-paper: setting paper size for xdvi to letter: /var/lib/texmf/xdvi/XDvi-paper

Setting up python3-soupsieve (1.9.5+dfsg-1) ...

Setting up libopenvas-wincmd1:amd64 (1.0.5-2) ...

Setting up libgvm-pg-server0 (9.0.1-2) ...

Setting up openvas-smb (1.0.5-2) ...

Setting up gsad (9.0.1-4) ...

Created symlink /etc/systemd/system/greenbone-security-assistant.service → /lib/systemd/system/gsad.service.

Created symlink /etc/systemd/system/multi-user.target.wants/gsad.service → /lib/systemd/system/gsad.service.

Setting up dbconfig-pgsql (2.0.13) ...

Setting up gvmd-pg (9.0.1-2) ...

dbconfig-common: writing config to /etc/dbconfig-common/gvmd-pg.conf

 

Creating config file /etc/dbconfig-common/gvmd-pg.conf with new version

creating postgres user gvmduser:  success.

verifying creation of user: success.

creating database gvmd: success.

verifying database gvmd exists: success.

populating database via administrative sql...  done.

dbconfig-common: flushing administrative password

migrating the postgresql database...

Creating admin user...

Prime generation might be too slow. To make it faster it is a good idea to perform some other action (type on the keyboard, move the mouse, utilize the disks).

User created with password 'b0b26301-1c4d-4693-9e23-8524d1cfde38'.

update-alternatives: using /usr/sbin/gvmd-pg to provide /usr/sbin/gvmd (gvmd) in auto mode

Setting up gvm (11.0.1-2) ...

Setting up python3-bs4 (4.8.2-1) ...

Setting up liblinear4:amd64 (2.3.0+dfsg-3build1) ...

Setting up python3-packaging (20.3-1) ...

Setting up texlive-latex-base (2019.20200218-1) ...

Setting up python3-ospd (2.0.1-1) ...

Setting up lmodern (2.004.5-6) ...

Setting up ospd-openvas (1.0.1-3) ...

Created symlink /etc/systemd/system/ospd-openvas.service → /lib/systemd/system/ospd-openvas.service.

Created symlink /etc/systemd/system/multi-user.target.wants/ospd-openvas.service → /lib/systemd/system/ospd-openvas.service.

Setting up nmap (7.80+dfsg1-2build1) ...

Processing triggers for fontconfig (2.13.1-2ubuntu3) ...

Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...

Processing triggers for mime-support (3.64ubuntu1) ...

Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...

Processing triggers for libc-bin (2.31-0ubuntu9) ...

Processing triggers for systemd (245.4-4ubuntu3.2) ...

Processing triggers for man-db (2.9.1-1) ...

Processing triggers for install-info (6.7.0.dfsg.2-5) ...

Processing triggers for tex-common (6.13) ...

Running updmap-sys. This may take some time... done.

Running mktexlsr /var/lib/texmf ... done.

Building format(s) --all.

This may take some time... done.

googlebigtable@googlebigtable-virtual-machine:~$

googlebigtable@googlebigtable-virtual-machine:~$ sudo find / -name pg_hba.conf

[sudo] password for googlebigtable:

find: ‘/run/user/1000/doc’: Permission denied

find: ‘/run/user/1000/gvfs’: Permission denied

/etc/postgresql/12/main/pg_hba.conf

googlebigtable@googlebigtable-virtual-machine:~$ sudo cp /etc/postgresql/12/main/pg_hba.conf{,.original}

googlebigtable@googlebigtable-virtual-machine:~$ sudo gedit /etc/postgresql/12/main/pg_hba.conf

 

(gedit:7697): Tepl-WARNING **: 11:46:59.450: GVfs metadata is not supported. Fallback to TeplMetadataManager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.

googlebigtable@googlebigtable-virtual-machine:~$ sudo grep "^\s*[^# \t].*$" /etc/postgresql/12/main/pg_hba.conf | cat -n

     1 local   all             postgres                                trust

     2 local   all             all                                     trust

     3 host    all             all             127.0.0.1/32            trust

     4 host    all             all             ::1/128                 trust

     5 local   replication     all                                     peer

     6 host    replication     all             127.0.0.1/32            md5

     7 host    replication     all             ::1/128                 md5

googlebigtable@googlebigtable-virtual-machine:~$

googlebigtable@googlebigtable-virtual-machine:~$ sudo grep "^\s*[^# \t].*$" /etc/redis/redis.conf | cat -n

     1 bind 127.0.0.1 ::1

     2 protected-mode yes

     3 port 6379

     4 daemonize yes

     5 supervised no

     6 pidfile /var/run/redis/redis-server.pid

     7 loglevel notice

     8 logfile /var/log/redis/redis-server.log

     9 databases 16

    10 always-show-logo yes

    11 save 900 1

    12 save 300 10

    13 save 60 10000

    14 stop-writes-on-bgsave-error yes

    15 rdbcompression yes

    16 rdbchecksum yes

    17 dbfilename dump.rdb

    18 dir /var/lib/redis

    19 replica-serve-stale-data yes

    20 replica-read-only yes

    21 repl-diskless-sync no

    22 repl-diskless-sync-delay 5

    23 repl-disable-tcp-nodelay no

    24 replica-priority 100

    25 lazyfree-lazy-eviction no

    26 lazyfree-lazy-expire no

    27 lazyfree-lazy-server-del no

    28 replica-lazy-flush no

    29 appendonly no

    30 appendfilename "appendonly.aof"

    31 appendfsync everysec

    32 no-appendfsync-on-rewrite no

    33 auto-aof-rewrite-percentage 100

    34 auto-aof-rewrite-min-size 64mb

    35 aof-load-truncated yes

    36 aof-use-rdb-preamble yes

    37 lua-time-limit 5000

    38 slowlog-log-slower-than 10000

    39 slowlog-max-len 128

    40 latency-monitor-threshold 0

    41 notify-keyspace-events ""

    42 hash-max-ziplist-entries 512

    43 hash-max-ziplist-value 64

    44 list-max-ziplist-size -2

    45 list-compress-depth 0

    46 set-max-intset-entries 512

    47 zset-max-ziplist-entries 128

    48 zset-max-ziplist-value 64

    49 hll-sparse-max-bytes 3000

    50 stream-node-max-bytes 4096

    51 stream-node-max-entries 100

    52 activerehashing yes

    53 client-output-buffer-limit normal 0 0 0

    54 client-output-buffer-limit replica 256mb 64mb 60

    55 client-output-buffer-limit pubsub 32mb 8mb 60

    56 hz 10

    57 dynamic-hz yes

    58 aof-rewrite-incremental-fsync yes

    59 rdb-save-incremental-fsync yes

    60 unixsocket /var/run/redis/redis.sock

    61 unixsocketperm 755

googlebigtable@googlebigtable-virtual-machine:~$

googlebigtable@googlebigtable-virtual-machine:~$ sudo systemctl restart redis

googlebigtable@googlebigtable-virtual-machine:~$ systemctl status ospd-openvas

● ospd-openvas.service - OSPD OpenVAS

     Loaded: loaded (/lib/systemd/system/ospd-openvas.service; enabled; vendor preset: enabled)

     Active: active (running) since Thu 2020-09-24 11:43:21 CST; 10min ago

    Process: 4279 ExecStart=/usr/bin/ospd-openvas (code=exited, status=0/SUCCESS)

   Main PID: 4798 (ospd-openvas)

      Tasks: 3 (limit: 4624)

     Memory: 31.1M

     CGroup: /system.slice/ospd-openvas.service

             └─4798 /usr/bin/python3 /usr/bin/ospd-openvas

 

Sep 24 11:43:20 googlebigtable-virtual-machine systemd[1]: Starting OSPD OpenVAS...

Sep 24 11:43:21 googlebigtable-virtual-machine systemd[1]: Started OSPD OpenVAS.

googlebigtable@googlebigtable-virtual-machine:~$ systemctl status gvmd

● gvmd.service - LSB: remote network security auditor - manager

     Loaded: loaded (/etc/init.d/gvmd; generated)

     Active: active (running) since Thu 2020-09-24 11:43:23 CST; 10min ago

       Docs: man:systemd-sysv-generator(8)

    Process: 5898 ExecStart=/etc/init.d/gvmd start (code=exited, status=0/SUCCESS)

      Tasks: 3 (limit: 4624)

     Memory: 12.1M

     CGroup: /system.slice/gvmd.service

             ├─5941 gvmd: Waiting for incoming connections

             ├─8316 gvmd: Reloading NVTs

             └─8318 gvmd: OSP: Updating NVT cache

 

Sep 24 11:43:23 googlebigtable-virtual-machine systemd[1]: Starting LSB: remote network security auditor - manager...

Sep 24 11:43:23 googlebigtable-virtual-machine systemd[1]: Started LSB: remote network security auditor - manager.

googlebigtable@googlebigtable-virtual-machine:~$ systemctl status gsad

● gsad.service - Greenbone Security Assistant

     Loaded: loaded (/lib/systemd/system/gsad.service; enabled; vendor preset: enabled)

     Active: active (running) since Thu 2020-09-24 11:43:20 CST; 11min ago

    Process: 4275 ExecStart=/usr/sbin/gsad --listen $GSA_ADDRESS --port $GSA_PORT $OPTIONS (code=exited, status=0/SUCCESS)

   Main PID: 4298 (gsad)

      Tasks: 2 (limit: 4624)

     Memory: 4.5M

     CGroup: /system.slice/gsad.service

             └─4298 /usr/sbin/gsad --listen 127.0.0.1 --port 9392 --no-redirect

 

Sep 24 11:43:20 googlebigtable-virtual-machine systemd[1]: Starting Greenbone Security Assistant...

Sep 24 11:43:20 googlebigtable-virtual-machine systemd[1]: Started Greenbone Security Assistant.

googlebigtable@googlebigtable-virtual-machine:~$

googlebigtable@googlebigtable-virtual-machine:~$ sudo greenbone-nvt-sync

Greenbone community feed server - http://feed.community.greenbone.net/

This service is hosted by Greenbone Networks - http://www.greenbone.net/

 

All transactions are logged.

 

If you have any questions, please use the Greenbone community portal.

See https://community.greenbone.net for details.

 

By using this service you agree to our terms and conditions.

 

Only one sync per time, otherwise the source ip will be temporarily blocked.

 

receiving incremental file list

./

bad_dsa_ssh_host_keys.txt

...........................................................................................................

googlebigtable@googlebigtable-virtual-machine:~$ sudo greenbone-scapdata-sync

Greenbone community feed server - http://feed.community.greenbone.net/

This service is hosted by Greenbone Networks - http://www.greenbone.net/

 

All transactions are logged.

 

If you have any questions, please use the Greenbone community portal.

See https://community.greenbone.net for details.

 

By using this service you agree to our terms and conditions.

 

Only one sync per time, otherwise the source ip will be temporarily blocked.

 

receiving incremental file list

timestamp

             13 100%   12.70kB/s    0:00:00 (xfr#1, to-chk=0/1)

 

sent 43 bytes  received 114 bytes  28.55 bytes/sec

total size is 13  speedup is 0.08

Greenbone community feed server - http://feed.community.greenbone.net/

This service is hosted by Greenbone Networks - http://www.greenbone.net/

 

All transactions are logged.

 

If you have any questions, please use the Greenbone community portal.

See https://community.greenbone.net for details.

 

By using this service you agree to our terms and conditions.

 

Only one sync per time, otherwise the source ip will be temporarily blocked.

 

receiving incremental file list

deleting .nvdcve-2.0-2002.xml.ysmQwQ

./

nvdcve-2.0-2002.xml

....................................................................................................

googlebigtable@googlebigtable-virtual-machine:~$ sudo greenbone-certdata-sync

Greenbone community feed server - http://feed.community.greenbone.net/

This service is hosted by Greenbone Networks - http://www.greenbone.net/

 

All transactions are logged.

 

If you have any questions, please use the Greenbone community portal.

See https://community.greenbone.net for details.

 

By using this service you agree to our terms and conditions.

 

Only one sync per time, otherwise the source ip will be temporarily blocked.

 

receiving incremental file list

timestamp

             13 100%   12.70kB/s    0:00:00 (xfr#1, to-chk=0/1)

 

sent 43 bytes  received 114 bytes  34.89 bytes/sec

total size is 13  speedup is 0.08

Greenbone community feed server - http://feed.community.greenbone.net/

This service is hosted by Greenbone Networks - http://www.greenbone.net/

 

All transactions are logged.

 

If you have any questions, please use the Greenbone community portal.

See https://community.greenbone.net for details.

 

By using this service you agree to our terms and conditions.

 

Only one sync per time, otherwise the source ip will be temporarily blocked.

 

receiving incremental file list

./

CB-K13.xml

..............................................................................................................

https://localhost:9392/

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值