官术网_书友最值得收藏!

Initial steps

Before we can install OpenStack, some work must be done to prepare the system for a successful installation.

Permissions

RPM Distribution of OpenStack, or RDO, should be installed as a user with sudo permissions. For tips on configuring sudoers, visit the following URL:

https://wiki.centos.org/TipsAndTricks/BecomingRoot

Install network utilities

Various utilities are used throughout this book to assist you in the installation and troubleshooting of OpenStack. The following command installs the necessary packages for those:

$ sudo yum install wget curl tcpdump

Set the hostname

Before installing OpenStack, use the hostnamectl command to set the hostname of the host:

$ sudo hostnamectl set-hostname allinone.learningneutron.com

Install Network Time Protocol (NTP)

A time-synchronization program such as NTP is a requirement in multinode installations, as OpenStack services depend on consistent and synchronized times between hosts. For Nova Compute, having synchronized time helps avoid problems when scheduling VM launches on compute nodes. Other services can experience similar issues when the time is not synchronized. In an All-In-One installation such as the one demonstrated here, NTP is recommended but not required.

To install NTP, issue the following command on all nodes in the environment:

$ sudo yum install ntp

Disable NetworkManager

Before installing RDO, disable NetworkManager to avoid issues during the installation and operation of OpenStack. To stop and disable NetworkManager, issue the following commands:

$ sudo systemctl stop NetworkManager.service
$ sudo systemctl disable NetworkManager.service

Upgrade the system

Before installing OpenStack, it is imperative that the kernel and other system packages be upgraded to the latest version of the installed CentOS release. Issue the following yum command, followed by a reboot via the reboot command to allow the changes to take place:

$ sudo yum upgrade
$ sudo reboot
主站蜘蛛池模板: 枣阳市| 锦州市| 肥东县| 卓尼县| 石景山区| 宜州市| 顺平县| 桦甸市| 扎鲁特旗| 隆回县| 靖江市| 汉中市| 新乡市| 西乌珠穆沁旗| 鹤峰县| 通江县| 三明市| 洪江市| 湟中县| 柳州市| 大城县| 安溪县| 时尚| 昌宁县| 会东县| 石门县| 阳曲县| 大姚县| 伊宁县| 驻马店市| 麟游县| 绥中县| 鹤岗市| 福安市| 阆中市| 大化| 运城市| 张掖市| 南京市| 榆树市| 莱西市|