标签:one etc sysconfig token init put 用户 yum iss
[root@controller ~]# cat /etc/hosts#Install ALL Packages and Configure Evironment
yum install centos-release-openstack-pike -y
yum install python-openstackclient -y
yum install openstack-selinux -y
yum 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.service
rabbitmqctl 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.service
OpenStack服务可以使用户可靠,分布式键值存储的分布式密钥锁定,存储配置,跟踪服务活性等情况。
#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="http://192.168.137.145:2380"
ETCD_LISTEN_CLIENT_URLS="http://192.168.137.145:2379"
ETCD_NAME="controller"
#[Clustering]
ETCD_INITIAL_ADVERTISE_PEER_URLS="http://192.168.137.145:2380"
ETCD_ADVERTISE_CLIENT_URLS="http://192.168.137.145:2379"
ETCD_INITIAL_CLUSTER="controller=http://192.168.137.145:2380"
ETCD_INITIAL_CLUSTER_TOKEN="etcd-cluster-01"
ETCD_INITIAL_CLUSTER_STATE="new"
systemctl enable etcd
systemctl start etcd
systemctl status etcd
Centos0S7手动安装OpenStack Pike版--(一)
标签:one etc sysconfig token init put 用户 yum iss
原文地址:http://blog.51cto.com/andyliu/2069162