docker安装后启动不起来: 查看日志 /var/log/message 其中有一行为: Your kernel does not support cgroup memory limit 原因是:由于内核不支持限制内存的设置 解决办法是:vim /etc/default/grub 修改为: 或者:GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" 重启后可以解决…
最近需要用到MySQL,从官网上下载了一个安装文件,但是安装时一直弹出如下提示信息: Configuration of MySQL Server 5.7 is taking longer than expected. Do you Want to continue waiting or cancel the configuration? If you keep waiting you may get this message again. 纠结许久,终于根据某位高人的方法,问题得以解决,具体解决…
没有ifconfig命令目前我了解两个原因: 1./sbin/ifconfig 可以执行,但是ifconfig无法执行.这个解决的时候只需要将/sbin 添加到PATH下就可以了. 2.系统未安装ifconfig命令.解决方法:打通网络,使用yum安装ifconfig. 解决步骤: 命令如下: 1)查看当前ip信息: ip addr show 2)编辑网卡配置信息,eno16777736应该修改成你的ip信息中的网卡名: vi /etc/sysconfig/network-scripts/ifc…
重启报错: [root@localhost ~]# systemctl restart docker Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. [root@localhost ~]# journalctl…