Problems installing Longview on Fedora 29

Linode Staff

I've just deployed a new Linode running Fedora 29 and want to install Longview on it but when I try to install it using the provided curl command I'm receiving an error:

curl -s https://lv.linode.com/XXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX | sudo bash
Longview Repo 153 B/s | 234 B 00:01
Failed to synchronize cache for repo 'longview', ignoring this repo.
Last metadata expiration check: 0:28:35 ago on Thu 31 Jan 2019 01:15:27 PM EST.
No match for argument: linode-longview
Error: Unable to find a match

What's going on here? Is there any other way to install longview?

1 Reply

The curl command that is used for installing Longview on most distributions isn’t supported in Fedora29 by default but you can still manually install Longview on a Fedora 29 system. I have outlined the process of installing the client software below:

1.) From an SSH terminal run:

sudo nano /etc/yum.repos.d/longview.repo

2.) Enter the following information:

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

3.) Add the new repo that you created using the command below:

dnf config-manager --add-repo /etc/yum.repos.d/longview.repo

4.) Download and import the repositories GPG key using the two commands below:

sudo curl -O https://yum-longview.linode.com/linode.key

sudo rpm --import linode.key

5.) Create a directory for the API key:

sudo mkdir /etc/linode/

6.) Add the API key from your longview tab in Linode manager to a new file in the directory that we just created called Longview.key. You can see the API key by clicking the information button on the block that says "Waiting…" The information button is a little "i" next to the "X" button on the block:

sudo nano /etc/linode/longview.key

7.) Run the command:

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

8.) Start longview using the command:

systemctl start longview

9.) Enable longview using the command:

systemctl enable longview

After a few minutes you should see data start flowing to your longview client in Linode Manager.

If you run into any problems with data not being reported back to manager I would recommend checking to ensure that the longview key in your /etc/linode/longview.key file matches the one on the longview client page.

https://manager.linode.com/longview/overview/$clientname

You can see additional information on Longview, Installing Longview, and Longview Troubleshooting below:

https://github.com/linode/longview
https://www.linode.com/docs/platform/longview/longview/#manual-installation-with-yum-or-apt

Thanks,
Matt Watts
Linode Support

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct