摘要: 1.安装epel源yum -y install epel-release 2.时间同步控制节点# yum install chrony编辑 /etc/chrony.conf 文件,按照你环境的要求,对下面的键进行添加,修改或者删除: server NTP_SERVER iburst使用NTP服务器的 阅读全文
posted @ 2022-07-12 15:13 leiuk 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 安装完mysql-server 会提示可以运行mysql_secure_installation。运行mysql_secure_installation会执行以下几个设置:为root用户设置密码 删除匿名账号 取消root用户远程登录 删除test库和对test库的访问权限 刷新授权表使修改生效 通 阅读全文
posted @ 2022-07-12 14:22 leiuk 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 安装# 默认已经安装$ yum install -y chrony配置文件$ cat /etc/chrony.conf# Use public servers from the pool.ntp.org project.# Please consider joining the pool (http 阅读全文
posted @ 2022-07-12 14:19 leiuk 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1.修改主机名hostnamectl set-hostname controllerbashhostname2.修改第一块网卡vim /etc/sysconfig/network-scripts/ifcfg-eth0BOOTPROTO=staticONBOOT=yesIPADDR=10.10.0.5 阅读全文
posted @ 2022-07-12 14:18 leiuk 阅读(154) 评论(0) 推荐(0) 编辑
摘要: bash: service: command not foundcentos系统中,如果/sbin目录下没有service这个命令,就会出现-bash: service: command not found的错误。解决步骤如下:1、输入:yum list | grep initscripts会出现i 阅读全文
posted @ 2022-07-12 14:17 leiuk 阅读(146) 评论(0) 推荐(0) 编辑
摘要: OpenStack错误:Error: unable to connect to node rabbit@localhost: nodedown问题来源:rabbitmq添加用户失败思考原因1、翻译一下2、解释3、su 和 su - 的区别4、简单解释问题总结问题来源:rabbitmq添加用户失败[r 阅读全文
posted @ 2022-07-12 14:16 leiuk 阅读(426) 评论(0) 推荐(0) 编辑