当前位置: 首页 >> 榆树网-网络 >> 文章正文

Mirroring MySQL.com

Running a public MySQL mirror currently requires about 170GB of storage. The bandwith that will be used is dependent on the number of mirrors in your area, and the number of users in your area who choose to use your mirror.

We have a few primary mirrors that are used to provide data for the other mirrors, using the rsync program. The mirrored site consists only of static HTML, images, and other files, so there are no other special server requirements.

To keep your mirror up to date, you will want to set up a cron task like the following:

1 */6 * * * rsync -a --delete --delete-after \
             rsync://example.com/mysql/ /path/to/local/mirror/

You should synchronize your mirror at least daily, and no more often than once every hour. If you customize the minute at which your mirror updates, that will help spread the load on our primary mirrors.

Current Primary Mirrors Which You Can rsync Against

North America
Hurricane Electric rsync://mysql.he.net/mysql/ (Fremont, CA)
pair Networks rsync://mysql.mirrors.pair.com/mysql/ (Pittsburgh, PA)
Europe
dotSrc.org rsync://mirrors.dotsrc.org/mysql/ (Denmark)
GWDG rsync://ftp5.gwdg.de/pub/linux/mysql/ (Germany)
UK Mirror Service rsync://rsync.mirrorservice.org/ftp.mysql.com/ (UK)
Asia
http://www.oss.eznetsols.org/ rsync://rsync.oss.eznetsols.org/ftp/mysql/ (Singapore)

Once You Set Up Your Mirror

Once you have set up your mirror, please email us at webmaster@mysql.com, including the following information:

  • What country (and city and state or region for larger countries) your mirror is located in.
  • The HTTP (and/or FTP) URL for your mirror.
  • The organization name you wish to be credited with providing the mirror.
  • A name and email address for someone we can contact when we notice problems with the mirrors, or send general announcements important for mirror maintainers.
  • A statement that you comply with the U.S. Export Control Laws as detailed on our International Trade Services page

相关文章

发表评论