准备环境:
1)最小安装Centos 7(6G内存+50G硬盘)
2) selinux、iptables关闭 systemctl stop #停止firewall systemctl disable #禁止firewall开机启动 setenforce 0
# 使用豆瓣pip源
mkdir -p ~/.pip vi ~/.pip/ [global] index-url = /simple/ [install] trusted-host =
下载并安装EPEL
wget /pub/epel/epel-release-latest- rpm -ivh epel-release-latest- yum repolist ##检查是否已添加至源列表
为系统安装必要的工具包:
yum install -y Python-pip pip install --upgrade pip pip install -U os-testr yum -y install bridge-utils yum -y install net-tools yum install -y git yum-utils
更新系统
yum update
3)添加一个openstack用户
useradd