Gpg signature is mainly used to realize the signature mechanism of packages officially released in Linux, mainly for the security of software download and use.
GPG is divided into public key and private key.
Public key: a shared key * * *, which is mainly used to verify the data encrypted by the private key and sign the data to be sent to the private key party.
Private key: a locally reserved key used to sign local data and verify data signed with public key.
This is CentOS7
#6. The client configures the yum source to point to the server.
The client configures and uses the basic source.
[root @ old boy ~]# cat/etc/yum . repos . d/centos 7 . repo
[centos7]
name=centos7_base
base URL = FTP:// 10 . 0 . 0 . 129/centos 7
Enabled = 1
gpgcheck=0
# # # Finally, here is the gpgcheck option, and 0 is not turned on.