LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   deploying a local mirror (https://www.linuxquestions.org/questions/centos-111/deploying-a-local-mirror-4175682863/)

ehsan abbaspour 09-29-2020 12:42 AM

deploying a local mirror
 
we are a data center that hosting different version of Centos releases for customers. Due to we install many packages regularly, we seriously need to install packages from a server during the installation process. We don’t want to become a public mirror, we just want to be a mirror in our data center locally.
We need a solution. when we want to install a fresh centos, how can we redirect it to our local mirror automatically?

berndbausch 09-29-2020 01:06 AM

Quote:

Originally Posted by ehsan abbaspour (Post 6170663)
We need a solution. when we want to install a fresh centos, how can we redirect it to our local mirror automatically?

That depends on how you install a fresh Centos.

When you install manually from a DVD, Centos 7 and 8 have an installation source option. Well, that's manual, not automatic, but then your installation is manual anyway.

When you use kickstart, set the installation source in the kickstart file. I don't remember the correct directive.

For more information, read the RHEL installation guide (the link documents RHEL 7, but I am sure RHEL/Centos 8 works almost the same).

ehsan abbaspour 10-06-2020 05:08 AM

Quote:

Originally Posted by berndbausch (Post 6170668)
That depends on how you install a fresh Centos.

When you install manually from a DVD, Centos 7 and 8 have an installation source option. Well, that's manual, not automatic, but then your installation is manual anyway.

When you use kickstart, set the installation source in the kickstart file. I don't remember the correct directive.

For more information, read the RHEL installation guide (the link documents RHEL 7, but I am sure RHEL/Centos 8 works almost the same).


thank you for your response


All times are GMT -5. The time now is 09:24 AM.