OpenStack Basic Install
4
Edit /etc/apt/sources.list.d/cloud-archive.list :
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom
main
Upgrade the system (and reboot if you need) :
apt-get update && apt-get upgrade
3. Configure the network :
• Edit /etc/network/interfaces file :
# Management Network
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
# API + Public Network
auto eth1
iface eth1 inet static
address 7.7.7.7
netmask 255.255.255.0
gateway 7.7.7.1
dns-nameservers 8.8.8.8
• Edit /etc/sysctl.conf :
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.rp_filter = 0
Then, restart network service :
service networking restart
• Edit the /etc/hosts file and add folsom-controller, folsom-network and folsom-
compute hostnames with correct IP.
4. Install Configure NTP :
• Install the package :
apt-get install -y ntp
• Configure /etc/ntp.conf file :
server ntp.ubuntu.com iburst
server 127.127.1.0
fudge 127.127.1.0 stratum 10
• Restart the service :
service ntp restart
MySQL Database Service
1. Install the packages :