{"id":28177,"date":"2018-09-26T14:39:42","date_gmt":"2018-09-26T06:39:42","guid":{"rendered":"https:\/\/www.deepin.org\/?page_id=28177"},"modified":"2024-08-19T16:49:59","modified_gmt":"2024-08-19T08:49:59","slug":"setup-mirror-sites","status":"publish","type":"page","link":"https:\/\/www.deepin.cn\/en\/mirrors\/setup-mirror-sites\/","title":{"rendered":"Setup Mirror Sites"},"content":{"rendered":"Welcome the new mirror sites for deepin. If you are considering setting up a public mirror site for deepin, please follow these guidelines to ensure that your mirror is consistent with other mirror sites.<\/p>\n<p>The official package repository is about 450G, and ISO repository (cdimage) is about 3G. Please make sure you have enough disk space at first, and use rsync.deepin.com provided by deepin to rsync mirrors.<br \/>\n<code class=\"lang:default decode:true \">Rsync package repository: rsync -av --delete-after rsync.deepin.com::deepin\/ \/var\/www\/deepin\/<br \/>\nRsync ISO releases: rsync -av --delete-after rsync.deepin.com::releases\/ \/var\/www\/deepin-cd\/<\/code><br \/>\nYou should also set up a cron job to periodically synchronize mirrors. Once the mirror is properly synchronized and all mirror URLs are valid, please email us at support@deepin.org with the mirror details. Once your mirror meets our requirements, we will add it to our mirror site list.<\/p>\n<p>Before submitting the mirror site, you should check if the mirror URL is accessible from the external internet. If there is an IPv6 address, you should check IPv4 and IPv6 separately.<\/p>\n<p>In email submission, please provide all relevant URLs (http \/ https \/ rsync) and the synchronization frequency from the mirrored network, and write down your city\/state\/country\/region, your bandwidth speed, the name and homepage of the sponsoring organization, so that we can publish it in the mirror site list. When sending email to support@deepin.org, please provide the email address of the preferred contact for the mirror as well.<\/p>\n<p>You can use below email template to support@deepin.org:<br \/>\n<code class=\"lang:default decode:true\">HTTP: http:\/\/your.domain.com\/deepin\/<br \/>\nHTTPS: https:\/\/your.domain.com\/deepin\/ (If https access is supported)<br \/>\nRSYNC: rsync:\/\/your.domain.com\/deepin\/ (If rsync access is supported)<\/p>\n<p>Synchronization frequency: Every xx hours<br \/>\nBandwidth:<br \/>\nLocation: (please write the state\/province if in U.S.A. and Canada)<br \/>\nSponsor name:<br \/>\nSponsor homepage:<br \/>\nIPv4 address to be authorized:<br \/>\nIPv6 address to be authorized:<br \/>\nEmail contact: (We will send questions)<br \/>\n<\/code><br \/>\nWe currently focus on HTTP and RSYNC, and no longer accept FTP URLs for new mirrors. HTTPS is currently not used for mirror services, but we are collecting HTTPS URLs and they may be included in the list in future. If you have setup HTTPS, please do not redirect HTTP requests to HTTPS.<\/p>\n<p>The mirror site should be synchronized 2-4 times a day through the cron job. We strongly recommend that using lock files in your cron scripts, so that there will not be multiple connections which lead to unnecessary load on our servers. If you don't know how to do this, please email us.","protected":false},"excerpt":{"rendered":"<p>Welcome the new mirror sites for deepin. If you are considering setting up a public mirror site for deepin, please follow these guidelines to ensure that your mirror is consistent with other mirror sites. The official package repository is about 450G, and ISO repository (cdimage) is about 3G. Please make sure you have enough disk space at first, and use rsync.deepin.com provided by deepin to rsync mirrors. Rsync package repository: rsync -av --delete-after rsync.deepin.com::deepin\/ \/var\/www\/deepin\/ Rsync ISO releases: rsync -av --delete-after rsync.deepin.com::releases\/ \/var\/www\/deepin-cd\/ You should also set up a cron job to periodically synchronize mirrors. Once the mirror is properly ...<a href=https:\/\/www.deepin.cn\/en\/mirrors\/setup-mirror-sites\/>Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":122,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/pages\/28177"}],"collection":[{"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/comments?post=28177"}],"version-history":[{"count":17,"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/pages\/28177\/revisions"}],"predecessor-version":[{"id":34530,"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/pages\/28177\/revisions\/34530"}],"up":[{"embeddable":true,"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/pages\/122"}],"wp:attachment":[{"href":"https:\/\/www.deepin.cn\/en\/wp-json\/wp\/v2\/media?parent=28177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}