Distribute packages to other client machines using yum
Hi,
We have a 2 yum repository servers (2.6.18-92.el5 x86_64 x86_64 x86_64 GNU/Linux) that are RHN registered and should receive the latest patch/packages. The servers are configured somehow that the new updates are not downloaded automatically which I guess is in the yum-updatesd.conf file
When I run yum list updates command on jdcumgt02 server it lists the latest updates/packages
When I run the same on the other server jdcumgt01 I get
In the /etc/yum.repos.d directory the file localrepo.repo exists on jdcumgt01
What I would like some advise on is:
How do I fix this issue on jdcumgt01 server?
If I use the other server jdcumgt02 to update packages
How do I update the Apache software only on server jdcumgt02 and then update Apache on the rest of the Linux systems on the network?
Example - one server I would like to upgrade Apache on is currently configured
Quote:
[root@hostname yum.repos.d]# ls -l
total 12
-rw-r--r-- 1 root root 164 Sep 29 2010 localproxy.repo
-rw-r--r-- 1 root root 561 Dec 14 2010 rhel-debuginfo.repo
-rw-r--r-- 1 root root 222 Dec 14 2010 rhel-source.repo
[root@hostname yum.repos.d]# more rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - Source
baseurl=ftp://ftp.redhat.com/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@hostname yum.repos.d]# more localproxy.repo
[localproxy]
name=Updates from jdcumgt01
baseurl=http://jdcumgt01.xxxxxxx.xxx.xxx.xx
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@hostname yum.repos.d]# yum repolist
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
repoid reponame status
localproxy Updates from
jdcumgt01 enabled: 11,728
repolist: 11,728
[root@hostname yum.repos.d]#
Greetings
I have an older box (H50) that has it's paging space setup the following way:
$ lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging00 hdisk0 rootvg 224MB 1 yes yes lv
hd6 hdisk0 ... (4 Replies)
I am setting up a new server with the goal of porting a solaris server to centos. I want to compile some packages myself (ie) http, ssl, mysql, etc. The reason for this is the downloadable rpm packages are very old. I probably want to make sure the kernel is up to date, but the individual pages... (2 Replies)
Hello
Is there a way to update a package to a specific version with yum?
So, I have version 1 of package A installed. Versions 2 and 3 are available, but I only want to upgrade to version 2. Any assistance would be appreciated.
Thanks! (1 Reply)
Hello everybody,
I've seen some text documents where they publish blocks of text and tell you to save it as "file.tgz" for example, and when you decompress the file, it actually works.
How is that done? is there a program?
Because i tried cat and doesn't work, tried less, more, hexedit and... (2 Replies)
Hi,
I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does.
Can someone please... (3 Replies)
I am curious about the most popular ssh client on Windows environment. Talking about me, I use PuTTY most of the time coupled with WinSCP to transfer files. But, I like Tera Term too. It has great drag-drop feature where you can drag a file/folder and drop on the window and it will transfer the... (14 Replies)
I am trying to find a yum file that is very common in many packages. I would normally start off with this command, but the file is SO common I don't know which package it is in.
yum provides \*compress (1 Reply)
Dear concern,
I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below:
# cat server.repo
name=rhel6
baseurl=ftp://192.168.225.3/pub/Packages/
enabled=1
gpgcheck=0
We got following error message while executing yum list command.
# yum clean... (1 Reply)
1)check vsftpd service is running
service vsftpd status
2)mkdir -p /var/ftp/pub/Packages
Packages will contain all rpm packages
3)copy the xml file to Packages folder
#cp -arf /mnt/hgfs/share/RHEL_DVD/Packages /var/ftp/pub/Packages
4)install the 3 required rpm
rpm --nodeps -ivh... (0 Replies)
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)