Azure-Redhat7.4-install
Yao Lu ComputerSavvyMedic

First of all, it occurred to me that the package resource haven’t been installed. It said the system couldn’t find the package ‘htop’. As a result, we need to install the ‘epel-release’ which contains the package.
//yum -y install epel-release

Then
//yum -y install htop

If it turned out an error saying ‘certificate expired’ ( happed on azure servers )

We will have to update the repository

//sudo yum update -y –disablerepo=’*’ –enablerepo=’microsoft

Apart from that, if we could not successfully install the package epel-release, we are supposed to directly download the certificate and the package with the commands following.

//wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

//rpm -ivh epel-release-latest-7.noarch.rpm

 Comments