install-dependencies.sh
The Scylla knowledge base is a rapidly growing repository of info on NoSQL internals, development details, and thoughts on big-picture IT planning. Hardware selection: Choose cost-effective servers, physical or virtual. Data modeling: Design the right data model for your application. System administration: Get details on every level from network interfaces to NTP.
#!/bin/bash |
. /etc/os-release |
if [ '$ID'='ubuntu' ] || [ '$ID'='debian' ];then |
if [ '$VERSION_ID'='14.04' ];then |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test |
sudo apt-get -y update |
fi |
apt-get install -y libaio-dev ninja-build ragel libhwloc-dev libnuma-dev libpciaccess-dev libcrypto++-dev libboost-all-dev libxen-dev libxml2-dev xfslibs-dev libgnutls28-dev liblz4-dev libsctp-dev gcc make |
if [ '$ID'='ubuntu' ];then |
apt-get install -y g++-5 |
echo'g++-5 is installed for Seastar. To build Seastar with g++-5, specify '--compiler=g++-5' on configure.py' |
else# debian |
apt-get install -y g++ |
fi |
elif [ '$ID'='centos' ] || [ '$ID'='fedora' ];then |
if [ '$ID'='centos' ];then |
yum install -y epel-release |
curl -o /etc/yum.repos.d/scylla-1.2.repo http://downloads.scylladb.com/rpm/centos/scylla-1.2.repo |
fi |
yum install -y libaio-devel hwloc-devel numactl-devel libpciaccess-devel cryptopp-devel libxml2-devel xfsprogs-devel gnutls-devel lksctp-tools-devel lz4-devel gcc make |
if [ '$ID'='fedora' ];then |
dnf install -y gcc-c++ ninja-build ragel boost-devel xen-devel libubsan libasan |
else# centos |
yum install -y scylla-binutils scylla-gcc-c++ scylla-ninja-build scylla-ragel scylla-boost-devel scylla-libubsan scylla-libasan scylla-libstdc++-static python34 |
echo'g++-5 is installed for Seastar. To build Seastar with g++-5, specify '--compiler=/opt/scylladb/bin/g++ --static-stdc++' on configure.py' |
echo'Before running ninja-build, execute following command: . /etc/profile.d/scylla.sh' |
fi |
fi |
![Scylladb ubuntu install windows 7 Scylladb ubuntu install windows 7](/uploads/1/2/5/8/125863591/169143088.png)
![Install Install](/uploads/1/2/5/8/125863591/313029834.jpg)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment