These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Accidentally delete virtualmin repo from /etc/yum.repos.d on the new forum.
Hi, Cannot see how to add the repo back. Running install.sh fails with repo not found when trying to delete the existing virtualmin repo, which of course it can't as I already did that by accident.
Searching provides no results and docs just keep talking about clean systems and install.sh.
any help much appreciated.
Regards BaD
You'll find a list of the CentOS versions at this URL:
http://software.virtualmin.com/gpl/centos/
Once you determine the version you need, using something like this:
rpm -ivh http://software.virtualmin.com/gpl/centos/ [version] / [arch] /virtualmin-release-latest.noarch.rpm
For instance, if you were running CentOS 6.7, on a 64 bit machine, use:
rpm -ivh http://software.virtualmin.com/gpl/centos/6.7/x86_64/virtualmin-release-latest.noarch.rpm
or
rpm -ivh http://software.virtualmin.com/gpl/centos/7.2.1511/x86_64/virtualmin-release-latest.noarch.rpm
Be cautious.