Install Linode Longview on Debian

Updated 30-Jan-2022

Linode Longview is a nice web GUI to see instance resource utilization for the last 12 hours (or more if paid). Unfortunately it is easy to get an error installing Linode Longview with their script. Below is how to perform a manual installation. For troubleshooting once it is up and running, see this guide Linode Longview troubleshooting guide.

Steps to Install Linode Longview

Here are the steps to perform the manual installation.

  • Create /etc/linode directory and edit /etc/linode/longview.key file
    • this has a unique client API code
  • Create and edit longview.list apt repository in /etc/apt/sources.list.d/longview.list
  • Download linode.gpg key and move to /etc/apt/trusted.gpg.d/linode.gpg
  • Install linode-longview
  • Start longview
  • Check status of longview

Create directory and edit Longview key file

sudo mkdir /etc/linode/
sudo nano /etc/linode/longview.key

Copy and paste in the API Key found at the bottom of the control panel Linode > Longview > Installation

Download GPG key to Longview apt repository

sudo curl -O
sudo mv linode.gpg /etc/apt/trusted.gpg.d/linode.gpg

Create apt Longview repository

sudo nano /etc/apt/sources.list.d/linode.list

Type in:

deb buster main

Install Linode Longview

sudo apt update
sudo apt install linode-longview

Enable, Start, and Check Status of Longview

sudo systemctl start longview
sudo systemctl status longview