how to update linux that has no internet
hi
i am using linux RHEL5.4 in vmware. i learn that it is possible to using "yum" that is offline. can any one help me to use yum install from an iso file that is mounted in linux with package manager?
Software
hi
i am using linux RHEL5.4 in vmware. i learn that it is possible to using "yum" that is offline. can any one help me to use yum install from an iso file that is mounted in linux with package manager?
by seanferd
No. Unless you have a newer ISO than what you had originally installed.
by pejardine
by pejardine
#!/bin/sh
reposync -p /localrepo/ --repoid=rhel-x86_64-server-5 -l
if [ $? -eq 0 ]
then
echo "reposync completed successfully!"
perl /root/repomail.pl reposync success
else
echo -e "reposync failed!"
perl /root/repomail.pl reposync failure
fi
createrepo /localrepo/
if [ $? -eq 0 ]
then
perl /root/repomail.pl createrepo success
else
perl /root/repomail.pl createrepo failure
fi
by pejardine
This discussion is closed to new replies.
Sort by Trending