Installing Linode Longview on Fedora 28

This post talks about how you can install Linode Longview on Fedora 28.

Why doesn’t the standard instructions work?

It turns out that you cannot just install Linode Longview on Fedora 28 as it isn’t a supported operating system. When running the automatic install script the following error will appear.

Failed to synchronize cache for repo 'longview', disabling.

Fixing the Longview Repository

After talking with support they recommend changing the automatically created longview.repo so that it points to the Fedora 21 repo.

This can be done by modifying the longview.repo file, found in the /etc/yum.repos.d/ directory. They recommend changing the baseurl field to https://yum-longview.linode.com/fedora/21/noarch/. The full file would then be

[longview]
name=Longview Repo
baseurl=https://yum-longview.linode.com/fedora/21/noarch/
enabled=1
gpgcheck=1

Installing and enabling Longview

Once the repository has been configured you are able to install it by running the following dnf command.

 sudo dnf install linode-longview perl-LWP-Protocol-https

Once installed, you can start it and configure it to run on boot.

dnf systemctl enable longview
dnf systemctl start longview

Now we have Longview running on our Fedora 28 system. Many thanks to the Linode support staff that sent me some of this information.

Add a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.