摘要: 交叉编译zeromq,并编译go可执行文件 交叉编译libsodium ./configure --host=aarch64-himix100-linux --prefix=/home/udsafe/ && make && make install 交叉编译libzmq ./configure -- 阅读全文
posted @ 2020-11-24 11:16 LDoctorF 阅读(797) 评论(0) 推荐(0) 编辑
摘要: centos安装: yum install acl autoconf dnsmasq git golang libacl libacl-devel libtool make rsync squashfs-tools tar tcl ebtables 编译xz-utilscd /root/hbdl/x 阅读全文
posted @ 2020-11-09 23:16 LDoctorF 阅读(252) 评论(0) 推荐(1) 编辑
摘要: Lxd-4.0.2 在arm架构下源码编译 1、安装过程 1.环境:centos7.6-aarch64 2.安装epel源 yum -y install epel-release 3.安装lxd依赖包 yum install acl autoconf dnsmasq-base git golang 阅读全文
posted @ 2020-07-30 11:10 LDoctorF 阅读(645) 评论(0) 推荐(0) 编辑
摘要: http://cdimage.ubuntu.com/releases/16.04/release/ virt Manager 管理虚拟机 使用qemu/kvm安装镜像 阅读全文
posted @ 2020-07-20 14:41 LDoctorF 阅读(1404) 评论(0) 推荐(0) 编辑
摘要: 文档 Document 用户存储在es中的数据文档索引 Index 由具有相同字段的文档列表 查看当前所有索引 GET /_cat/indince 节点Node 一个Elasticsearch的运行实例,是集群集群master elasticsearch Document Json Object 数 阅读全文
posted @ 2019-05-09 15:21 LDoctorF 阅读(832) 评论(0) 推荐(0) 编辑
摘要: API使用 zabbix官网文档:https://www.zabbix.com/documentation/2.2/manual/api, Zabbix API是基于JSON-RPC 2.0规格,具体实现可以选择任何自己爱好的编程语言,可以采用Perl、Ruby、PHP之类的。 本文已python为 阅读全文
posted @ 2019-04-09 21:18 LDoctorF 阅读(2904) 评论(0) 推荐(0) 编辑
摘要: 基于腾讯云 gitlab搭建:https://blog.csdn.net/duyusean/article/details/80011540 gitlab使用:https://blog.csdn.net/justlpf/article/details/80681853 gitlab搭建提示inet_ 阅读全文
posted @ 2019-03-05 14:56 LDoctorF 阅读(226) 评论(0) 推荐(1) 编辑
摘要: 什么是模块 常见的场景:一个模块就是一个包含了python定义和声明的文件,文件名就是模块名字加上.py的后缀。 但其实import加载的模块分为四个通用类别: 1.使用python编写的代码(.py文件) 2.已被编译为共享库或DLL的C或C++扩展 3.包好一组模块的包 4.使用C编写并链接到p 阅读全文
posted @ 2018-05-15 12:12 LDoctorF 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 递归函数 递归函数的定义: 在一个函数里调用他本身,这种使用函数的方式就叫这做递归。 递归的最大深度: 最后得出结论,递归的最大深度是997,为什么是997呢,是因为python为了我们程序的内存优化所设定的一个默认值,我们当然还可以通过一些手段去修改它: 虽然说我们可以根据这个方式修改递归最大限制 阅读全文
posted @ 2018-05-07 21:12 LDoctorF 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 格式说明 练习 现有两个元组(('a'),('b')),(('c'),('d')),请使用python中匿名函数生成列表[{'a':'c'},{'b':'d'}] #答案一 test = lambda t1,t2 :[{i:j} for i,j in zip(t1,t2)] print(test(t 阅读全文
posted @ 2018-05-05 01:49 LDoctorF 阅读(248) 评论(0) 推荐(0) 编辑