From: https://grafana.com/grafana/download?edition=oss
Config: https://community.grafana.com/t/grafana-and-apache/5508
Helpful, basic proxy
https://www.digitalocean.com/community/tutorials/how-to-use-apache-as-a-reverse-proxy-with-mod_proxy-on-ubuntu-16-04
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/oss/release/grafana_7.3.4_amd64.deb
sudo dpkg -i grafana_7.3.4_amd64.deb
# To start the service and verify that the service has started:
sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server
# Configure the Grafana server to start at boot:
sudo systemctl enable grafana-server.service
Install output
# sudo apt-get install -y adduser libfontconfig1
Reading package lists... Done
Building dependency tree
Reading state information... Done
adduser is already the newest version (3.118ubuntu2).
adduser set to manually installed.
libfontconfig1 is already the newest version (2.13.1-2ubuntu3).
libfontconfig1 set to manually installed.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
# wget https://dl.grafana.com/oss/release/grafana_7.3.4_amd64.deb
--2020-12-01 01:01:22-- https://dl.grafana.com/oss/release/grafana_7.3.4_amd64.deb
Resolving dl.grafana.com (dl.grafana.com)... 151.101.18.217, 2a04:4e42:4::729
Connecting to dl.grafana.com (dl.grafana.com)|151.101.18.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54013792 (52M) [application/x-debian-package]
Saving to: ‘grafana_7.3.4_amd64.deb’
grafana_7.3.4_amd64.deb 100%[=======================================================================================================>] 51.51M 1.84MB/s in 28s
2020-12-01 01:01:51 (1.84 MB/s) - ‘grafana_7.3.4_amd64.deb’ saved [54013792/54013792]
# sudo dpkg -i grafana_7.3.4_amd64.deb
Selecting previously unselected package grafana.
(Reading database ... 168816 files and directories currently installed.)
Preparing to unpack grafana_7.3.4_amd64.deb ...
Unpacking grafana (7.3.4) ...
Setting up grafana (7.3.4) ...
Adding system user `grafana' (UID 128) ...
Adding new user `grafana' (UID 128) 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 systemd (245.4-4ubuntu3.3) ...
No comments:
Post a Comment