-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·23 lines (16 loc) · 921 Bytes
/
install.sh
File metadata and controls
executable file
·23 lines (16 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# install dependencies for ubuntu 18.04 (tested with LXC)
# apt install libisal2 liberasurecode-dev build-essential python-dev git python-pip virtualenv
# install dependencies for centos:7 (tested with docker)
# yum install python-devel python-virtualenv git \
# http://mirror2.openio.io/pub/repo/openio/sds/18.10/el/7/x86_64/liberasurecode-devel-1.5.0-1.el7.oio.x86_64.rpm \
# http://mirror2.openio.io/pub/repo/openio/sds/18.10/el/7/x86_64/liberasurecode-1.5.0-1.el7.oio.x86_64.rpm \
# http://mirror2.openio.io/pub/repo/openio/sds/18.10/el/7/x86_64/libisal-2.22.0-1.el7.oio.x86_64.rpm
virtualenv venv-ec-bench
source venv-ec-bench/bin/activate
pip install -U pip wheel setuptools
pip install 'eventlet>=0.18.2,!=0.18.3,!=0.20.1,!=0.21.0,<1.0.0'
pip install pyeclib
pip install git+git://github.com/open-io/oio-sds.git@4.4.3
echo how to launch bench:
echo "./venv-ec-bench/bin/python ec-test.py"