apt install git composer manticore php-fpm php-curl php-mbstring php-pdo php-bcmath
git clone https://github.com/kvazar-network/crawler.git
cd crawler
composer update
cp example/config.json config.json
crontab -e
:* * * * * php src/index.php
- drop index:
php src/index.php drop
- optimize index:
php src/index.php optimize
- drop index:
To prevent data lose on server failures, change default binlog flush strategy to binlog_flush = 1