1. 安装准备
安装git、wget等
yum -y install git
yum –y install wget
安装pip
yum -y install epel-release
yum -y install python-pip
pip install --update
pip install --upgrade pip
pip install -U os-testr
2. 下载安装包
git clone https://github.com/openstack/rally.git
3. 开始安装
扫描二维码关注公众号,回复:
3890759 查看本文章
进入rally目录,安装
./install_rally.sh
4. 问题
error: command 'gcc' failed with exit status 1
由于没有正确安装Python开发环境导致。
sudo yum install python-devel
sudo yum install libevent-devel
easy_install gevent
或者
pip install gevent
使用yum install libtool
yum install libtool-ltdl
yum install libtool-ltdl-devel
yum install gcc
5. 安装完成