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-utils
yum-utils(1) yum-utils(1)
NAME
yum-utils - tools for manipulating repositories and extended package management
SYNOPSIS
debuginfo-install - install debuginfo packages and their dependencies
find-repos-of-install - report which repository the package was installed from
needs-restarting - report process ids that started running before they or some component they use were updated
package-cleanup - manage package cleanup, duplicates, orphaned packages and outstanding dependency problems
repo-graph - outputs a full package dependency list in dot format
repo-rss - generates an RSS feed from one or more repositories
repoclosure - reads metadata of repositories, checks dependencies and displays list of unresolved dependencies
repodiff - takes two or more repositories, returns a list of added, removed or changed packages
repomanage - manages a directory of rpm packages, returns a list of newest or oldest packages in a directory
repoquery - query yum repositories and get additional information on the them
reposync - synchronize a remote yum repository to a local directory using yum to retrieve packages
repotrack - track packages and its dependencies and downloads them
show-changed-rco - list of changes to a package Requires, Conflicts and Obsoletes data from installed to a specified rpm file
show-installed - gives a compact description of packages installed and makes use of comps groups in repositories
verifytree - verify that a local yum repository is consistent
yum-builddep - installs missing dependencies to build a specified package
yum-complete-transaction - finds incomplete or aborted yum transactions and attempts to complete them
yum-config-manager - toggle yum repositories, add new repositories and set main yum configuration options
yum-debug-dump - creates gzipped file containing information for debugging problems
yum-debug-restore - replays any transactions captured in gzipped file in yum shell
yum-groups-manager - create and edit yum's group metadata
yum-installed - print a compact package list making use of comps groups
yumdb - query or alter the yum database
yumdownloader - downloads packages from yum repositories including source RPMs
DESCRIPTION
yum-utils is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended infor-
mation from repositories and administration.
NOTES
See respective tools for additional help for commands without a manual page
SEE ALSO
debuginfo-install(1), package-cleanup(1), repodiff(1), repoquery(1), reposync(1), repo-rss(1), show-changed-rco(1), show-installed(1), yum-
downloader(1), yum-builddep(1), yum-debug-dump(1), yum-groups-manager(1), yumdb(8), yum-complete-transaction(8)
AUTHOR
Shawn Starr <shawn.starr@rogers.com>
yum-utils August 2011 yum-utils(1)