Giter Site home page Giter Site logo

10086lp / grafana-chinese Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tghfly/grafana-chinese

0.0 0.0 0.0 59.67 MB

Grafana v6.7.4中文版

License: Apache License 2.0

Dockerfile 0.26% Shell 1.17% JavaScript 0.55% Makefile 0.05% Go 38.19% Jsonnet 0.25% Smarty 0.02% Python 0.36% PHP 0.01% TypeScript 49.32% CSS 2.42% HTML 4.05% Vim Script 0.01% Assembly 0.57% C 0.02% Rich Text Format 2.77%

grafana-chinese's Introduction

Grafana 6.7.4中文化版本

重要说明: 各插件面板待汉化!!!

汉化步骤:

克隆 github 仓库到本地,备份并停止本地服务器grafana,将github仓库中bin目录和public目录覆盖到本地服务器,重启grafana.

如果要基于本仓库再次做汉化,可先从grafana官方github仓库克隆v6.7.x的代码,然后将本仓库的build.go、pkg、packages、public目录覆盖到克隆下来的官方仓库中即可.

有关 Grafana 汉化以及实践视频教程,可关注我的b站账号 itcooking ,相关视频以及文档链接如下:

https://www.bilibili.com/video/BV15a4y1a75c

https://www.bilibili.com/video/BV1PV411k7Rz

https://www.bilibili.com/read/cv5926605

具体汉化步骤:

1、备份public目录

mv /usr/share/grafana/public /usr/share/grafana/public.source

2、备份/usr/sbin/grafana-server和grafana-cli

cp /usr/sbin/grafana-server /usr/sbin/grafana-server.source

cp /usr/sbin/grafana-cli /usr/sbin/grafana-cli.source

3、停止grafana服务,拷贝grafana/bin/linux-amd64/grafana-server 和 grafana-cli /usr/sbin目录

systemctl stop grafana-server

/bin/cp -rp grafana/bin/linux-amd64/grafana-server /usr/sbin/

/bin/cp -rp grafana/bin/linux-amd64/grafana-cli /usr/sbin/

4、拷贝grafana/public 到 /usr/share/grafana/

/bin/cp -rp public /usr/share/grafana/

5、启动grafana-server

systemctl start grafana-server

汉化效果图

Image text

Image text

Image text

Image text

Image text

Image text

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.