1. yum install 명령어를 이용해 openstack-nova-compute를 설치합니다. 그러면 시스템에 따라 libvirt 라이브러리와 KVM이나 QEMU 하이퍼바이저를 함께 설치합니다. 이때 프로그램을 안전하게 설치하려면 GPG 키가 필요한데 레드햇 계열의 리눅스에서는 GPG 키를 포함할지 여부를 물어봅니다. 안전을 생각한다면 당연히 포함하는 것이 좋습니다. 여기서는 y를 선택해 모두 포함시켰습니다.
[root@compute ~]# yum install openstack-nova-compute Loaded plugins: fastestmirror base | 3.6 kB 00:00:00
centos-ceph-hammer | 2.9 kB 00:00:00
centos-openstack-mitaka | 2.9 kB 00:00:00
centos-qemu-ev | 2.9 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
updates/7/x86_64/primary_db | 5.7 MB 00:00:07
Loading mirror speeds from cached hostfile * base: centos.mirror.cdnetworks.com * extras: centos.mirror.cdnetworks.com * updates: centos.mirror.cdnetworks.com …
Transaction Summary
Install 1 Package (+297 Dependent packages)
Total download size: 87 M
Installed size: 328 M
Is this ok [y/d/N]: y
Downloading packages:
(1/298): attr-2.4.46-12.el7.x86_64.rpm …
Total 273 kB/s | 87 MB 00:05:24
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
Importing GPG key 0x61E8806C:
Userid : “CentOS Virtualization SIG (http://wiki.centos.org/
SpecialInterestGroup/Virtualization) <security@centos.org>“
Fingerprint: a7c8 e761 309d 2f1c 92c5 0b62 7aeb be82 61e8 806c
Package : centos-release-virt-common-1-1.el7.centos.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
Is this ok [y/N]: y
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
Importing GPG key 0xE451E5B5:
Userid : “CentOS Storage SIG (http://wiki.centos.org/SpecialInterestGroup/
Storage) <security@centos.org>“
Fingerprint: 7412 9c0b 173b 071a 3775 951a d4a2 e50b e451 e5b5
Package : centos-release-storage-common-1-2.el7.centos.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-pbr-1.8.1-2.el7.noarch
…
Complete!