This task documents the wondrous effort to get Anibus on XTools to help shield us from the armies of bots.
I successfully got Anubis runnging on a third-party wiki running on Ubuntu / Apache.
==== Environment
* Project [[ https://openstack-browser.toolforge.org/project/xtools | xtools ]], VPS instance [[ https://openstack-browser.toolforge.org/server/xtools-dev06.xtools.eqiad1.wikimedia.cloud | xtools-dev06.xtools.eqiad1.wikimedia.cloud ]]
* Debian Bullseye
* [[ https://anubis.techaro.lol/docs/admin/environments/apache/ | Apache ]] for routing requests to the application.
===== Progress
**Changes made in Horizon**
…
**Apache configuration**
…
**Installing Anubis**
I went with the [[ https://anubis.techaro.lol/docs/admin/native-install | native approach ]] and am using [[ https://wiki.debian.org/Alien | Alien ]] to build a Debian package from an RPM package:
```
$ sudo apt install alien
…
Setting up alien (8.95.4) ...
$ wget https://github.com/TecharoHQ/anubis/releases/download/v1.21.1/anubis-1.21.1-1.x86_64.rpm
…
2025-07-23 05:30:00 (125 MB/s) - 'anubis-1.21.1-1.x86_64.rpm' saved [12737057/12737057]
sudo
$ sudo alien -d anubis-1.21.1-1.x86_64.rpm
…
anubis_1.21.1-2_amd64.deb generated
$ sudo apt install ./anubis_1.21.1-2_amd64.deb
…
Setting up anubis (1.21.1-2) ...
```
**Running Anubis**
I think we'll eventually want a systemd service for this. For now, I've been testing with:
```
$ anubis -bind localhost:9000 -target localhost:3001 -cookie-domain xtools-dev.wmcloud.org
```