啥也没写
分类: 系统运维
2014-09-10 16:08:27
1、查看CPU是否支持硬件虚拟化
sudo egrep '(vmx|svm)' --color=always /proc/cpuinfo
2、配置ubuntu固定IP
cat /etc/network/interface
...
auto eth0
iface eth0 inet static
address 192.168.48.100
netmask 255.255.255.0
network 192.168.48.0
broadcast 192.168.48.255
gateway 192.168.48.2
dns-nameservers 8.8.8.8
sudo ifdown eth0 && sudo ifup eth0
3、sudo免密码
sudo -i
sudo echo "openstack ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
4、更改源
sudo sed -i.bak 's#' /etc/apt/sources.list
sudo sed -i.bak 's#http://security.ubuntu.com/#http://mirrors.ustc.edu.cn/#g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
0、给python添加douban的源
sudo mkdir ~/.pip
sudo cat >~/.pip/pip.conf <
index-url =
EOF
1、安装GIT并下载devstack包
sudo apt-get install git -y
git clone https://github.com/openstack-dev/devstack.git
cd devstack
//查看本地分支
git branch -a
//切换分支
git checkout -b icehouse origin/stable/icehouse
//上传localrc到devstack目录,再进行安装
./stack.sh