Sunday, February 16, 2020

How to update the yum repository

copy the rpm to respective location

Example:
yum Install httpd, yum install createrepo
createrepo --update /var/www/html/software/rpms
yum search tomcat
if it is not working  you can try 
yum clean expire-cache ===============================> work around.
yum search tomcat
  

No comments:

Post a Comment