Viewing Grafana dashborad in Ubuntu - amitmaurya012111/Grafana_dashboard GitHub Wiki

Install and run Grafana in Ubuntu

  1. Run the following command to install the grafana.

    •  sudo apt-get install -y adduser libfontconfig1
      
    •  wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.0.2_amd64.deb
      
    •  sudo dpkg -i grafana-enterprise_9.0.2_amd64.deb
      
  2. After installation to start the service and verify that the service has started run the following commands.

    • sudo systemctl daemon-reload
      
    • sudo systemctl start grafana-server
      
    • sudo systemctl status grafana-server 
      
    • sudo systemctl enable grafana-server.service
      
  3. Open your web browser and go to http://localhost:3000/. The default HTTP port that Grafana listens to is 3000.

  4. On the signin page, enter admin for username and password.

  5. Click Sign in. If successful, you will see a prompt to change the password.

  6. Click OK on the prompt and change your password.

Import a dashboard

  1. Click the dashboard icon in side menu.

    Capture

  2. On dashboard there is an option to create a new dashboard, new folder and import dashboard.

  3. Click on import and upload CSV file to view grafana dashboard.