How to become a resource repository mirror: Difference between revisions
From Armagetron Advanced
No edit summary |
|||
| Line 10: | Line 10: | ||
== Mirror Setup == | == Mirror Setup == | ||
=== Mirror Number === | === Mirror Number === | ||
Ask [[User:Luke-Jr|Luke]] for a mirror number. Be sure to include your machine's IP address. References to this mirror number below are in English. For example, 'one' and 'two'. | Ask [[User:Luke-Jr|Luke]] for a mirror number. Be sure to include your machine's IP address(es). References to this mirror number below are in English. For example, 'one' and 'two'. | ||
=== Setup Apache === | === Setup Apache === | ||
Revision as of 17:28, 18 February 2007
Requirements
- Apache 2
- mod_rewrite
- ability to edit Apache vhost config
- rsync
- One of:
- cron
- ssh account
Mirror Setup
Mirror Number
Ask Luke for a mirror number. Be sure to include your machine's IP address(es). References to this mirror number below are in English. For example, 'one' and 'two'.
Setup Apache
Add to your vhost configuration:
<VirtualHost *:80>
ServerName mirror-number.resource.aa.dashjr.org
ServerAlias resource.armagetronad.net resource.aa.dashjr.org master.resource.aa.dashjr.org
ServerPath /
DocumentRoot /var/www/armagetron/resource/htdocs
UseCanonicalName On
AllowOverride All
</VirtualHost>
With Gentoo, this should be /etc/apache2/vhosts.d/02_armagetronad.conf
Establish Document Root
The basic repository mirror docroot
