docker info 指令报若下错误:WARNING: No memory limit support 或WARNING: No swap limit support 解决方法: 1.打开/etc/default/grub文件,添加如下内容: GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" 或执行sed -i 's#GRUB_CMDLINE_LINUX=""#GRUB_CMDLINE_LINUX=…
egg 连接 mysql 的 docker 容器,报错:Client does not support authentication protocol requested by server; consider upgrading MySQL client 解决办法: mysql 中执行如下语句: mysql> ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'yourPassword'; 附: 'root'@'loc…
问题:创建容器的时候报错WARNING: IPv4 forwarding is disabled. Networking will not work. # docker run -it -p 30001:22 --name=centos-ssh centos /bin/bash WARNING: IPv4 forwarding is disabled. Networking will not work. 解决办法:# vim /usr/lib/sysctl.d/00-system.conf 添加…
想使用NSInvocationOperation下载图片,然而并没有下载下来, NSData为nil, 还有报错:(打断点就报错) warning: could not load any Objective-C class information from the dyld shared cache. This will significantly reduce the quality of type information available. 现在这两个问题还没解决, 以后再看吧,先提交到g…
MySQL5.7.27报错“[Warning] Using a password on the command line interface can be insecure.”在命令行使用密码不安全警告 原因 这个错误是在我执行备份脚本的时候出现的 # mysqldump -h主机名 -u用户名 -p密码 数据库名称 > /usr/local/dbbackup/数据库名称_$(date +%Y%m%d_%H%M%S).sql 原因是mysql的安全机制导致,因为在命令行直接将命令写上,被认为是不…