Red Hat Enterprise Linux Server release 6.2 (Santiago)
yum server setup:-
1) Copy Packages folder from DVD to /any/location/in/system
/opt/Packages
2) Install following three rpms.
[root@localhost Packages]# rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
warning: deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:deltarpm ########################################### [100%]
[root@localhost Packages]# rpm -ivh python-de
python-decorator-3.0.1-3.1.el6.noarch.rpm
python-decoratortools-1.7-4.1.el6.noarch.rpm
python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
python-devel-2.6.6-29.el6_2.2.x86_64.rpm
[root@localhost Packages]# rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
warning: python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:python-deltarpm ########################################### [100%]
[root@localhost Packages]# rpm -ivh createrepo-0.9.8-5.el6.noarch.rpm
warning: createrepo-0.9.8-5.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:createrepo ########################################### [100%]
3) Go under PKG dir and run following command
#[root@localhost Packages]# createrepo . (DOT)
3296/3887 - mesa-libGLU-devel-7.11-5.el6.i686.rpm
iso-8859-1 encoding on Ville Skytt� - 2.8.2-2
3887/3887 - libreoffice-langpack-sl-3.4.5.2-16.el6.x86_64.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Done.
[root@localhost Packages]# yum clean all
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Cleaning repos:
Cleaning up Everything
[root@localhost Packages]# yum list all
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Installed Packages
ConsoleKit.x86_64 0.4.1-3.el6 @
anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
ConsoleKit-libs.x86_64 0.4.1-3.el6 @
anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
ConsoleKit-x11.x86_64 0.4.1-3.el6 @
yum server setup:-
1) Copy Packages folder from DVD to /any/location/in/system
/opt/Packages
2) Install following three rpms.
[root@localhost Packages]# rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
warning: deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:deltarpm ########################################### [100%]
[root@localhost Packages]# rpm -ivh python-de
python-decorator-3.0.1-3.1.el6.noarch.rpm
python-decoratortools-1.7-4.1.el6.noarch.rpm
python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
python-devel-2.6.6-29.el6_2.2.x86_64.rpm
[root@localhost Packages]# rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
warning: python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:python-deltarpm ########################################### [100%]
[root@localhost Packages]# rpm -ivh createrepo-0.9.8-5.el6.noarch.rpm
warning: createrepo-0.9.8-5.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:createrepo ########################################### [100%]
3) Go under PKG dir and run following command
#[root@localhost Packages]# createrepo . (DOT)
3296/3887 - mesa-libGLU-devel-7.11-5.el6.i686.rpm
iso-8859-1 encoding on Ville Skytt�
3887/3887 - libreoffice-langpack-sl-3.4.5.2-16.el6.x86_64.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Done.
[root@localhost Packages]# yum clean all
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Cleaning repos:
Cleaning up Everything
[root@localhost Packages]# yum list all
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Installed Packages
ConsoleKit.x86_64 0.4.1-3.el6 @
anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
ConsoleKit-libs.x86_64 0.4.1-3.el6 @
anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
ConsoleKit-x11.x86_64 0.4.1-3.el6 @
0 comments:
Post a Comment