标题虚拟机安装centos7:
1、网络配置:
cd /etc/sysconfig/network-scripts
vi ifcfg-ens33
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=fb1029c5-4987-44c7-b535-0816c3805129
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.2.88
NETMASK=255.255.255.0
GATEWAY=192.168.2.1
DNS1=114.114.114.114
标黑的改变
2、永久关闭防火墙
命令 | 描述 |
---|---|
systemctl status firewalld.service | 查看firewall状态 |
systemctl start firewalld | 启动firewall |
systemctl stop firewalld | 停止firewall |
systemctl enable firewalld | 开机启动firewall |
systemctl disable firewalld | 开机禁止firewall |
一、安装grafana
1、命令安装
# 下载grafana安装包
wget https://dl.grafana.com/oss/release/grafana-6.5