Update system
# yum update
Set system time to UTC timezone
# timedatectl set-timezone UTC
Add repository to system
yum install -y epel-release wget
Add YUM repository
wget -O /etc/yum.repos.d/scylla.repo http://repositories.scylladb.com/scylla/repo/034e7e01c68d4fe4400d48ae53744a7d/centos/scylladb-2.0.repo
Install packages
yum install -y scylla scylla-server
Run setup programs
scylla_setup
Answer 'YES' for 'Do you want to setup IO configuration?' or run scylla_io_setup
If you need more configurations
vim /etc/scylla/scylla.yaml
systemctl start scylla-server
Check node status
nodetool status
Connect to node
cqlsh
yum groupinstall -y "Development Tools"
yum install -y cmake
yum install -y libuv libuv-devel
yum install -y openssl openssl-devel
git clone https://github.com/datastax/cpp-driver.git
cd cpp-driver
git tag --list
git checkout 2.7.1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
make install
Then to install the php driver:
yum install -y gmp gmp-devel php-devel
pecl install cassandra
You may want to update it with the latest version:
sudo curl -o /etc/yum.repos.d/scylla.repo -L http://repositories.scylladb.com/scylla/repo/fa13500b-1166-4888-9f40-0a7d0e822d70/centos/scylladb-3.0.repo