Parallels H-Sphere Forum
> Parallels H-Sphere > "How-To" Questions  
YUM.CONF configuration and excludes ?  
  

YUM.CONF configuration and excludes ?

07-12-05, 18:08
#1  

forden
Registered User


Join: Jul 2005
Posts: 3
YUM.CONF configuration and excludes ?
We are installing HSPHERE on centOS... Trying to properly configure /etc/yum.conf

I'm trying to confirm that the following will properly block YUM from performing interfering updates:

[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
exclude=postgresql* apache* bind* proftpd* ezmlm* qmail* vpopmail* sendmail* XFree86* aspell* mysql* rsync* php* mod_*

#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
exclude=postgresql* apache* bind* proftpd* ezmlm* qmail* vpopmail* sendmail* XFree86* aspell* mysql* rsync* php* mod_*

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
exclude=postgresql* apache* bind* proftpd* ezmlm* qmail* vpopmail* sendmail* XFree86* aspell* mysql* rsync* php* mod_*

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
exclude=postgresql* apache* bind* proftpd* ezmlm* qmail* vpopmail* sendmail* XFree86* aspell* mysql* rsync* php* mod_*


CAN Someone confirm this is the proper approach?


Thanks,
Patrick
07-12-05, 19:46
#2  
dynamicnet's Avatar

dynamicnet
Registered User


Join: Jan 2003
Posts: 13,696
Greetings Patrick:

The list on http://www.psoft.net/HSdocumentation...rh_update.html applies to CentOS using Yum.

Thank you.

__________________
Peter M. Abraham, Senior Server Administrator
Dynamic Net, Inc. -- US/Canada: 001-888-887-6727; International: 001-717-484-1062 -- email solutions @ dynamicnet.net
Parallels H-Sphere Strategic Partner for H-Sphere Security and H-Sphere Server Management
Server Security, Server Administration, Server Migrations, co-location, dedicated servers, and more
http://www.dynamicnet.net/services/hsphere.htm
07-12-05, 20:17
#3  

ladylinux
Registered User


Join: Jul 2003
Posts: 9,777
Hello,

In addition you only need one exclude statement and the proper place for that statement is before the mirror lists .. as in up at the top.

Regards,

Francesca

__________________
"No Problems Only Solutions"
We Provide Server Management, Security Hardening And Patch Management.
Also Dedicated Servers, Colocation, VPS Servers And Hsphere Licenses.
08-02-05, 01:48
#4  

forden
Registered User


Join: Jul 2005
Posts: 3
Thanks for the information.

Considering the ramifications, I'm a little concerned that this is implemented properly. It's too bad there are no specific exclude list examples readily available.

Does anyone have any corrections or other suggestions on the following:

###start file...

exclude=postgresql* rh-postgres* apache* bind* proftpd* ezmlm* qmail* vpopmail* ezmlm* sqwebmail* sendmail* XFree86* getttext* aspell* ispell* pspell* mysql* rsync* php* mod_*

[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1

#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1





Thanks,
Patrick
08-02-05, 04:56
#5  
dynamicnet's Avatar

dynamicnet
Registered User


Join: Jan 2003
Posts: 13,696
Greetings Patrick:

See http://www.psoft.net/HSdocumentation...rh_update.html

Thank you.

__________________
Peter M. Abraham, Senior Server Administrator
Dynamic Net, Inc. -- US/Canada: 001-888-887-6727; International: 001-717-484-1062 -- email solutions @ dynamicnet.net
Parallels H-Sphere Strategic Partner for H-Sphere Security and H-Sphere Server Management
Server Security, Server Administration, Server Migrations, co-location, dedicated servers, and more
http://www.dynamicnet.net/services/hsphere.htm
08-02-05, 16:44
#6  

forden
Registered User


Join: Jul 2005
Posts: 3
Thanks, I had reviewed that page... was looking for more specific feedback as to the approach... here is what I have used... I'm anticipating this is correct for CENTOS 3.4 that it should function properly...

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hu$
tolerant=1
exactarch=1
exclude=postgresql* rh-postgres* apache* httpd* bind* proftpd* ezmlm* qmail* vpopmail* ezmlm* sqwebmail*
squirrel* sendmail* XFree86* getttext* aspell* ispell* pspell* mysql* rsync* php* mod_* frontpage*

[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1

... on to rest of file... Important to note the exclude statement only need appear under the [main] area.

Thanks,
Patrick
08-02-05, 16:52
#7  

ladylinux
Registered User


Join: Jul 2003
Posts: 9,777
Hello,

1. Two many "x's" in gettext

2. Sendmail can be updated .. I am at a Total loss as to why its even in that exclude doc ...

3. Squirrelmail is not a PSOFT product ..

As to Xfree86 I am still wondering why that can not be updated. I have yet to see any server anywhere (I maintain close to 50) that has a issue with that being updated ..

Francesca

__________________
"No Problems Only Solutions"
We Provide Server Management, Security Hardening And Patch Management.
Also Dedicated Servers, Colocation, VPS Servers And Hsphere Licenses.
02-08-06, 07:07
#8  

miR
Registered User


Join: Apr 2005
Posts: 43
Sorry to dredge up an old topic;

However, I'm curious why you've set your distroverpkg variable to 'distroverpkg=redhat-release' for a CentOS environment rather than 'distroverpkg=centos-release' which is what appears in my yum.conf by default.

Thanks,

Ryan


Thread tools Rating Display modes
Excellent
Good
Average
Bad
Terrible
Linear Mode


Parallels is a worldwide leader in virtualization and automation software that optimizes computing for consumers, businesses, and service providers across all major hardware, operating system, and virtualization platforms. Founded in 1999, Parallels is a fast-growing company with 900 employees in North America, Europe, and Asia.