上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页
摘要: 一、基本环境: Centos7.X Docker Version: 1.13.1 二、kubernetes各组件介绍: etcd保存了整个集群的状态 kube-proxy负责为Service提供cluster内部的服务发现和负载均衡 kubelet负责维护容器的生命周期,同时也负责Volume(CV 阅读全文
posted @ 2022-08-24 10:32 LB_运维技术 阅读(413) 评论(0) 推荐(0) 编辑
摘要: (1)dns配置前备份:/etc/resolv.conf #cp /etc/resolv.conf /etc/resolv.conf.bak (2)编辑主配置文件 #vi /etc/resolv.conf nameserver //定义DNS服务器的IP地址 domain //定义本地域名,doma 阅读全文
posted @ 2022-08-24 10:26 LB_运维技术 阅读(64) 评论(0) 推荐(0) 编辑
摘要: Lvs 简介 LVS 的全称是 Linux virtual server,即 Linux 虚拟服务器。之所以是虚拟服 务器,是因为 LVS 自身是个负载均衡器(director),不直接处理请求,而是将请 求转发至位于它后端真正的服务器 realserver 上。 LVS 是四层(传输层 tcp/u 阅读全文
posted @ 2022-08-24 10:22 LB_运维技术 阅读(874) 评论(0) 推荐(0) 编辑
摘要: [root@libin network-scripts]# cat ifcfg-eth6 DEVICE="eth6" BOOTPROTO="none" HWADDR="81:5B:12:2F:3A:11" #NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Etherne 阅读全文
posted @ 2022-08-24 10:07 LB_运维技术 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Linux 漏洞问题 1、检查登录提示-更改ftp警告Banner [root@localhost libin]# grep ftpd_banne /etc/vsftpd/vsftpd.conf ftpd_banner="Authorized users only. All activity may 阅读全文
posted @ 2022-08-24 09:46 LB_运维技术 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-08-23 20:08 LB_运维技术 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1、Linux 系统查询占用CPU的前十个进程 [root@libin ]# ps aux --sort=pcpu | head -10 2、Linux系统查询可以远程登录的帐号信息 [root@libin ]# awk '/\$1|\$6/{print $1}' /etc/shadow | awk 阅读全文
posted @ 2022-08-23 11:42 LB_运维技术 阅读(80) 评论(0) 推荐(0) 编辑
摘要: [22:26:42 root@libin3 libin]# cat libin6 rhcsa rhce rhca hcia libin1 hcip libin2 hcie libin3 [22:26:52 root@libin3 libin]# for i in `cat libin6`;do pi 阅读全文
posted @ 2022-08-22 22:32 LB_运维技术 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 1、定义剧本(我这里只输出序列号) [root@libin3]# cat libin.yml - hosts: task gather_facts: no tasks: - name: fetch shell: | awk -F ":" '{ print $1,$7 }' /etc/passwd | 阅读全文
posted @ 2022-08-21 01:24 LB_运维技术 阅读(21) 评论(0) 推荐(0) 编辑
摘要: case 命令 case语句与if-then-else语句的区别。 例1:if-then-else语句,比较繁琐 [19:37:32 root@libin3 libin]# usermod -G root student [19:22:33 root@libin3 libin]# vim shell 阅读全文
posted @ 2022-08-20 23:25 LB_运维技术 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页