Devstack安装Openstack L版本

ubuntu14通过devstack安装openstack:

参照网址:

    http://docs.openstack.org/developer/devstack/
   http://www.07net01.com/2015/11/958333.html

ubuntu14_64的vm(ubuntu15支持的不好);
修改源指向163
apt-get update
adduser stack


增加stack用户到sudoers中
root@devstack:~# cat /etc/sudoers|grep stack
stack ALL=(ALL) ALL

 

apt-get install -y git
git clone https://git.openstack.org/openstack-dev/devstack
git checkout stable/liberty

 

从samples下复制local.conf模板,修改local.conf,增加服务
ADMIN_PASSWORD=stack
DATABASE_PASSWORD=stack
RABBIT_PASSWORD=stack
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD

ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-xvnc,n-cauth,mysql,rabbit
ENABLED_SERVICES+=,c-sch,c-api,c-vol
ENABLED_SERVICES+=,ceilometer
# Horizon config
#disable_service horzion
#enable_service tempest
# Neutron
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-metering
enable_service neutron
# VXLAN tunnel configuration
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan

执行安装sh文件

你可能感兴趣的:(云计算Openstack)