Red Hat ENTERPRISE LINUX 4.5.0 - Guida di Installazione Pagina 51

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 58
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 50
CHAPTER 9
Validate 4.5 source code tarball
1. Perform the following to verify the artifacts:
(a) (optional) Install GPG keys if needed:
$ sudo apt-get install gpg
(b) Import the GPG keys stored in the source distribution’s KEYS file
$ gpg --import KEYS
Alternatively, download the signing keys, the IDs found in the KEYS file, individually by using a keyserver.
For example:
$ gpg --recv-keys CC56CEA8
(c) Verify signatures and hash files:
$ gpg --verify apache-cloudstack-4.5-src.tar.bz2.asc
$ gpg --print-md MD5 apache-cloudstack-4.5-src.tar.bz2 | diff - apache-cloudstack-4.5-src.tar.bz2.md5
$ gpg --print-md SHA512 apache-cloudstack-4.5-src.tar.bz2 | diff - apache-cloudstack-4.5-src.tar.bz2.sha
Each of these commands should return no output. Any output from them implies that there is a difference
between the hash you generated locally and the hash that has been pulled from the server.
(d) Get the commit hash from the VOTE email.
For example: 4cd60f3d1683a3445c3248f48ae064fb573db2a1. The value changes between
releases.
(e) Create two new temporary directories:
$ mkdir /tmp/cloudstack/git
$ mkdir /tmp/cloudstack/tree
(f) Check out the 4.5 branch:
$ git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git /tmp/cloudstack/git
$ cd /tmp/cloudstack/git
$ git archive --format=tar --prefix=/tmp/cloudstack/tree/ <commit-hash> | tar Pxf -
(g) Unpack the release artifact:
$ cd /tmp/cloudstack
$ tar xvfj apache-cloudstack-4.5-src.tar.bz2
47
Vedere la pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 57 58

Commenti su questo manuale

Nessun commento