OpenStack云计算平台框架搭建
1.先换源
先换成阿里源:
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
2.安装框架
yum -y install centos-release-openstack-train
3.安装客户端
yum -y install python-openstackclient
但是安装客户端的时候大概率会报错,错误代码如下:
Cannot find a valid baseurl for repo: centos-ceph-nautilus/7/x86_64
Cannot find a valid baseurl for repo: centos-nfs-ganesha28/7/x86_64
Cannot find a valid baseurl for repo: centos-openstack-train/7/x86_64
Cannot find a valid baseurl for repo: centos-qemu-ev/7/x86_64
可以去试着修改这四个配置文件
vim /etc/yum.repos.d/CentOS-Ceph-Nautilus.repo
vim /etc/yum.repos.d/CentOS-NFS-Ganesha-28.repo
vim /