OpenStack: 安装准备

>安装准备
1. 安装MySQL
# apt-get install python-mysqldb mysql-server
将/etc/mysql/my.cnf修改bind-address为"0.0.0.0",否则无法访问.
[mysqld]
...
bind-address = 192.168.0.10
然后执行
# mysql_install_db
# mysql_secure_installation

2. 安装RabbitMQ
3. 安装NTP
使用tzselect选择正确的时区.
4. 设置/etc/hosts, 加上:
192.168.2.3 controller
192.168.2.3 keystone
192.168.2.3 glance
192.168.2.3 neutron

5. 网络设置:/etc/network/interfaces (暂定,安装neutron再修改)
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.2.3
        netmask 255.255.255.0
        network 192.168.2.0
        gateway 192.168.2.2
        dns-nameservers 192.168.2.2

auto eth1
iface eth1 inet static
        address 10.0.0.1
        netmask 255.255.255.0

6. 指定havana的 Ubuntu Cloud Archive
# apt-get install python-software-properties
# add-apt-repository cloud-archive:havana
# apt-get update && apt-get dist-upgrade
# reboot

posted @ 2016-09-07 13:50  zolo®  阅读(144)  评论(0编辑  收藏  举报