|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /proc/17567/root/usr/src/lsws/lsws-6.3.4/admin/misc/ |
Upload File : |
cd /tmp wget https://github.com/TecharoHQ/anubis/releases/download/v1.21.3/anubis_1.21.3_amd64.deb dpkg -i anubis_1.21.3_amd64.deb rm anubis_1.21.3_amd64.deb cp /usr/share/doc/anubis/botPolicies.yaml /etc/anubis/lsanubis.botPolicies.yaml #cp default.env lsanubis.env cat > lsanubis.env <<END BIND=:8923 DIFFICULTY=4 METRICS_BIND=:9091 SERVE_ROBOTS_TXT=0 #lsanubis need to run in subrequest mode TARGET=" " END systemctl enable anubis@lsanubis.service systemctl start anubis@lsanubis.service systemctl status anubis@lsanubis.service > /tmp/lsanubis_service_status.txt if [ $? -ne 0 ]; then echo "Failed to start anubis@lsanubis.service ..." cat /tmp/lsanubis_service_status.txt exit 1 fi cat << END Initial lsanubis service has been setup successful, configuration files /etc/anubis/lsanubis.service /etc/anubis/lsanubis.botPolicies.yaml can be further tweaked if need, restart after configuration change systemctl restart anubis@lsanubis.service