Anubis offers a standard Docker-based deployment solution with the following steps:
1. Environmental preparation
- Install the Git tool:
sudo apt-get install git - Installation of Docker Engine: refer to the official documentation to complete the installation
- Validate the environment:
git --versioncap (a poem)docker --versionShould have correct output
2. Access to code
- Cloning Warehouse:
git clone https://github.com/TecharoHQ/anubis.git - Go to the catalog:
cd anubis
3. Build operations
- Build the mirror image:
docker build -t anubis . - Start the container:
docker run -p 8080:8080 anubis - Test access: through
http://localhost:8080validate (a theory)
4. Advanced configuration
- Modify the listening port:
docker run -p 9000:8080 anubis --listen=http://0.0.0.0:9000 - Check the operational status:
docker exec <容器ID> /app/bin/anubis --healthcheck - View real-time logs:
docker logs <容器ID>
This answer comes from the articleAnubis: Interfering with AI Crawler Crawling by Proof of WorkloadThe































