Wheels Package

SlashDB can be installed from Python Wheels package.

The installation of SlashDB from Wheels package gives the administrator more control over the system and allows to tune the installation to the needs but it requires advanced understanding of system and WSGI servers.

Instructions

Below you can find the basic setup that co

1. Install system dependencies

sudo yum install -y epel-release
sudo yum install -y \
  gcc gcc-c++ wget unzip \
  python3 python3-devel python3-pip \
  libaio memcached nginx mysql-devel postgresql-devel \
  unixODBC freetds unixODBC-devel \
  libxml2-devel libxslt-devel

2. Download SlashDB files

Visit SlashDB downloads and acquire:

  • wheel file for your Python version
  • zip with default SlashDB configs
wget https://downloads.slashdb.com/versions/1.3.0/slashdb-1.3.0-cp36-cp36m-manylinux2014_x86_64.whl
wget https://downloads.slashdb.com/versions/1.3.0/default-slashdb-configs_1.3.0.zip

3. Create Python virtual environment and folder structure

sudo python3 -m venv /opt/slashdb
sudo mkdir /var/log/slashdb

unzip default-slashdb-configs_1.3.0.zip
sudo mv ./slashdb /etc

sudo chown -R ${USER}:${USER} /opt/slashdb /var/log/slashdb /etc/slashdb

4. Install SlashDB

source /opt/slashdb/bin/activate
pip install --upgrade pip
pip install ./slashdb-1.3.0-cp36-cp36m-manylinux2014_x86_64.whl

5. Start SlashDB

pserve /etc/slashdb/slashdb.ini

6. Access SlashDB

SlashDB should be accessible at http://localhost:6543 or server IP address.

In terminal you can check service is running by downloading the main page

wget http://localhost:6543

to access the GUI you need to open port 6543

sudo firewall-cmd --zone=public --add-port=6543/tcp
sudo firewall-cmd --reload

find out the IP address of the server

ip address

Using browser go to the IP address on port 6543 e.g. http://192.168.1.18:6543

results matching ""

    No results matching ""