安装环境:
1、vmware vsphere5.5 上的虚拟机
2、操作系统redhat 7.3(必须是7.0以上的版本,Centos也是如此)
3、openstack ROD版本
刚接触openstack,力求在最短时间内部署好继续研究,所以选用了容易安装的RDO。
参考文章:
1、https://www.rdoproject.org/install/quickstart/ 貌似是官方的
2、http://www.aboutyun.com/thread-9195-1-1.html
先看文章1,了解所需要的基本配置,可以少走弯路。我一开始就是安装了rhel6.5,各种走不通。。。。
1、挂载rhel7.3的iso文件
mount -t iso9660 /dev/cdrom /mnt
2、配置yum源
cd /etc/yum.repos.d
vi rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
baseurl=file:///mnt/
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
3、 yum install -y https://www.rdoproject.org/repos/rdo-release.rpm
4、 yum update -y
5、 yum install -y openstack-packstack
出现报错,显示缺少 python docutils,yum源里也没有
在网上下载了.rsc.rpm文件。与一般的rpm文件安装方法不一样
1、vmware vsphere5.5 上的虚拟机
2、操作系统redhat 7.3(必须是7.0以上的版本,Centos也是如此)
3、openstack ROD版本
刚接触openstack,力求在最短时间内部署好继续研究,所以选用了容易安装的RDO。
参考文章:
1、https://www.rdoproject.org/install/quickstart/ 貌似是官方的
2、http://www.aboutyun.com/thread-9195-1-1.html
先看文章1,了解所需要的基本配置,可以少走弯路。我一开始就是安装了rhel6.5,各种走不通。。。。
1、挂载rhel7.3的iso文件
mount -t iso9660 /dev/cdrom /mnt
2、配置yum源
cd /etc/yum.repos.d
vi rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
baseurl=file:///mnt/
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
3、 yum install -y https://www.rdoproject.org/repos/rdo-release.rpm
4、 yum update -y
5、 yum install -y openstack-packstack
出现报错,显示缺少 python docutils,yum源里也没有
在网上下载了.rsc.rpm文件。与一般的rpm文件安装方法不一样
假设该文件已经存在于/usr/local/src/下。在该目录下执行rpmbuild --rebuild --clean setarch-1.3-1.src.rpm
若顺利执行成功则会在/usr/src/redhat/RPMS/i386/目录下生成setarch-1.3-1.i386.rpm这个rpm文件。
接下来就是rpm的安装过程 rpm -ivh ***.rpm
安装过程中缺少哪个就用yum
6、生成自动化部署配置文件
packstack --gen-answer-file=answer.conf
7、openstack自动化安装
packstack --answer-file=./answer.conf
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29820633/viewspace-2133298/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29820633/viewspace-2133298/