mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-01-08 22:27:56 +00:00
752 B
752 B
KVAZAR Index Crawler
Compatible
Install
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
Setup
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, set binlog flush strategy to binlog_flush = 1
in /etc/manticoresearch/manticore.conf