01-25-2016
Questions about running local YUM server
Im building a local yum server to update a handful of RHEL6 and RHEL7 servers, I'll be sharing out these updates via a local http webserver but I have a few questions.
1) it seem I am only able to download RHEL6 patches from a RHEL6 box and 7 patches from a 7 box which would mean I would have to dedicate 2 target servers for yum, this seems like a waste. My question is can I just setup a RHEL 7 box to download both 6 and 7 patches and server them from /rh6 and /rh7 directories on the webserver?
2) on a few of my servers even though /etc/yum.repos.d only contain files that point to my local repo, some of my boxes still reach out to the internet and pull stuff from "@rhel-6-server-rpms". Once it does this it will put an empty file called redhat.repo back in /etc/yum.repos.d is there anyway to prevent this? I've tried disabling that repo but that didnt work.
Any other tips you can share about running a local YUM to centralize your patching?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how to get the list of process running in the server from the local machin n unix ? (3 Replies)
Discussion started by: guhas
3 Replies
2. Shell Programming and Scripting
Hi, I have googled for quite some time and couldn't able to get what exactly I am looking for.. My query is "how to stop a shell script which is running inside a remote server, using a script"??? can any one give some suggestions to sort this out. (1 Reply)
Discussion started by: mannepalli
1 Replies
3. Shell Programming and Scripting
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies
4. Red Hat
Hi Friends,
I have succesfully configured a local yum repository using ios image.
Please let me know how i can synchronize the local repository with RHN.
Is it possible, so that i can update the local repository with latest updates.
Regards,
Arumon (1 Reply)
Discussion started by: arumon
1 Replies
5. Red Hat
Hi friends,
I am using RHEL5 . I have tried to create the local repo using createrepo rpm.But i have been facing a lot of errors and it is not working well. Can somebody tell me how to create the local repo?
Thank you in advance.
Regards,
Prakashkumar.S (2 Replies)
Discussion started by: prakashkumar41
2 Replies
6. Linux
Hi
When i trying to update using yum, hangs at Running transaction test.
# yum update yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.oss.eznetsols.org
* extras: ftp.oss.eznetsols.org
* base: ftp.oss.eznetsols.org
* updates:... (2 Replies)
Discussion started by: anil8103
2 Replies
7. Red Hat
Hello friends
I was creating local yum server from dvd but fedora 17 used pool method , i mean similar to debian for packages i.e a,b....z
How can i create local yum server on fedora 17 like fedora 14,15,16
Any help
Thanks (1 Reply)
Discussion started by: rink
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I got below error while trying to install
yum localinstall libstdc++-4.4.7-3.el6.i686.rpm
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to... (1 Reply)
Discussion started by: heman96
1 Replies
9. Shell Programming and Scripting
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
10. Linux
Hello,
I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers.
In our environment we have many servers with different RHEL versions.
Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5
Arch = x86_64
I have setup one Repo server;... (0 Replies)
Discussion started by: SunshineMLinux
0 Replies
LEARN ABOUT CENTOS
yum-versionlock.conf
YUM-VERSIONLOCK.CONF(5) File Formats YUM-VERSIONLOCK.CONF(5)
NAME
yum-versionlock.conf(5)
SYNOPSIS
yum-versionlock.conf(5) is the configuration file for yum-versionlock(1) Yum plugin for excluding packages that aren't listed in the ver-
sionlock file. The plugin will walk each line of the versionlock file, parse out the name and version of the package. It will then exclude
any package by that name that doesn't match one of the versions listed within the file (or, optionally, any obsoleter of that package).
This is basically the same as doing an exclude for the package name itself (as you cannot exclude installed packages), but yum will still
see the versions you have installed/versionlocked as available so that "yum reinstall" will still work, etc. It can also work in the oppo-
site way, like a fast exclude, by prefixing a '!' character to the version.
FILES
/etc/yum/pluginconf.d/versionlock.conf
FILE FORMAT
yum-versionlock.conf(5) utilizes configuration options in the form of
OPTION=VALUE
OPTION
follow_obsoletes
This option is a boolean flag which specifies if the versionlock plugin should look at all the obsoletes, and see if any of the
packages specified have an obsoleter. If an obsoleter is found then all versions of that package will be excluded. This option is
off by default, as yum-versionlock(1) will take some time to do the obsoletes processing, and for non-rename obsoletes any issues
you had which kept you at a specific version of a package should be different with another package.
OPTION
locklist
This option is a string with points to the file which will have the versionlock information in it. Note that the file has to exist
(or the versionlock plugin will make yum exit). However it can be empty.
AUTHOR
Chitlesh Goorah <chitlesh@fedoraproject.org>
James Antill <james@fedoraproject.org>
SEE ALSO
yum-versionlock(1)
27 July 2008 YUM-VERSIONLOCK.CONF(5)