Actual for Minter Blockchain version 1.0.x.
To install official packages add the Yandex repository in /etc/apt/sources.list
or in a separate /etc/apt/sources.list.d/clickhouse.list
file:
deb http://repo.yandex.ru/clickhouse/deb/stable/ main/
If you want to use the most recent version, replace stable
with testing
(this is not recommended for production environments).
Then run these commands to actually install packages:
sudo apt-get install dirmngr # optional
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4 # optional
sudo apt-get update
sudo apt-get install clickhouse-client clickhouse-server
Instructions from the official site.
sudo apt-get install redis-server
Creating and/or cleaning tables in databases:
prs3rd del
Downloading preliminary data (if needed) from the start.json
file:
prs3rd json
Running the daemon:
prs3rd
- Size of base on disk
- Request execution speed
curl localhost:8018/status
- parser statuscurl localhost:8018/start
- starting parsercurl localhost:8018/stop
- stoping parsercurl localhost:8018/exit
- exit