Manually setup all-in-one OpenStack
Icehouse 1 - preparation
DevStack is a cool tool to setup all-in-one
OpenStack environment but it hides most of the details. To better understand how the each component of OpenStack is setup. here I tried to setup
OpenStack Icehouse on the Ubuntu 14.4 manully following this blog
http://fosskb.wordpress.com/2014/04/12/openstack-icehouse-on-ubuntu-12-04-lts-single-machine-setup/.
My IP is 192.168.139.111
Setup/update the environment
for OpenStack Icehouse
Configure the repositories and update the
packages.
Commands:
apt-get install -y
python-software-properties -- this
is to setup python environment
add-apt-repository cloud-archive:icehouse -- this is to setup the icehouse
repository
apt-get install -y ntp vlan bridge-utils -- this is to setup ntp vlan and other network utils
apt-get install -y ntp vlan bridge-utils -- this is to setup ntp vlan and other network utils
apt-get update && apt-get -y
upgrade -- this is to
update the packages and kernel
reboot --
reboot the server
Setup RabbitMQ server, it seems no
configuration for RabbitMQ
Commands:
apt-get install -y rabbitmq-server -- install rabbitmq
server
Setup MySQL server, configure the my.cnf
and restart MySQL
Commands:
apt-get install -y mysql-server
python-mysqldb
edit the /etc/mysql/my.cnf file
add or modify the below configuration
[mysqld]
bind-address = 0.0.0 .0 -- listen
on all IPs
collation-server = utf8_general_ci -- setup collation
init-connect = 'SET NAMES utf8' -- characterset setting
character-set-server = utf8 -- characterset
setting
restart the MySQL
service mysql restart --
restart MySQL
enable the kernel parameters in /etc/sysctl.conf
net.ipv4.ip_forward=1net.ipv4.conf.all.rp_filter=0
net.ipv4.conf.default.rp_filter=0
No comments:
Post a Comment