Installing Grafana 6 on Ubuntu 18.04 or Debian 8

  1. In this article we will show you how to install Grafana 6 on Ubuntu or Debian systems.
  2. First, ensure that system is up to date.

    sudo apt-get update

    After executing above command it will ask for password,enter user password. Grafana6 installer

    sudo apt-get upgrade

    It will ask permission to fee the disk space,enter y Grafana6 installer

  3. Restart the system.

    sudo reboot
  4. Add Grafana 6 APT repository, Adding Grafana gpg key which allows you to install signed packages.

    curl https://packages.grafana.com/gpg.key | sudo apt-key add -
  5. Then install Grafana APT repository:

    sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"

    It will ask for user password, enter user password Grafana6 installer

  6. There is a separate repository if you want beta releases.

    sudo add-apt-repository "deb https://packages.grafana.com/oss/deb beta main"
  7. Once the repository is added, proceed to update your Apt repositories and install Grafana.

    sudo apt-get update
    sudo apt-get -y install grafana
  8. Start and Enable Grafana service.

    sudo systemctl start grafana-server
    sudo systemctl enable grafana-server
  9. The grafana-service should now be running, and it look like this Grafana6 installer

  10. Ensure the service is set to run on boot.

    sudo systemctl enable grafana-server
  11. Once the service has been started, you can access its web dashboard by visiting the server IP on port 3000.

    http://server_ip:3000

    Grafana6 installer

  12. If you have an active firewall, mostly ufw, allow port 3000 on the firewall.

    sudo ufw allow proto tcp from any to any port 3000
  13. Default logins are:

    Username: admin

    Password: admin

  14. After login change the password. Grafana6 installer

CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS