grafan源码编译
2024-09-05 05:41:15
下载grafana源码:https://github.com/grafana/grafana
前端:
安装node.js,安装完自带npm
npm install -g yarn
yarn install --pure-lockfile
yarn start
npm设置国内源:npm config set registry=http://registry.npm.taobao.org/
npm设置代理:
npm config rm/get/set proxy
npm config rm/get/set https-proxy
npm config set proxy http://xxx.xxx.xxx:8080
yarn设置国内源:yarn config set registry https://registry.npm.taobao.org/
yarn设置代理:yarn config rm/get/set proxy,yarn默认使用npm的代理
后端:cmd下运行bin目录中的grafana-server.exe
设置go和python环境
cd $GOPATH/src/github.com/grafana/grafana
go run build.go setup
go run build.go build
最新文章
- windows+nginx+iis+redis+Task.MainForm构建分布式架构 之 (nginx+iis构建服务集群)
- Silverlight5 Tools安装失败及解决方案
- Baskets of Gold Coins_暴力
- 【读书笔记】WebApi 和 SPA(单页应用)--knockout的使用
- 基于superagent 与 cheerio 的node简单爬虫
- VMware NAT模式 Cent OS IP配置
- 二进制序列化框架easypack发布啦!
- 关于File.getPath,File.getAbsolutePath,File.getCanonicalPath的区别
- 拿到手机ip住址
- iOS 后台定位被拒注意事项
- protobuf NET使用
- 持续集成环境Gitlab-CI的官方安装过程解析
- CLR查找和加载程序集的方式
- 1833 深坑 TLE 求解
- Python title()、upper()、lower()方法--string
- tpot ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
- classpath和classpath*的区别
- docker自动重启容器
- 将LinkedHashMap转换为需要的对象
- Java 大数、高精度模板