Sunday, March 24, 2013

How to setup YUM Group repository?

[root@server12 RHEL6U3]# find . -name *comp*.xml 
[root@server12 RHEL6U3]# 

[root@server12 RHEL6U3]# createrepo -g ./Server/repodata/c27858b7430afeb372d0dd50d8a56fd46b47bc81bb9580c2bb91ab697e40592e-comps-rhel6-Server.xml  . 
1097/3653 - Packages/openldap-servers-2.4.23-26.el6.x86_64.rpm                  
iso-8859-1 encoding on Ville Skytt�  - 2.8.2-2

3653/3653 - Packages/urlview-0.9-7.el6.x86_64.rpm                               
Saving Primary metadata
Saving file lists metadata
Saving other metadata

[root@server12 RHEL6U3]# find . -newer a 
[root@server12 RHEL6U3]# 
[root@server12 RHEL6U3]# 

[root@server12 RHEL6U3]# vi /etc/yum.conf 
[root@server12 RHEL6U3]# 

[root@server12 RHEL6U3]# yum grouplist 
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
Setting up Group Process
unixgeek                                                                                                                     | 2.0 kB     00:00 ... 
unixgeek/primary                                                                                                             | 1.7 MB     00:00 ... 
unixgeek/group_gz                                                                                                            | 204 kB     00:00 ... 
Installed Groups:
   Additional Development
   CIFS file server
   Console internet tools
   Directory Client
   Directory Server
   E-mail server
   FTP server
   General Purpose Desktop
   Graphical Administration Tools
   Internet Browser
   Legacy UNIX compatibility
   Legacy X Window System compatibility
   Messaging Client Support
   NFS file server
   Network Infrastructure Server
   Network file system client
   Perl Support
   PostgreSQL Database client
   Remote Desktop Clients
   Web Server
   iSCSI Storage Client
Available Groups:
   Backup Client
   Backup Server
   Client management tools
   Compatibility libraries
   Debugging Tools
   Desktop Debugging and Performance Tools
   Desktop Platform
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   FCoE Storage Client
   Graphics Creation Tools
   Hardware monitoring utilities
   Identity Management Server
   Infiniband Support
   Input Methods
   Java Platform
   KDE Desktop
   Large Systems Performance
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Storage Server
   Networking Tools
   PHP Support
   Performance Tools
   PostgreSQL Database server
   Print Server
   Printing client
   Ruby Support
   SNMP Support
   Scientific support
   Security Tools
   Server Platform
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   Systems Management Messaging Server support
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Arabic Support [ar]
   Armenian Support [hy]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   Georgian Support [ka]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hebrew Support [he]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Inuktitut Support [iu]
   Irish Support [ga]
   Italian Support [it]
   Japanese Support [ja]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Korean Support [ko]
   Kurdish Support [ku]
   Lao Support [lo]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tajik Support [tg]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
