How to install Glances on Red Hat 6 (RHEL6) and Red Hat 7 (RHEL7) and Red Hat 8 (RHEL8)

Reading Time: 2 minutes

Glances is a fantastic resource monitor tool for Linux and Windows based systems. CPU, Disk, Memory etc can be monitored either locally, or remotely via the web page.

This is the main glances website

Red Hat 5 / Red Hat 6 / Centos 5/6 installation instructions
Ensure that you run as root

sudo -i
sudo yum-config-manager --enable rhel-server-rhscl-6-rpms
sudo yum install rh-python36 -y
sudo scl enable rh-python36 bash
sudo pip install --upgrade pip
sudo pip install bottle
sudo pip install glances
sudo glances -w -t 5 &

Red Hat 7 / Centos 7 installation instructions
Ensure that you run as root

sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
sudo yum install rh-python36 -y
sudo yum install rh-python36-python-pip -y
sudo scl enable rh-python36 bash 
curl -L https://bit.ly/glances | /bin/bash
sudo glances -w -t 5 &

Red Hat 8 / Centos 8 Installation Instructions

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
, How to install Glances on Red Hat 6 (RHEL6) and Red Hat 7 (RHEL7) and Red Hat 8 (RHEL8)
sudo yum install snapd
, How to install Glances on Red Hat 6 (RHEL6) and Red Hat 7 (RHEL7) and Red Hat 8 (RHEL8)
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install glances

You will need to exit your current putty session and log back in.

Then type Glances

, How to install Glances on Red Hat 6 (RHEL6) and Red Hat 7 (RHEL7) and Red Hat 8 (RHEL8)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *