Issue
How can I create a local CloudLinux repository mirror?
Environment
- CloudLinux OS mirrors only
Solution
This article only applies to CloudLinux OS (not ELS for CentOS/Oracle/Ubuntu) mirrors.
CloudLinux mirror requires a bit more than a typical repository mirror setup. We set up CLN proxy software to accommodate authentication done by the
CloudLinux mirror requires a bit more than a typical repository mirror setup. We set up CLN proxy software to accommodate authentication done by the
yum-rhn-plugin
plugin.Important: To qualify as a CLN mirror, you need to have more than 50 CloudLinux server licenses.
1. To host a mirror, please set up the server with the following requirements:
- VM with at least 4GB of RAM and 500GB of disk space running AlmaLinux OS;
- The FQDA domain name with A record pointed to the IP address of this server, for example, cl-mirror.yourdomain.com;
- The following SSH keys are added to root account (or other account used for ssh with sudo privileges):
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJh4p7SzrinfAVQgRkfaO6A1AjNwJ3eHoHTQlaiwlaQF mirrors@cloudlinux.com
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEA0kzTrtnpG3awsKlQRzo8tLzG0Rb93XO6plRtFsVmAtqyuk1nfwC36ISL+AT2+r4+xuZiK8taVgbPVDU/+dHD3ObMQPIvIZOvQWGZH0zZApeXfbKD3DaLfh5aQeI9kbeo3cGQufFIxTkSLVXHTmjISf3gggP7m17hI4jxiu5Gaw/lNwlrQtsBgyEsF4+Y5jSOn1fMkx+R//8ul6L97EBEIGA9Pzcy4tHtTCNxfAGOmUmx8ijnieqNb95wxU5hrhirmWbICeMkgECEsIOPkweWoBNmrVxAigSQuM0uJZeFl5x2I5KaocmXbpeswDCWjGCtEDjcY9WqBSGehuUxArZvGEcaeJ+AM+xIlr0yPTx+3y4JsN/hluzRX9vbuzBZxhctP0BALu8uXKjYvJr9STU0umNZrRHBBQKCIF16FPwcJ7d+H4KYFvxOiVTDKtIZJ5gCtp/nUtVeQFUPEwgirgypP4hv3gkE73A+2vl3lwZ1p2YBmzzbAOpeXDtDFNSpK6Kfa7ujK70ouM0EDptPe/aGJMuDet7RGlnn/zQdpXrCLpUZSVrsTFjN+NZ6uTah5r5QsOhTpL1IoD+FrW9ovgr6KwtM6rl/XKzrzmbnQGaGQY5h5Kan2a0Y24eIXm5MnncOgwZZUCpT7SV2b7cjASf5xMfU87Ihe3c/Vmi33pblD8E= clsupport@sshbox.cloudlinux.com
- The firewall should be configured to allow:
-
- sshd 22 TCP port from 77.79.198.0/26 , 23.111.175.214 and 206.252.237.0/29
- node exporter 9100 and 9256 TCP ports from: 77.79.198.0/26 and 206.252.237.0/29
- http/https 80/443 from all IPv4/IPv6
- Incoming rsync traffic from 37.27.37.224
Please note: this should be a fresh server that is not used in production yet for other tasks.
- your CLN login name;
- server access details;
- domain name assigned for the server.
3. Our team will install and configure a web server with a proxy for the CLN network and synchronize the repository data.
4. When the mirror is set up, it will be added to our list (http://repo.cloudlinux.com/cloudlinux/mirrorlists/cln-mirrors) and will be available for use to the CloudLinux customers.
5. ETA is about 3-5 business days.
4. When the mirror is set up, it will be added to our list (http://repo.cloudlinux.com/cloudlinux/mirrorlists/cln-mirrors) and will be available for use to the CloudLinux customers.
5. ETA is about 3-5 business days.
Notes:
- It is possible to set up a private CloudLinux mirror.
- Our roles are specific to
RPM-based
systems. Certificates and other stuff are packed into RPM, we can't install our packages onDeb-based
OS.
Useful links
You can find the instructions for ELS for CentOS/Oracle/Ubuntu mirrors in the documentation.
Comments
0 comments
Please sign in to leave a comment.