Coder Social home page Coder Social logo

ansible-grafana's Introduction

Grafana 自动化安装与部署

本项目是由 Websoft9 研发的 Grafana 自动化安装程序,开发语言是 Ansible。使用本项目,只需要用户在 Linux 上运行一条命令,即可自动化安装 Grafana,让原本复杂的安装过程变得没有任何技术门槛。

本项目是开源项目,采用 LGPL3.0 开源协议。

配置要求

安装本项目,确保符合如下的条件:

条件 详情 备注
操作系统 Ubuntu18.04, CentOS7.x, AmazonLinux 可选
公有云 AWS, Azure, 阿里云, 华为云, 腾讯云 可选
私有云 KVM, VMware, VirtualBox, OpenStack 可选
服务器配置 最低1核1G,安装时所需的带宽不低于10M 建议采用按量100M带宽

更多要求请参考官方文档 Requirements

组件

包含的核心组件为:Grafana, Nginx

更多请见参数表

本项目安装的是 Grafana 最新版吗?

本 Graylog 项目采用 yum/apt 安装,每次均可部署官方发布的最新版本

Grafana 下载页面查看最新版本,获取最新版源码下载链接。

安装指南

以 root 用户登录 Linux,运行下面的一键自动化安装命令即可启动自动化部署。若没有 root 用户,请以其他用户登录 Linux 后运行 sudo su - 命令提升为 root 权限,然后再运行下面的脚本。

wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/master/scripts/install.sh; bash install.sh -r grafana

脚本后启动,就开始了自动化安装,必要时需要用户做出交互式选择,然后耐心等待直至安装成功。

安装中的注意事项:

  1. 操作不慎或网络发生变化,可能会导致SSH连接被中断,安装就会失败,此时请重新安装
  2. 安装缓慢、停滞不前或无故中断,主要是网络不通(或网速太慢)导致的下载问题,此时请重新安装

多种原因导致无法顺利安装,请使用我们在公有云上发布的 Grafana 镜像 的部署方式

License

LGPL-3.0, Additional Terms: It is not allowed to publish free or paid image based on this repository in any Cloud platform's Marketplace. Copyright (c) 2016-present, Websoft9

文档

文档链接:https://support.websoft9.com/docs/grafana/zh

FAQ

  • 命令脚本部署与镜像部署有什么区别?请参考镜像部署-vs-脚本部署
  • 本项目支持在 Ansible Tower 上运行吗?支持

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.