摘要: 1.在程序import 中增加 _ "net/http/pprof"2.程序中增加go func() { log.Println(http.ListenAndServe("localhost:6060", nil)) }()3.运行程序go run main.go4.另启动terminal,运行go tool pprof --text http://localhost:606... 阅读全文
posted @ 2020-06-23 15:16 探索无止境 阅读(1130) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装包并安装wget https://dl.influxdata.com/kapacitor/releases/kapacitor-1.5.3.x86_64.rpmsudo yum install kapacitor-1.5.3.x86_64.rpm2.启动并查看运行状态[xxgis@centos7a ~]$ sudo systemctl start kapacitor[xxgis@ce... 阅读全文
posted @ 2020-05-08 12:43 探索无止境 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 1.下载wget https://gomirrors.org/dl/go/go1.14.2.linux-amd64.tar.gz可以手动下载然后上传,也可以直接执行上面的命令附:下载地址:Go官网下载地址:https://studygolang.com/dlGo官方镜像站(推荐): https://golang.google.cn/dl/2.解压sudo tar -C /usr/local -zx... 阅读全文
posted @ 2020-04-30 10:47 探索无止境 阅读(493) 评论(0) 推荐(0) 编辑
摘要: InfluxDB的安装cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo[influxdb]name = InfluxDB Repository - RHEL \$releaseverbaseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stableenabled ... 阅读全文
posted @ 2020-04-29 13:26 探索无止境 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 有些程序会使用Chacha20加密算法,如果Centos7系统报错Exception: libsodium not found,则缺乏M2Crypto与libsodium依赖环境所致;Salsa20是一种流加密算法,由Daniel J. Bernstein提交到eSTREAM。它创建在基于add-rotate-xor(ARX)操作的伪随机函数之上——32位模加、异或(XOR)和循环移位操作。Sal... 阅读全文
posted @ 2020-04-21 12:44 探索无止境 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 我的vbox版本为6.1.6,已经完成如下2步:1.确认bios已经启用了Intel Virtualization Tech;2.确认虚拟机实例cent(本人安装的centos7系统)已经安装完成;发现嵌套虚拟化仍然无法启用,如下图所示解决方案:打开命令行cmd,cd到virtualbox安装目录,执行VBoxManage.exe modifyvm "cent" --nested-hw-virt ... 阅读全文
posted @ 2020-04-17 13:54 探索无止境 阅读(3756) 评论(0) 推荐(0) 编辑
摘要: 多版本运行问题py –2 … 表示2.x版本py –3 … 表示3.x版本vscode下调试指定版本vscode状态栏点击【Python…】切换到指定版本即可。 阅读全文
posted @ 2020-04-17 09:58 探索无止境 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 实时数据库对设备采集的数据进行存储和分析,这是构建工业互联网的基础之一。InfluxDB v1.7.10安装指南OS X (via Homebrew)brew updatebrew install influxdbDocker Imagedocker pull influxdbUbuntu & DebianSHA256: ee6e4ccc20aa5103343a0358f5177e66bd1371... 阅读全文
posted @ 2020-04-08 10:27 探索无止境 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 安装pub global activate angular_cli安装完成后需要把pub-cache/bin添加到环境变量中:【windows】添加 C:\Users\Administrator\AppData\Roaming\Pub\Cache\bin 到Path中使用使用ngdart help查看详细命令。Usage: ngdart [arguments]Global options:-h,... 阅读全文
posted @ 2020-03-02 08:47 探索无止境 阅读(956) 评论(0) 推荐(0) 编辑
摘要: obj->glTF 格式转换。 阅读全文
posted @ 2019-05-24 14:16 探索无止境 阅读(531) 评论(0) 推荐(0) 编辑