摘要: [root@centos7-1 ~]$yum -y install bison bison-devel zlib-devel libcurl-devel libarchive-devel boost-devel gcc gcc-c++ cmake ncurses-devel gnutls-devel 阅读全文
posted @ 2020-08-16 19:28 练习生天泽 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: 执行命令:mysql -u root -p 错误:mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: 分析:缺少 libncurses.so.5 解决方案: 正常6 阅读全文
posted @ 2020-08-16 18:19 练习生天泽 阅读(6999) 评论(0) 推荐(0) 编辑
摘要: [root@centos8-3 ~]$lsanaconda-ks.cfg initSet_.sh mysql-5.7.31-linux-glibc2.12-x86_64.tar.gz mysql_install.sh[root@centos8-3 ~]$vim mysql_install.sh #! 阅读全文
posted @ 2020-08-16 17:42 练习生天泽 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 当初始化mysql时出现错误: mysql安装报FATAL ERROR: please install the following Perl modules before executing 原因:缺少perl模块中的Data::Dumper 安装autoconf库(此包安装时会安装Data:Dum 阅读全文
posted @ 2020-08-16 17:10 练习生天泽 阅读(1708) 评论(0) 推荐(0) 编辑
摘要: [root@centos8-1 ]$mkdir -pv /data/ansible/roles/mysql/files/ ##创建目录 [root@centos8-1 roles]$vim /data/ansible/roles/mysql/files/my.cnf ##准备好my.cnf配置文件 阅读全文
posted @ 2020-08-16 15:33 练习生天泽 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 设置SSH免密码登陆vim ansible_ssh.sh#!/bin/bash[ -f ~/.ssh/id_rsa ] || ssh-keygen -f ~/.ssh/id_rsa -P "" -qrpm -q sshpass &> /dev/null || yum -y install sshpa 阅读全文
posted @ 2020-08-16 14:32 练习生天泽 阅读(210) 评论(0) 推荐(0) 编辑