How do I Install Longview on CentOS 8
I'm not able to install Longview client on my CentOS 8 Linode. It keeps throwing out this error message.
[root@root ~]# curl -s https://lv.linode.com/E7F2F406-D8A4-406F-9219DAF0B035D0A0 | sudo bash Longview Repo 435 B/s | 264 B 00:00 Errors during downloading metadata for repository 'longview': Status code: 404 for https://yum-longview.linode.com/name="centos/VERSION="8"/noarch/repodata/repomd.xml (IP: 188.8.131.52) Error: Failed to download metadata for repo 'longview': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
This error message is generated because CentOS 8 went EOL on 12/31/21, and the official repo was moved to vault.centos.org. Therefore, we do not keep mirrors for this anymore.
This means that even running the
yum update command will produce the same error message and the workaround is to first use the repos from using CentOS 7 or CentOS Stream 8. Instructions on how to do that can be found in this community post.
yum update to update your packages and follow our Manual Longview Installation Guide to install Longview.
It can take several minutes for data to load and display in the Cloud Manager but once it does, you’ll see the graphs and charts populating with your Linode’s metrics.