Openstack Newton Install Guide - Preinstall
Prerequisites
openstack version:
newton
Openstack Role:
Controller: Server01(192.168.20.180)
Compute: Server02(192.168.20.181) Server03(192.168.20.182)
1、NTP
openstack node需要ntp同步
2、All nodes DNS
openstack node建议配置dns解析
3、Openstack packages
配置openstack源
- enable the openstack repository
# apt install software-properties-common
# add-apt-repository cloud-archive:newton
- finalize the installation
# apt update && apt dist-upgrade
# apt install python-openstackclient
4、MySQL安装
# apt install mariadb-server python-pymysql
Create and edit the /etc/mysql/mariadb.conf.d/99-openstack.cnf
file and complete the following actions:
[mysqld] bind-address = 192.168.20.180 default-storage-engine = innodb innodb_file_per_table max_connections = 4096 collation-server = utf8_general_ci character-set-server = utf8
# service mysql restart
# mysql_secure_installation
5、 RabbitMQ安装
# apt install rabbitmq-server
- 创建用户
# rabbitmqctl add_user openstack RABBIT_PASS
- 授权
# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
6、Memcachedan安装
# apt install memcached python-memcache
Edit the /etc/memcached.conf
file and configure the service to use the management IP address of the controller node.
Change the existing line that had -l 127.0.0.1
to -l 192.168.20.180
# service memcached restart