wiki:APTRepositoryHTTPServerSetup

The apt repository server (debathena.mit.edu) is hosted on scripts.mit.edu out of the debathena locker. To replicate it on a dedicated server, install Apache and AFS (e.g., debathena-standard and apache2), and configure the document root to be

/mit/debathena/web_scripts

There's also a crontab in /mit/debathena/cron_scripts that updates the package lists on the website. It expects to be able to edit the web_scripts directory; on scripts, it does so with daemon.scripts permissions.

Trac (http://debathena.mit.edu/trac/) expects to use sql.mit.edu for its database.