将代码封装,并使用unittest调用时,返回如下警告: E:\intall\python-3.7.4-amd64\lib\unittest\suite.py:84: ResourceWarning: unclosed <socket.socket fd=228, family=AddressFam ...
分类:
Web程序 时间:
2021-04-22 15:44:17
阅读次数:
0
mac 上build go 如果想要在centos上面执行 必须使用下面的方式 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o hello hello.go 不然会报错 :cannot execute binary file ...
分类:
其他好文 时间:
2021-04-19 14:58:20
阅读次数:
0
怎么查看python的安装路径?如下: 打开cmd 输入python C:\Users>python3 Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32 ...
分类:
编程语言 时间:
2021-04-14 12:28:25
阅读次数:
0
部署altermanager组件 [root@zabbix ~]# tar -xf alertmanager-0.21.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# cd /opt/monitor/[root@zabbix monitor ...
分类:
其他好文 时间:
2021-04-13 11:58:34
阅读次数:
0
部署prometheus监控端mkdir /opt/monitor/[root@zabbix ~]# tar -xf prometheus-2.25.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# mv prometheus-2.25.0. ...
分类:
其他好文 时间:
2021-04-06 14:27:18
阅读次数:
0
在一个虚拟机运行apt-get update警告 W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner amd64 Packages (/var/lib/apt/lists/archi ...
分类:
其他好文 时间:
2021-03-17 15:08:43
阅读次数:
0
下载iso文件 Desktop版 https://ubuntu.com/download/desktop/thank-you?version=20.04.2.0&architecture=amd64 Sever版 https://ubuntu.com/download/server 1、打开 2、新 ...
分类:
其他好文 时间:
2021-03-16 11:52:55
阅读次数:
0
FreeBSD——艺术、科学、哲学概论→→→→→概论: 信息都有一定的时效性。那么现在是什么时间?现在已经发布了 FreeBSD 12.2,距离下一个版本 13.0 还有约 4 个月。 『约定』 使用 Google 来查阅信息。善用搜索引擎。如果无法访问,那么你可能不适合使用 FreeBSD 。(另 ...
分类:
其他好文 时间:
2021-03-08 14:01:30
阅读次数:
0
ubuntu16.04安装Grafana 1.在Grafana官网查看最新版本。 2.输入以下命令,执行安装。 wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.1.3_amd64.deb sudo ...
分类:
系统相关 时间:
2021-02-23 14:09:53
阅读次数:
0
第一步:下载压缩包 安装tar包路径 1、命令:wget http://download.pingcap.org/tidb-latest-linux-amd64.tar.gz 2、命令:wget http://download.pingcap.org/tidb-latest-linux-amd64. ...
分类:
数据库 时间:
2021-02-20 12:10:06
阅读次数:
0