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

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
主站蜘蛛池模板: 兴安县| 张家港市| 景东| 武安市| 昭通市| 淮北市| 绥宁县| 汪清县| 惠来县| 长武县| 青阳县| 体育| 潢川县| 册亨县| 汉中市| 红河县| 南宫市| 闽清县| 邹城市| 垫江县| 湾仔区| 曲阜市| 鲁山县| 遂川县| 林甸县| 平果县| 鸡泽县| 闽清县| 东乡县| 库尔勒市| 南召县| 延长县| 兴宁市| 洛扎县| 晴隆县| 龙州县| 武功县| 祁阳县| 宁南县| 宁蒗| 海口市|