Установка reindexer из исходных текстов

#!/bin/bash

echo 'proxy=socks5://10.35.215.218:443' >/root/.curlrc
echo 'export PATH=/usr/local/bin:${PATH}' >/etc/profile.d/reindexer.sh
git clone https://github.com/Restream/reindexer.git

cd reindexer
./dependencies.sh

cd cpp_src
mkdir -p build

cd build
cmake ..
make -j8
make swagger
make face
make install

useradd --system --home-dir /var/lib/reindexer --no-create-home --shell /sbin/nologin reindexer
mv /etc/reindexer.conf.pkg /etc/reindexer.conf

chkconfig --add reindexer
service reindexer start

Comments powered by CComment