• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Grafana on Ubuntu 17.04

{{postValue.id}}

To Install Grafana on Ubuntu 17.04

Grafana is an open source data visualization and tracking suite. It supports databases such as Graphite, Elasticsearch, Included, Prometheus etc. The application have a metric analytics, with capability to control and create your own dashboard to your own apps or infrastructure performance monitoring. It is so simple to install Grafana on Ubuntu 17.04, and in this article you' ll be briefed about the same process.

Installing Grafana

Before you begin with the installation of Grafana, make sure you add the necessary repository in sources.list.d as follows.

root@linuxhelp11:~# echo ' deb https://packagecloud.io/grafana/stable/debian/ jessie main'  >  /etc/apt/sources.list.d/grafana.list 

And then, you should add the key for repository in the following manner.

root@linuxhelp11:~# curl https://packagecloud.io/gpg.key | sudo apt-key add -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3889  100  3889    0     0   1766      0  0:00:02  0:00:02 --:--:--  1766
OK


Later, update the newly added repository by making use of the following command.

root@linuxhelp11:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease      
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease       
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease    
Hit:5 https://packagecloud.io/grafana/stable/debian jessie InRelease
Reading package lists... Done

You shall now proceed with the installation of Gafana by making use of the following command.

root@linuxhelp11:~# apt-get install grafana -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-software-common libgtkspell3-3-0
Use ' sudo apt autoremove'  to remove them.
The following NEW packages will be installed:
  grafana
0 upgraded, 1 newly installed, 0 to remove and 601 not upgraded.
Need to get 47.3 MB of archives.
After this operation, 139 MB of additional disk space will be used.
Get:1 https://packagecloud.io/grafana/stable/debian jessie/main amd64 grafana amd64 4.6.2 [47.3 MB]
Fetched 47.3 MB in 44s (1,062 kB/s)                                            
Selecting previously unselected package grafana.
(Reading database ... 173845 files and directories currently installed.)
Preparing to unpack .../grafana_4.6.2_amd64.deb ...
Unpacking grafana (4.6.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Setting up grafana (4.6.2) ...
Adding system user `grafana'  (UID 121) ...
Adding new user `grafana'  (UID 121) with group `grafana'  ...
Not creating home directory `/usr/share/grafana' .
### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
 sudo /bin/systemctl daemon-reload
 sudo /bin/systemctl enable grafana-server
### You can start grafana-server by executing
 sudo /bin/systemctl start grafana-server
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...

Once it is done, you shall reload the daemon by running the following command.

root@linuxhelp11:~# systemctl daemon-reload

And then, start and enable the Grafana server and for that you should run the following commands.

root@linuxhelp11:~# systemctl start grafana-server
root@linuxhelp11:~# systemctl enable grafana-server
Synchronizing state of grafana-server.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable grafana-server
Created symlink from /etc/systemd/system/multi-user.target.wants/grafana-server.service to /usr/lib/systemd/system/grafana-server.service.


You shall now open the browser and give http://localhost:3000 as URL. The login page of Grafana now appears on your screen. Enter both the username and password as admin and click Login.
GRAFANA

Once you login, you will be taken to the home dashboard of Grafana.

Dashboard
With this the installation of Grafana comes to an end.

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How do I exit graph edit mode?

A

Hit the escape key or click the graph title and select edit again.

Q

Is there any Alternative for Grafana?

A

The alternatives are,
Datadog,
Kibana,
Redash,
freeboard,
Prometheus,
Graphite, etc.,

Q

How do I exit graph edit mode?

A

Hit the escape key or click the graph title and select edit again.

Q

How do I delete a dashboard?

A

Click that dashboard page's jag,then bottom will have an item "delete dashboard"

Q

What is Grafana on Ubuntu?

A

Grafana is an open source data visualization and tracking suite. It supports databases such as Graphite, Elasticsearch, Included, Prometheus etc. The application has a metric analytics, with the capability to control and create your own dashboard to your own apps or infrastructure performance monitoring.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.