PreConfiguration for yum Repositories.
first of all you need to install following 3 RPMS.
createrepo
deltarpm
pythondelta
rpm -ivh createrepo deltarpm pythondelta
then go to /etc/yum.repos.d folder and back up all existing repositories (.repo files).
Then go to rpm copied location and create repositories.
OS > cd /mnt/Packages
OS >createrepo .
create the repository file
ex : linux.repo
-------------------------------------<<file open>>---------------------------------
[linux]
baseUrl= file:///mnt/Packages
eabled=1
gpgcheck=no
-------------------------------<<file close>>----------------------------
check where created list is available
yum list
install using yum repository
yum makecache
Download and make usable all the metadata for the currently enabled yum rep
yum install gcc
Installing from the file
yum install -y `cat /tmp/test`
first of all you need to install following 3 RPMS.
createrepo
deltarpm
pythondelta
rpm -ivh createrepo deltarpm pythondelta
then go to /etc/yum.repos.d folder and back up all existing repositories (.repo files).
Then go to rpm copied location and create repositories.
OS > cd /mnt/Packages
OS >createrepo .
create the repository file
ex : linux.repo
-------------------------------------<<file open>>---------------------------------
[linux]
baseUrl= file:///mnt/Packages
eabled=1
gpgcheck=no
-------------------------------<<file close>>----------------------------
check where created list is available
yum list
install using yum repository
yum makecache
Download and make usable all the metadata for the currently enabled yum rep
yum install gcc
Installing from the file
yum install -y `cat /tmp/test`
No comments:
Post a Comment