本文共 1884 字,大约阅读时间需要 6 分钟。
OpenStack安装指南_Mitaka
Openstack管理手册-Newton版-CentOS7.2
[root@controller ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 192.168.137.145 controller 192.168.137.146 compute 192.168.137.149 storage#Install ALL Packages and Configure Evironment
yum install centos-release-openstack-pike -y
yum install python-openstackclient -y yum install openstack-selinux -yyum install mariadb mariadb-server python2-PyMySQL -y
yum install rabbitmq-server -y yum install memcached python-memcached -y yum install etcd -y yum install openstack-keystone httpd mod_wsgi -y yum install openstack-glance -y yum install -y openstack-nova-api openstack-nova-conductor \ openstack-nova-console openstack-nova-novncproxy \ openstack-nova-scheduler openstack-nova-placement-api yum install -y openstack-neutron openstack-neutron-ml2 \ openstack-neutron-linuxbridge ebtables#Configure RabbitMQ
systemctl enable rabbitmq-server.service systemctl start rabbitmq-server.service systemctl status rabbitmq-server.servicerabbitmqctl add_user openstack passwd123
rabbitmqctl set_permissions openstack "." "." ".*"#Configure Memcached
vim /etc/sysconfig/memcached OPTIONS="-l 127.0.0.1,::1,controller" systemctl enable memcached.service systemctl start memcached.serviceOpenStack服务可以使用户可靠,分布式键值存储的分布式密钥锁定,存储配置,跟踪服务活性等情况。
#Configure Etcd vim /etc/etcd/etcd.conf [root@controller ~]# vim /etc/etcd/etcd.conf#[Member]
ETCD_DATA_DIR="/var/lib/etcd/default.etcd" ETCD_LISTEN_PEER_URLS="" ETCD_LISTEN_CLIENT_URLS="" ETCD_NAME="controller"#[Clustering]
ETCD_INITIAL_ADVERTISE_PEER_URLS="" ETCD_ADVERTISE_CLIENT_URLS="" ETCD_INITIAL_CLUSTER="controller=" ETCD_INITIAL_CLUSTER_TOKEN="etcd-cluster-01" ETCD_INITIAL_CLUSTER_STATE="new"systemctl enable etcd
systemctl start etcd systemctl status etcd本文转自 OpenStack2015 博客,原文链接:http://blog.51cto.com/andyliu/2069162 如需转载请自行联系原作者