LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-29-2020, 12:42 AM   #1
ehsan abbaspour
LQ Newbie
 
Registered: Sep 2020
Posts: 2

Rep: Reputation: Disabled
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?
 
Old 09-29-2020, 01:06 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by ehsan abbaspour View Post
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).
 
Old 10-06-2020, 05:08 AM   #3
ehsan abbaspour
LQ Newbie
 
Registered: Sep 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a Debian Wheezy/Ubuntu Precise Mirror using apt-mirror bennetfox Linux - Server 16 02-23-2013 03:56 PM
Mirror mirror on the wall taylorkh Red Hat 2 07-09-2011 10:46 AM
[SOLVED] Problems with Debootstrap and apt-mirror-based Debian mirror lil_drummaboy Debian 3 06-22-2010 06:12 PM
apt-mirror doesn't create appropriate mirror ??? abd_bela Debian 1 09-30-2009 04:23 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration