Aula 01
Aula 01
Aula 01
GRAFANA
apt-get update
apt-get upgrade -y
nano /etc/netplan/00-installer
network:
ethernets;
ens33:
dhcp: no
address: [192.168.18.10]
gateway4: 192.168.18.1
nameservers:
address: [8.8.8.8, 8.8.4.4]
version: 2
nano /etc/hostname
srvdc02.berlanda.local
nano /etc/hosts
127.0.0.1 localhost
192.168.18.10 srvdc02.berlanda.local srvdc02
Sudo reboot
Realm [BERLANDA.LOCAL]:
Domain [BERLANDA]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)
[SAMBA_INTERNAL]:
DNS forwarder IP address (write 'none' to disable forwarding)
[127.0.0.53]: 8.8.8.8,8.8.4.4,192.168.18.10,192.168.18.1
Administrator password: Retype password:
mysql_secure_installation
<!-- CRIAÇÃO DO BANCO E DO USUÁRIO -->
mysql -u root -p
create database glpidb character set utf8;
create user 'glpi'@'localhost' identified by 'glpi2023';
grant all privileges on glpidb.* to 'glpi'@'localhost' with grant
option;
flush privileges;
exit;
wget https://dl.grafana.com/oss/release/grafana_9.0.4_amd64.deb
dpkg -i grafana_9.0.4_amd64.deb
apt-get update
systemctl enable grafana-server
systemctl start grafana-server
http://192.168.18.10:3000
user:admin
password:admin