To be a better coder
发布时间:2020-06-15 15:37:40
================================================================atoi atof#include #include int main(){char *a="3.67";char b[16]={0};float f=atof(a);printf("%lf\n",f);snprintf(b, 16,"%f",atof(a));printf("%s\n",b);return 0;}========================================.........【阅读全文】
发布时间:2020-02-19 13:41:12
unbuntu-14.04系统libvirt-1.2.112015-10-19 02:19:17.197+0000: 17757: error : virJSONValueToString:1549 : internal error: No JSON parser implementation is available解决方法:安装yajl-devel,并重新编译运行libvirt安装yajl-devel wget http://github.com/lloyd/yajl/tarball/2.0.1.........【阅读全文】
发布时间:2020-06-11 15:17:54
[root@localhost /]# /software/bin/virt/software/bin/virt: /usr/lib/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /usr/local/lib/libpaho-mqtt3cs.so.1)[root@localhost /]# ls /usr/lib/libcrypt由于服务器无法接外网,导致openssl无法升级,出现以上问题解决办法1.手动下载可用服务器上.........【阅读全文】
发布时间:2020-01-15 17:25:20
安装brctl命令yum install -y bridge-utils cni0只有在pod运行时才会出现。tcpdump -i ens192 -nn icmp可以看到veth这些接口都是桥接到cni0上的。yum install -y tcpdump[root@localhost /]# [root@localhost /]# tcpdump -i ens3 -nn host 192.168.27.35 brctl .........【阅读全文】