Prometheus安装
Prometheus安装 下载地址: https://prometheus.io/download/ 现在时间是: 2019.09.07 安装环境: Linux centos7 minimal 虚拟机; 宿主主机 MacOS; 软件: virtualBox 6.0.10 r132072 选用版本: prometheus-2.12.0.linux-amd64.tar.gz 二进制包安装 1.安装虚拟机 下载镜像 在virtualbox安装虚拟机 配置网络 更换国内源 【CentOS7】yum安装时出现错误[Errno 14] curl#6 - "Could not resolve host: mirrors.aliyuncs.com; Unknown e的解决办法 2.配置 以及 安装依赖 配置网络使用网络地址转换模式 主机名 配置主机名可以快速辨识 时钟 prometheus是个时序数据库,对时间要求极高,所以安装时间同步的工具,设置时区为东八区, Asia/shanghai 资料 #安装服务 > yum install ntp -y #开机启动 > systemctl enable ntpd #设置时区 > timedatectl set-timezone Asia/Shanghai #查看时区 > timedatectl 3.安装prometheus