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

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
主站蜘蛛池模板: 屏东县| 武清区| 新密市| 方城县| 崇礼县| 盱眙县| 石棉县| 伊吾县| 偏关县| 宁德市| 津市市| 武鸣县| 邵阳市| 新建县| 宁海县| 文成县| 吉安县| 汉寿县| 阳谷县| 东乌珠穆沁旗| 怀集县| 京山县| 象山县| 高邑县| 静宁县| 古蔺县| 桐城市| 米林县| 财经| 大足县| 保康县| 高安市| 连山| 宜章县| 吐鲁番市| 宜宾县| 沧源| 讷河市| 盈江县| 虹口区| 汝南县|