Linux
ratnik
这个作者很懒,什么都没留下…
展开
-
MySQL启动报错 Job for mysqld.service failed because the control process exited with error code. See “sys
Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details.查看 tail -n 300 /var/log/mysqld.log 日志发现查看磁盘空间发现是root下空间满了,磁盘挂载点不合理,重新挂载或清理根目录即可...原创 2021-10-16 09:46:08 · 559 阅读 · 0 评论 -
docker安装MySQL5.7
1. 前提条件# centos7 且内核版本高于3.10, 可通过以下命令查看内核版本uname -r 2. 利用yum安装docker# 安装一些必要工具yum install -y yum-utils device-mapper-persistent-data lvm2# 添加软件源信息yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo#更新yum原创 2021-09-23 15:28:48 · 232 阅读 · 0 评论 -
Host key verification failed错误处理
Host key verification failed在进行免密登录配置的时候,报Host key verification failed相关错误,具体情况如下:执行ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.12.113执行ssh root@192.168.12.113时解决办法:不要在yes/no选项的时候回车,输入yes即可解决。...原创 2021-09-16 15:26:28 · 961 阅读 · 0 评论 -
centOS 6.9时钟同步配置
centos 6.9时钟同步设置1. 安装ntpdate工具 yum -y install ntp ntpdate2. 设置系统时间与网络时间同步 ntpdate cn.pool.ntp.org3. 将系统时间写入硬件时间 hwclock --systohc...原创 2018-11-09 23:00:06 · 762 阅读 · 0 评论