<一,preinstall basic conf,pre Env>
1,pwgen(openssl rand -hex 10)
some Open-
Stack services add a root wrapper to sudo that can interfere with security policies (Mirantis openStack Certification涉及)
2,apt-get update && apt-get intall ntp;
3,OpenStack juno apt repo packages for ubuntuServer14.04
apt-get install ubuntu-cloud-keyring
echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" \
"trusty-updates/juno main" > /etc/apt/sources.list.d/cloudarchive-juno.list
apt-get update && apt-get dist-upgrade
http://ubuntu-cloud.archive.canonical.com/ubuntu/
4,MySQL DB (Python MySQL library compatible with MariaDB)
apt-get install mariadb-server python-mysqldb
conf
/etc/mysql/my.conf
5,Message queue server
OpenStack uses a message broker to coordinate operations and status information among
services.
apt-get install rabbitmq-server
rabbitmqctl change_password guest RABBIT_PASS
configure the rabbit_password key in the configuration file for each
OpenStack service that uses the message broker
finalize basic conf,installation,now you are ready to install OpenStack services!
<二,openStack Core components ins>
1,identity service(keystone)
[Ins cmd]
apt-get install keystone python-keystoneclient
[Conf]
rely,depend on Packages(visible only RHEL derives OS)