How To Install graphite-web on CentOS 7

In this tutorial we learn how to install graphite-web on CentOS 7. graphite-web is A Django web application for enterprise scalable realtime graphing

Introduction

In this tutorial we learn how to install graphite-web on CentOS 7.

What is graphite-web

Graphite consists of a storage backend and a web-based visualization frontend. Client applications send streams of numeric time-series data to the Graphite backend (called carbon), where it gets stored in fixed-size database files similar in design to RRD. The web frontend provides user interfaces for visualizing this data in graphs as well as a simple URL-based API for direct graph generation. Graphite’s design is focused on providing simple interfaces (both to users and applications), real-time visualization, high-availability, and enterprise scalability.

We can use yum or dnf to install graphite-web on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install graphite-web.

Install graphite-web on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install graphite-web using yum by running the following command:

sudo yum -y install graphite-web

Install graphite-web on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install graphite-web using dnf by running the following command:

sudo dnf -y install graphite-web

How To Uninstall graphite-web on CentOS 7

To uninstall only the graphite-web package we can use the following command:

sudo dnf remove graphite-web

References

Summary

In this tutorial we learn how to install graphite-web on CentOS 7 using yum and dnf.