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
//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.
//rpm -ivh epel-release-latest-7.noarch.rpm
- Post title：Azure-Redhat7.4-install
- Post author：Yao Lu
- Create time：2023-02-07 21:01:38
- Post link：gua/azure-redhat7-4-install.gua.html
- Copyright Notice：All articles in this blog are licensed under BY-NC-SA unless stating additionally.