云计算
文章平均质量分 90
云计算
@Hjhhhhh
这个作者很懒,什么都没留下…
展开
-
Ansible自动化运维
Ansible自动化运维 一.Ansible安装 1)通过yum安装ansible [root@centos01 ~]# mount /dev/cdrom /mnt/ [root@centos01 ~]# ls /mnt ansiblerepo ansible配置文件 [root@centos01 ~]# cd /mnt/ansiblerepo/ansiblerepo/ [root@centos01 ansiblerepo]# pwd /mnt/ansiblerepo/ansiblerepo [root原创 2021-06-08 15:34:56 · 94 阅读 · 0 评论 -
ELK日志分析系统
ELK日志分析系统 一.准备环境 1.[root@centos02 ~]# mount /dev/cdrom /mnt (elk镜像) [root@centos02 ~]# tar zxvf /mnt/elasticsearch-head.tar.gz -C /usr/src/ [root@centos02 ~]# tar zxvf /mnt/node-v8.2.1.tar.gz -C /usr/src/ [root@centos02 ~]#tar jxvf /mnt/phantomjs-2.1.1-lin原创 2021-06-03 11:48:34 · 91 阅读 · 0 评论 -
搭建Zabbix监控系统
搭建Zabbix监控系统 一.安装配置zabbix 1.安装zabbix服务器端 1)安装MariaDB [root@centos01 ~]# yum -y install mariadb-server 2)设置开机自启动 [root@centos01 ~]# systemctl start mariadb [root@centos01 ~]# systemctl enable mariadb 3)验证登录MySQL [root@centos01 ~]# mysqladmin -uroot password原创 2021-06-01 15:49:11 · 237 阅读 · 1 评论 -
MySQL主从复制与读写分离
MySQL主从复制与读写分离 搭建MySQL主从复制 1)建立时间同步环境,在主节点上搭建时间同步服务器 ①安装ntp [root@centos01 ~]# yum -y install ntp ②配置NTP [root@centos01 ~]# vim /etc/ntp.conf ③重启服务并设置为开机自启 [root@centos01 ~]# service ntpd restart [root@centos01 ~]# systemctl restart ntpd [root@centos01 ~]原创 2021-05-28 19:26:12 · 80 阅读 · 0 评论