[root@server12 RHEL6U3]# 
[root@server12 RHEL6U3]# 
[root@server12 RHEL6U3]# 
[root@server12 RHEL6U3]# yum groupinstall 'Web Server' 
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
unixgeek                                                                                                                                  3653/3653
Setting up Group Process
Resolving Dependencies
--> Running transaction check
---> Package crypto-utils.x86_64 0:2.4.1-24.2.el6 will be installed
--> Processing Dependency: perl(Newt) for package: crypto-utils-2.4.1-24.2.el6.x86_64
---> Package httpd.x86_64 0:2.2.15-9.el6 will be updated
--> Processing Dependency: httpd = 2.2.15-9.el6 for package: httpd-devel-2.2.15-9.el6.x86_64
---> Package httpd.x86_64 0:2.2.15-15.el6_2.1 will be an update
--> Processing Dependency: httpd-tools = 2.2.15-15.el6_2.1 for package: httpd-2.2.15-15.el6_2.1.x86_64
---> Package httpd-manual.noarch 0:2.2.15-9.el6 will be updated
---> Package httpd-manual.noarch 0:2.2.15-15.el6_2.1 will be an update
---> Package mod_perl.x86_64 0:2.0.4-10.el6 will be installed
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: mod_perl-2.0.4-10.el6.x86_64
--> Processing Dependency: perl(BSD::Resource) for package: mod_perl-2.0.4-10.el6.x86_64
---> Package mod_ssl.x86_64 1:2.2.15-15.el6_2.1 will be installed
---> Package mod_wsgi.x86_64 0:3.2-1.el6 will be installed
---> Package webalizer.x86_64 0:2.21_02-3.3.el6 will be installed
--> Processing Dependency: for package: webalizer-2.21_02-3.3.el6.x86_64
--> Running transaction check
---> Package gd.x86_64 0:2.0.35-10.el6 will be installed
---> Package httpd-devel.x86_64 0:2.2.15-9.el6 will be updated
---> Package httpd-devel.x86_64 0:2.2.15-15.el6_2.1 will be an update
---> Package httpd-tools.x86_64 0:2.2.15-9.el6 will be updated
---> Package httpd-tools.x86_64 0:2.2.15-15.el6_2.1 will be an update
---> Package perl-BSD-Resource.x86_64 0:1.29.03-3.el6 will be installed
---> Package perl-ExtUtils-MakeMaker.x86_64 0:6.55-127.el6 will be installed
--> Processing Dependency: perl = 4:5.10.1-127.el6 for package: perl-ExtUtils-MakeMaker-6.55-127.el6.x86_64
--> Processing Dependency: perl(Test::Harness) for package: perl-ExtUtils-MakeMaker-6.55-127.el6.x86_64
--> Processing Dependency: perl-devel for package: perl-ExtUtils-MakeMaker-6.55-127.el6.x86_64
---> Package perl-Newt.x86_64 0:1.08-26.el6 will be installed
--> Running transaction check
---> Package perl.x86_64 4:5.10.1-119.el6 will be updated
--> Processing Dependency: perl = 4:5.10.1-119.el6 for package: 1:perl-Module-Pluggable-3.90-119.el6.x86_64
--> Processing Dependency: perl = 4:5.10.1-119.el6 for package: 3:perl-version-0.77-119.el6.x86_64
--> Processing Dependency: perl = 4:5.10.1-119.el6 for package: 1:perl-Pod-Simple-3.13-119.el6.x86_64
--> Processing Dependency: perl = 4:5.10.1-119.el6 for package: 1:perl-Pod-Escapes-1.04-119.el6.x86_64
--> Processing Dependency: perl = 4:5.10.1-119.el6 for package: 4:perl-libs-5.10.1-119.el6.x86_64
---> Package perl.x86_64 4:5.10.1-127.el6 will be an update
---> Package perl-Test-Harness.x86_64 0:3.17-127.el6 will be installed
---> Package perl-devel.x86_64 4:5.10.1-127.el6 will be installed
--> Processing Dependency: perl(ExtUtils::ParseXS) for package: 4:perl-devel-5.10.1-127.el6.x86_64
--> Running transaction check
---> Package perl-ExtUtils-ParseXS.x86_64 1:2.2003.0-127.el6 will be installed
---> Package perl-Module-Pluggable.x86_64 1:3.90-119.el6 will be updated
---> Package perl-Module-Pluggable.x86_64 1:3.90-127.el6 will be an update
---> Package perl-Pod-Escapes.x86_64 1:1.04-119.el6 will be updated
---> Package perl-Pod-Escapes.x86_64 1:1.04-127.el6 will be an update
---> Package perl-Pod-Simple.x86_64 1:3.13-119.el6 will be updated
---> Package perl-Pod-Simple.x86_64 1:3.13-127.el6 will be an update
---> Package perl-libs.x86_64 4:5.10.1-119.el6 will be updated
---> Package perl-libs.x86_64 4:5.10.1-127.el6 will be an update
---> Package perl-version.x86_64 3:0.77-119.el6 will be updated
---> Package perl-version.x86_64 3:0.77-127.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

 Package                                     Arch                       Version                                  Repository                 Size
 crypto-utils                                x86_64                     2.4.1-24.2.el6                           unixgeek                      76 k
 mod_perl                                    x86_64                     2.0.4-10.el6                             unixgeek                     3.2 M
 mod_ssl                                     x86_64                     1:2.2.15-15.el6_2.1                      unixgeek                      87 k
 mod_wsgi                                    x86_64                     3.2-1.el6                                unixgeek                      65 k
 webalizer                                   x86_64                     2.21_02-3.3.el6                          unixgeek                     128 k
 httpd                                       x86_64                     2.2.15-15.el6_2.1                        unixgeek                     812 k
 httpd-manual                                noarch                     2.2.15-15.el6_2.1                        unixgeek                     781 k
Installing for dependencies:
 gd                                          x86_64                     2.0.35-10.el6                            unixgeek                     142 k
 perl-BSD-Resource                           x86_64                     1.29.03-3.el6                            unixgeek                      35 k
 perl-ExtUtils-MakeMaker                     x86_64                     6.55-127.el6                             unixgeek                     291 k
 perl-ExtUtils-ParseXS                       x86_64                     1:2.2003.0-127.el6                       unixgeek                      43 k
 perl-Newt                                   x86_64                     1.08-26.el6                              unixgeek                      72 k
 perl-Test-Harness                           x86_64                     3.17-127.el6                             unixgeek                     230 k
 perl-devel                                  x86_64                     4:5.10.1-127.el6                         unixgeek                     421 k
Updating for dependencies:
 httpd-devel                                 x86_64                     2.2.15-15.el6_2.1                        unixgeek                     147 k
 httpd-tools                                 x86_64                     2.2.15-15.el6_2.1                        unixgeek                      70 k
 perl                                        x86_64                     4:5.10.1-127.el6                         unixgeek                      10 M
 perl-Module-Pluggable                       x86_64                     1:3.90-127.el6                           unixgeek                      38 k
 perl-Pod-Escapes                            x86_64                     1:1.04-127.el6                           unixgeek                      30 k
 perl-Pod-Simple                             x86_64                     1:3.13-127.el6                           unixgeek                     210 k
 perl-libs                                   x86_64                     4:5.10.1-127.el6                         unixgeek                     576 k
 perl-version                                x86_64                     3:0.77-127.el6                           unixgeek                      49 k

Transaction Summary
Install      12 Package(s)
Upgrade      10 Package(s)

Total download size: 18 M
Is this ok [y/N]: y

No comments: