一.基础环境搭建1.安装数据库mysql2.关闭selinux ,selinux 改为disable[root@ganluren-wk ~]# vim /etc/selinux/config3. Install Zabbix repository [root@ganluren-wk ~]# rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/
一.卸载原有数据库1.通过命令rpm -qa | grep mysql ,rpm -qa | grep mariadb 查看原有数据库[root@ganluren-wk etc]# rpm -qa | grep mysql[root@ganluren-wk etc]# rpm -qa | grep mariadb2. [root@ganluren-wk etc]
1. 查看系统版本[root@ganluren-wk ~]# cat /etc/redhat-release2.安装epel源[root@ganluren-wk ~]# yum -y install epel-release3.安装rpmconf软件包[root@ganluren-wk ~]# yum -y install rpmconf4. 使用rpmconf命令检查所有软件包的配置文件:[ro
实验环境 server1:192.168.1.251 server2:192.168.1.249 server3:192.168.2481.本文使用root 用户,如需单独建立免密登录用户,方法与
实验环境ansible server IP 192.168.1.251受控主机IP 192.168.1.248,192.168.2491.设置主机清单,添加受控主机。(可删除其他注释信息)[root@ganluren ~]# vim /etc/ansible/hosts也可为主机规划用途,对主机进行分组,方便后期管理,本文分为work,study两个组2.使用ansible-inventory &
1.yum install -y ansible2.进入/etc/yum.repos.d ,删除epel*文件3.输入dnf list all|grep ansible4.输入dnf -y install centos-release-ansible-29-1-2.el8.noarchls /etc/yum.repos.d/ |grep ansible5.输入dnf -y install ansi
1.Server 安装Bind服务程序[root@ganluren ~]# yum install bind-chroot2.修改配置文件,把第11行和第19行的地址均修改为any,分别表示服务器上的所有IP地址均可提供DNS域名解析服务,以及允许所有人对本服务器发送DNS查询请求[root@ganluren ~]# vim /etc/named.conf 3.编辑区域配置文件,添加正向
一、配置NTP Server1.在NTP Server 安装时间同步服务chrony[root@ganluren network-scripts]# yum install chrony2.启动服务并加入开机启动[root@ganluren network-scripts]# systemctl start chronyd[root@ganluren network-scripts]# syste
Redhat 软件仓 ,yum 源配置
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号