diff options
Diffstat (limited to 'DOCS/tech/mirrors/mirror_howto.txt')
-rw-r--r-- | DOCS/tech/mirrors/mirror_howto.txt | 41 |
1 files changed, 33 insertions, 8 deletions
diff --git a/DOCS/tech/mirrors/mirror_howto.txt b/DOCS/tech/mirrors/mirror_howto.txt index 92dbe81fd2..054e8971b9 100644 --- a/DOCS/tech/mirrors/mirror_howto.txt +++ b/DOCS/tech/mirrors/mirror_howto.txt @@ -48,7 +48,7 @@ Requirements ~~~~~~~~~~~~ The requirements for any (official) mirror are: 1) rsync installed and some way to run the sync script periodicaly (eg cron) -2) subscribing to the mplayer-mirror mailinglist (see below) +2) subscribing to the mplayer-mirror mailing list (see below) The requirements for a full website mirror are: 1) 500MB of free disk space (for the ftp and homepage directories). @@ -188,21 +188,46 @@ appear to default to defining a standard charset. This breaks our documentation translations, which are written in different encodings. The second VirtualHost is necessary for the DNS round-robin address. +To check whether this VirtualHost works, you can add a temporary entry into +your /etc/hosts file: + +1.2.3.4 www.mplayerhq.hu + +Replace the IP address by the real IP address of your mirror. Do not forget to +remove the entry after you finish testing. + + +Webserver checklist +~~~~~~~~~~~~~~~~~~~ + +After setting up the web server, please verify that the following things work +both for your mirror address (www#.mplayerhq.hu) and the DNS round-robin +address (www.mplayerhq.hu): + +- The virtual host is reachable by its address. +- The subdirectories MPlayer, DOCS and homepage work. +- The man pages and documentation are served with the correct content-type. + Try Russian or Chinese, you will notice breakage immediately. Setting up an FTP server ~~~~~~~~~~~~~~~~~~~~~~~~ -Any FTP server will do. We use vsftpd, it's fast and secure. You should have -the same directory layout as we do on our server, so there should be a -subdirectory named 'MPlayer' (notice the capitals) that contains the -downloadable files. +Any FTP server will do. We use vsftpd, it is fast and secure. The setup is +similar to the web server setup. The FTP server should listen on both its mirror +address (ftp#.mplayerhq.hu) and the DNS round-robin address (ftp.mplayerhq.hu). +All our mirrors are public, so you should allow anonymous access. +You should have the same directory layout as we do on our server, so there +should be a subdirectory named 'MPlayer' (notice the capitals) that contains +the downloadable files. -Mailinglist -~~~~~~~~~~~ + +Mailing list +~~~~~~~~~~~~ All official mirror admins are required to subscribe to the mplayer-mirror -mailinglist. It's used to coordinate the efforts and distribute information +mailing list. It's used to coordinate the efforts and distribute information among all admins. It is also very low traffic. Please use the webinterface on http://lists.mplayerhq.hu/mailman/listinfo/mplayer-mirror to subscribe. +Please do not top-post on this mailing list. |