Open coding-to-music opened 3 years ago
sudo systemctl status
β docker-ubuntu-s-1vcpu-2gb-nyc1-01 State: running Jobs: 0 queued Failed: 0 units Since: Sat 2021-08-14 20:47:19 UTC; 13min ago CGroup: / ββ370 bpfilter_umh ββuser.slice β ββuser-0.slice β ββsession-1.scope β β ββ1285 sshd: root@notty β β ββ1407 -bash β β ββ1418 bash β β ββ1461 sh /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/server.sh --start-server --host=127.0.0.1 --enable-remote-auto-shutdown --port=0 --conne> β β ββ1468 /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/node /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/out/vs/server/main.j> β β ββ1524 /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/node /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/out/bootstrap-fork -> β β ββ1552 /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/node /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/out/bootstrap-fork -> β β ββ1563 /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/node /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/out/bootstrap-fork -> β β ββ1617 /usr/bin/bash β β ββ2483 /usr/bin/bash β β ββ2516 /usr/bin/bash β β ββ2539 /usr/bin/bash β β ββ2548 /usr/bin/bash β β ββ2557 /usr/bin/bash β β ββ2566 /usr/bin/bash β β ββ2990 sleep 180 β β ββ3132 /bin/sh -c "/root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/out/vs/base/node/cpuUsage.sh" 2516 β β ββ3133 /bin/bash /root/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8/out/vs/base/node/cpuUsage.sh 2516 β β ββ3136 sleep 1 β β ββ3137 sudo systemctl status β β ββ3138 systemctl status β β ββ3139 pager β ββuser@0.service β¦ β ββinit.scope β ββ1295 /lib/systemd/systemd --user β ββ1306 (sd-pam) ββinit.scope β ββ1 /sbin/init ββsystem.slice ββirqbalance.service β ββ769 /usr/sbin/irqbalance --foreground ββinfluxdb.service β ββ792 /usr/bin/influxd ββepmd.service β ββ763 /usr/bin/epmd -systemd ββcontainerd.service β¦ β ββ788 /usr/bin/containerd ββsystemd-networkd.service β ββ624 /lib/systemd/systemd-networkd ββsystemd-udevd.service β ββ667 /lib/systemd/systemd-udevd ββcron.service β ββ753 /usr/sbin/cron -f ββsystem-serial\x2dgetty.slice β ββserial-getty@ttyS0.service β ββ803 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS0 vt220 ββdocker.service β¦ β ββ895 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ββpolkit.service β ββ854 /usr/lib/policykit-1/polkitd --no-debug ββnetworkd-dispatcher.service β ββ771 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers ββmultipathd.service β ββ539 /sbin/multipathd -d -s ββdo-agent.service β ββ760 /opt/digitalocean/bin/do-agent --syslog ββaccounts-daemon.service β ββ748 /usr/lib/accountsservice/accounts-daemon ββsystemd-journald.service β ββ353 /lib/systemd/systemd-journald ββatd.service β ββ787 /usr/sbin/atd -f ββunattended-upgrades.service β ββ869 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal ββssh.service β ββ845 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups ββsnapd.service β ββ777 /usr/lib/snapd/snapd ββrsyslog.service β ββ773 /usr/sbin/rsyslogd -n -iNONE ββsystemd-resolved.service β ββ643 /lib/systemd/systemd-resolved ββtelegraf.service β ββ782 /usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d ββrabbitmq-server.service β ββ 772 /usr/lib/erlang/erts-12.0.3/bin/beam.smp -W w -MBas ageffcbf -MHas ageffcbf -MBlmbcs 512 -MHlmbcs 512 -MMmcs 30 -P 1048576 -t 5000000 -stbt db -zdbbl 128000 -s> β ββ 861 erl_child_setup 32768 β ββ1210 inet_gethost 4 β ββ1211 inet_gethost 4 ββgrafana-server.service β ββ764 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana> ββdbus.service β ββ755 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only ββsystemd-timesyncd.service β ββ583 /lib/systemd/systemd-timesyncd ββdroplet-agent.service β ββ2081 /opt/digitalocean/bin/droplet-agent -syslog ββsystem-getty.slice β ββgetty@tty1.service β ββ811 /sbin/agetty -o -p -- \u --noclear tty1 linux ββsystemd-logind.service ββ780 /lib/systemd/systemd-logind
+++ title = "Install on Debian/Ubuntu" description = "Install guide for Grafana on Debian or Ubuntu" keywords = ["grafana", "installation", "documentation"] aliases = ["/docs/grafana/latest/installation/installation/debian"] weight = 200 +++
https://github.com/grafana/grafana/blob/main/docs/sources/installation/debian.md
This page explains how to install Grafana dependencies, download and install Grafana, get the service up and running on your Debian or Ubuntu system, and also describes the installation package details.
Note on upgrading: While the process for upgrading Grafana is very similar to installing Grafana, there are some key backup steps you should perform. Read [Upgrading Grafana]({{< relref "upgrading.md" >}}) for tips and guidance on updating an existing installation.
You can run Grafana on your own hardware or use Grafana Cloud and get Grafana without the overhead of installing, maintaining, and scaling your observability stack. The free forever plan includes Grafana, 10K Prometheus series, 50 GB logs and more. Create a free account to get started.
You can install Grafana using our official APT repository, by downloading a .deb
package, or by downloading a binary .tar.gz
file.
If you install from the APT repository, then Grafana is automatically updated every time you run apt-get update
.
Grafana Version | Package | Repository |
---|---|---|
Grafana Enterprise | grafana-enterprise | https://packages.grafana.com/enterprise/deb stable main |
Grafana Enterprise (Beta) | grafana-enterprise | https://packages.grafana.com/enterprise/deb beta main |
Grafana OSS | grafana | https://packages.grafana.com/oss/deb stable main |
Grafana OSS (Beta) | grafana | https://packages.grafana.com/oss/deb beta main |
Note: Grafana Enterprise is the recommended and default edition. It is available for free and includes all the features of the OSS edition. You can also upgrade to the full Enterprise feature set, which has support for Enterprise plugins.
sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
Add this repository for stable releases:
echo "deb https://packages.grafana.com/enterprise/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
Add this repository if you want beta releases:
echo "deb https://packages.grafana.com/enterprise/deb beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
After you add the repository:
sudo apt-get update
sudo apt-get install grafana-enterprise
sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
Add this repository for stable releases:
echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
Add this repository if you want beta releases:
echo "deb https://packages.grafana.com/oss/deb beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
After you add the repository:
sudo apt-get update
sudo apt-get install grafana
If you install the .deb
package, then you will need to manually update Grafana for each new version.
sudo apt-get install -y adduser libfontconfig1
wget <.deb package url>
sudo dpkg -i grafana<edition>_<version>_amd64.deb
Download the latest .tar.gz
file and extract it. The files extract into a folder named after the Grafana version downloaded. This folder contains all files required to run Grafana. There are no init scripts or install scripts in this package.
wget <tar.gz package url>
sudo tar -zxvf <tar.gz package>
This starts the grafana-server
process as the grafana
user, which was created during the package installation.
If you installed with the APT repository or .deb
package, then you can start the server using systemd
or init.d
. If you installed a binary .tar.gz
file, then you need to execute the binary.
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
To start the service and verify that the service has started:
sudo service grafana-server start
sudo service grafana-server status
Configure the Grafana server to start at boot:
sudo update-rc.d grafana-server defaults
The grafana-server
binary .tar.gz needs the working directory to be the root install directory where the binary and the public
folder are located.
Start Grafana by running:
./bin/grafana-server web
/usr/sbin/grafana-server
/etc/init.d/grafana-server
/etc/default/grafana-server
/etc/grafana/grafana.ini
grafana-server.service
/var/log/grafana/grafana.log
/var/lib/grafana/grafana.db
/usr/share/grafana
Refer to the Getting Started guide for information about logging in, setting up data sources, and so on.
Refer to the Configuration page for details on options for customizing your environment, logging, database, and so on.
Running with systemctl
Currently Running with Docker
4860 8082 8086 8088 8092 8094 8125 9092
See what's running
Currently running with docker
Visualizers:
Scrapers:
Databases:
export metrics from chromebook, cellphone, Raspberry Pi
Using environment variables in telegraf.conf to connect to influx
influx CLI configs are only available to influx commands. They automatically populate the --host, --org, and --token flags required by most commands. telegraf cannot use the influx CLI configurations.
If youβre using Telegraf to write to InfluxDB Cloud or OSS 2.x, use the influxdb_v2 output plugin. Provide your InfluxDB 2.x host, token, and org in your telegraf.conf. You can either hardcode them or use environment variables:
Store credentials in environment variables
Use the environment variables in your
/etc/telegraf/telegraf.conf
HTML Table example in a Readme
https://raw.githubusercontent.com/imthaghost/goclone/master/README.md https://github.com/imthaghost/goclone/blob/master/README.md
Tha Ghost
π»
Ben Lafferty
π»
Omar Sagoo
π»
Tha Ghost
π»
Ben Lafferty
π»
Omar Sagoo
π»