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

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
主站蜘蛛池模板: 贞丰县| 秀山| 左云县| 西藏| 如东县| 宁安市| 鞍山市| 山东| 西乡县| 手机| 康马县| 拉孜县| 盐边县| 彩票| 大荔县| 醴陵市| 巴东县| 井冈山市| 电白县| 庆城县| 临漳县| 松溪县| 建德市| 奉化市| 榆社县| 高尔夫| 彩票| 社旗县| 田林县| 广宗县| 汨罗市| 岚皋县| 望江县| 海安县| 郸城县| 中卫市| 宜昌市| 徐闻县| 大厂| 藁城市| 永昌县|