CentOS YUM源安装 GVM-11 (二)

文接上篇,这部分主要是我的踩坑过程:

[googlebigtable@localhost Downloads]$ sudo su

[root@localhost Downloads]# wget https://updates.atomicorp.com/installers/atomic

--2020-09-26 19:42:39--  https://updates.atomicorp.com/installers/atomic

Resolving updates.atomicorp.com (updates.atomicorp.com)... 51.161.13.101, 51.79.80.20

Connecting to updates.atomicorp.com (updates.atomicorp.com)|51.161.13.101|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 13691 (13K)

Saving to: ‘atomic’

 

atomic                          100%[======================================================>]  13.37K  --.-KB/s    in 0s      

 

2020-09-26 19:42:42 (341 MB/s) - ‘atomic’ saved [13691/13691]

 

[root@localhost Downloads]# ls -F

atomic                            google-chrome-stable_current_x86_64.rpm  VMwareTools-10.3.10-13959562/

epel-release-latest-8.noarch.rpm  initCentOS8aliYUMversion2.sh*            VMwareTools-10.3.10-13959562.tar.gz

[root@localhost Downloads]# yum install -y bzip2 texlive net-tools alien gnutls-utils

Repository AppStream is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository PowerTools is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Last metadata expiration check: 1:27:16 ago on Sat 26 Sep 2020 06:16:18 PM CST.

Package bzip2-1.0.6-26.el8.x86_64 is already installed.

Package net-tools-2.0-0.51.20160912git.el8.x86_64 is already installed.

No match for argument: alien

Package gnutls-utils-3.6.8-11.el8_2.x86_64 is already installed.

Error: Unable to find a match: alien

[root@localhost Downloads]# sh atomic

[root@localhost Downloads]# yum config-manager --set-enabled PowerTools

Repository AppStream is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository PowerTools is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

[root@localhost Downloads]# yum install -y epel-release

Repository AppStream is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository PowerTools is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

CentOS-8 - Base - mirrors.aliyun.com                                                            39 kB/s | 3.9 kB     00:00    

CentOS-8 - Extras - mirrors.aliyun.com                                                          10 kB/s | 1.5 kB     00:00    

CentOS-8 - PowerTools - mirrors.aliyun.com                                                     2.8 MB/s | 1.9 MB     00:00    

CentOS / Red Hat Enterprise Linux 8 - atomic                                                    42 kB/s | 608 kB     00:14    

Package epel-release-8-8.el8.noarch is already installed.

Dependencies resolved.

Nothing to do.

Complete!

[root@localhost Downloads]#

[root@localhost Downloads]# yum install -y gvm

Repository AppStream is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository PowerTools is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Last metadata expiration check: 0:00:47 ago on Sat 26 Sep 2020 07:47:51 PM CST.

Dependencies resolved.

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

[root@localhost Downloads]# gvm-setup

 

GVM Setup, Version: 6.0.2

 

 * Initializing database in '/var/lib/pgsql/data'

 * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log

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

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

net.core.somaxconn = 1024

vm.overcommit_memory = 1

 

Update NVT, CERT, and SCAP data

Please note this step could take some time.

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

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值