Loading

摘要: 快速入门 实验:通过服务自动发现的redis主从 难点: 1,服务的自动发现,即如何确定coreDNS 已生效 2,redis的主从验证 遇到的问题: 1,Can't handle RDB format version 9 解决:一般是低版本无法兼容高版本的 rdb 导致的。要求删除 dump.rd 阅读全文
posted @ 2019-10-04 19:51 Lust4Life 阅读(2554) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-10-04 10:40 Lust4Life 阅读(1) 评论(0) 推荐(0)
摘要: 优化 性能优化 指定mpm模式(编译时) httpd V show compile settings 及 Server MPM l Compiled in modules ,是否有worker.c 否则为prework apache 计算内存消耗 在压力测试时,找到httpd进程,查看一个进程使用了 阅读全文
posted @ 2019-10-04 08:47 Lust4Life 阅读(1112) 评论(0) 推荐(0)
摘要: 工作机制:ssh 无客户端 工作方式: 1,CMDB 2,公有云私有云API 3,使用ad hoc 4,ansible playbook ansible 执行命令,底层调用传输连接模块,将命令或文件传输至远程服务器的/tmp目录,远程执行,操作完后删除,返回结果。 配置文件 /etc/ansible 阅读全文
posted @ 2019-10-04 08:35 Lust4Life 阅读(433) 评论(0) 推荐(0)
摘要: xxxx 访问日志前十 本机连接的ip数前十 ss nt | tr s " " : | cut d : f6 ss nt State Recv Q Send Q Local Address:Port Peer Address:Port ESTAB 0 0 192.168.36.73:22 192.1 阅读全文
posted @ 2019-10-04 08:26 Lust4Life 阅读(265) 评论(0) 推荐(0)
摘要: 小知识 shutdown 2 The system is going down for required maintenance. Please save any important work you are doing now! free m buffers为写入缓冲区,sync将缓冲区数据写入磁 阅读全文
posted @ 2019-10-04 08:16 Lust4Life 阅读(209) 评论(0) 推荐(0)
摘要: 以DHCP+DNS模式管理服务器IP地址和主机名。服务器上架前,以其MAC地址为依据,在DHCP中配置主机保留并分配主机名。DHCP结合TFTP提供的PXE服务,提供PXE引导Linux内核和启动镜像,通过自动应答文件来实现操作系统的自动安装和配置。 基本过程 1)、 PXE Client 从自己的 阅读全文
posted @ 2019-10-04 00:03 Lust4Life 阅读(462) 评论(0) 推荐(0)