From 66af0500bb58085898a9612404ee6cc01a897dda Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:27:43 +0330 Subject: [PATCH 1/9] DDNS --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index 99dcec436f..d67890d2c6 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -7,7 +7,7 @@ contributors: Amin Vakil, Steven Spencer ## Minimal requirements for public mirrors -We always welcome new public mirrors. But they should be well maintained and hosted in a 24/7 data center like environment. Available bandwidth should be at least 1 GBit/s. We prefer mirrors offering dual-stack (IPv4 & IPv6). Please no dynamic DNS. If you are offering a mirror in a region that has only few mirrors, we will also accept slower speeds. +We always welcome new public mirrors. But they should be well maintained and hosted in a 24/7 data center like environment. Available bandwidth should be at least 1 GBit/s. We prefer mirrors offering dual-stack (IPv4 & IPv6). Please do not submit mirrors configured using dynamic DNS. If you are offering a mirror in a region that has only few mirrors, we will also accept slower speeds. Please do not submit mirrors which are hosted in a Anycast-CDN like Cloudflare etc. as this can lead to sub-optimal performance with the selection of fastest mirror in `dnf`. From 1393ead84f3e12f75460b378a5eec35b54c2cc1e Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:29:49 +0330 Subject: [PATCH 2/9] Missing , --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index d67890d2c6..d029d513f0 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -9,7 +9,7 @@ contributors: Amin Vakil, Steven Spencer We always welcome new public mirrors. But they should be well maintained and hosted in a 24/7 data center like environment. Available bandwidth should be at least 1 GBit/s. We prefer mirrors offering dual-stack (IPv4 & IPv6). Please do not submit mirrors configured using dynamic DNS. If you are offering a mirror in a region that has only few mirrors, we will also accept slower speeds. -Please do not submit mirrors which are hosted in a Anycast-CDN like Cloudflare etc. as this can lead to sub-optimal performance with the selection of fastest mirror in `dnf`. +Please do not submit mirrors which are hosted in a Anycast-CDN like Cloudflare, etc. as this can lead to sub-optimal performance with the selection of fastest mirror in `dnf`. Please note that we are not allowed to accept public mirrors in countries subject to US export regulations. You can find a list of those countries here: https://www.bis.doc.gov/index.php/policy-guidance/country-guidance/sanctioned-destinations From e14d0917f82770c2d3018072ed59831f9cc0a1df Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:31:38 +0330 Subject: [PATCH 3/9] Add link --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index d029d513f0..e4b1d1a88f 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -11,7 +11,7 @@ We always welcome new public mirrors. But they should be well maintained and hos Please do not submit mirrors which are hosted in a Anycast-CDN like Cloudflare, etc. as this can lead to sub-optimal performance with the selection of fastest mirror in `dnf`. -Please note that we are not allowed to accept public mirrors in countries subject to US export regulations. You can find a list of those countries here: https://www.bis.doc.gov/index.php/policy-guidance/country-guidance/sanctioned-destinations +Please note that we are not allowed to accept public mirrors in countries subject to US export regulations. You can find a list of those countries here: [https://www.bis.doc.gov/index.php/policy-guidance/country-guidance/sanctioned-destinations](https://www.bis.doc.gov/index.php/policy-guidance/country-guidance/sanctioned-destinations) Hard disk space requirements are around 500 GB at the moment but expect it to grow over time. 600 GB space should be sufficient for the next few years. From 83042da26044813c6f41fafa965f98c368551dfb Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:34:12 +0330 Subject: [PATCH 4/9] Add link --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index e4b1d1a88f..4a82975cac 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -45,7 +45,7 @@ rsync -aqH --delete source-mirror destination-dir ``` Consider using a locking mechanism to avoid running more than one `rsync` job simultaneously when we push a new release. -You can also use and modify our example script implementing locking and full sync if required. It can be found at https://github.com/rocky-linux/rocky-tools/blob/main/mirror/mirrorsync.sh. +You can also use and modify our example script implementing locking and full sync if required. It can be found at [https://github.com/rocky-linux/rocky-tools/blob/main/mirror/mirrorsync.sh](https://github.com/rocky-linux/rocky-tools/blob/main/mirror/mirrorsync.sh). After your first complete synchronization check that everything is fine with your mirror. Most importantly check all files and dirs got synchronized, your chron job is working properly and your mirror is reachable from the public internet. Double check your firewall rules! To avoid any problems do not enforce http to https redirection. From 820a817a1712247972387aa7b786d93e90947121 Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:34:25 +0330 Subject: [PATCH 5/9] Typo --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index 4a82975cac..1530fc9bd9 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -47,7 +47,7 @@ Consider using a locking mechanism to avoid running more than one `rsync` job si You can also use and modify our example script implementing locking and full sync if required. It can be found at [https://github.com/rocky-linux/rocky-tools/blob/main/mirror/mirrorsync.sh](https://github.com/rocky-linux/rocky-tools/blob/main/mirror/mirrorsync.sh). -After your first complete synchronization check that everything is fine with your mirror. Most importantly check all files and dirs got synchronized, your chron job is working properly and your mirror is reachable from the public internet. Double check your firewall rules! To avoid any problems do not enforce http to https redirection. +After your first complete synchronization check that everything is fine with your mirror. Most importantly check all files and dirs got synchronized, your cron job is working properly and your mirror is reachable from the public internet. Double check your firewall rules! To avoid any problems do not enforce http to https redirection. If you have any questions setting up your mirror join https://chat.rockylinux.org/rocky-linux/channels/infrastructure From 4c214089efb836a3ba3c5ce99e82f4186bd08bc2 Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:34:47 +0330 Subject: [PATCH 6/9] Internet is Internet --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index 1530fc9bd9..c7bb643db4 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -47,7 +47,7 @@ Consider using a locking mechanism to avoid running more than one `rsync` job si You can also use and modify our example script implementing locking and full sync if required. It can be found at [https://github.com/rocky-linux/rocky-tools/blob/main/mirror/mirrorsync.sh](https://github.com/rocky-linux/rocky-tools/blob/main/mirror/mirrorsync.sh). -After your first complete synchronization check that everything is fine with your mirror. Most importantly check all files and dirs got synchronized, your cron job is working properly and your mirror is reachable from the public internet. Double check your firewall rules! To avoid any problems do not enforce http to https redirection. +After your first complete synchronization check that everything is fine with your mirror. Most importantly check all files and dirs got synchronized, your cron job is working properly and your mirror is reachable from the public Internet. Double check your firewall rules! To avoid any problems do not enforce http to https redirection. If you have any questions setting up your mirror join https://chat.rockylinux.org/rocky-linux/channels/infrastructure From 7e2c67663b7fad8666f9597969c748791d4dc85f Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:36:13 +0330 Subject: [PATCH 7/9] report_mirrors is a script --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index c7bb643db4..fefafe6ccf 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -69,7 +69,7 @@ A new page will load listing all of the sites under the account. The first time A new page will load with an important Export Compliance statement to read. Then fill out the following information: * "Site Name" -* "Site Password" - used by report_mirrors script, you make this anything you want +* "Site Password" - used by `report_mirrors` script, you make this anything you want * "Organization URL" - Company/School/Organization URL e.g. https://rockylinux.org/ * "Private" - Checking this box hides this site from public use. * "User active" - Uncheck this box to temporarily disable this site, it will be removed from public listings. From ca47edb2e322cdf339234a07b45f84c748e067a6 Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:36:49 +0330 Subject: [PATCH 8/9] More informative --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index fefafe6ccf..00cf747f1a 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -71,7 +71,7 @@ A new page will load with an important Export Compliance statement to read. Then * "Site Name" * "Site Password" - used by `report_mirrors` script, you make this anything you want * "Organization URL" - Company/School/Organization URL e.g. https://rockylinux.org/ -* "Private" - Checking this box hides this site from public use. +* "Private" - Checking this box hides your mirror from public use. * "User active" - Uncheck this box to temporarily disable this site, it will be removed from public listings. * "All sites can pull from me?" - Enable all mirror sites to pull from me without explicitly adding them to my list. * "Comments for downstream siteadmins. Please include your synchronization source here to avoid dependency loops." From a6e409e6a1b20ede9bc58aa8a048bde89ed995c2 Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Tue, 18 Jan 2022 15:38:35 +0330 Subject: [PATCH 9/9] Minor improvement --- docs/guides/mirror_management/add_mirror_manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mirror_management/add_mirror_manager.md b/docs/guides/mirror_management/add_mirror_manager.md index 00cf747f1a..348a1081be 100644 --- a/docs/guides/mirror_management/add_mirror_manager.md +++ b/docs/guides/mirror_management/add_mirror_manager.md @@ -82,7 +82,7 @@ Upon clicking "Submit" you will be returned to the main mirror page. From the main mirror page, select the drop down then click "My sites". -The account site page will load and the site should be listed. Click it to go to the Information Site. +The account site page will load and the site should be listed. Click on it to go to the Information Site. All of the options from the last section are listed again. At the bottom of the page are three new options: Admins, Hosts, and Delete site. Click on the "Hosts [add]".