摘要:
1.将目标文件中每行第一个"80"替换为"8080"? sed 's/80/8080/' nginx.conf_bk >> nginx.conf_bk_a 2.如何将文件中所有出现的"localhost"替换为“127.0.0.1"? sed 's/localhost/127.0.0.1/g' ng 阅读全文
摘要:
[root@VM-12-14-centos ~]# cat 3.txt This is Test file !!!! # 第二行后追加 Do you know?anything is possible [root@VM-12-14-centos ~]# sed '2a Do you know?any 阅读全文
摘要:
深入研究学习Pod 首先需要认识到Pod才是Kubernetes项目中最小的编排单位原子单位,凡是涉及到调度,网络,存储层面的,基本上都是Pod级别的!官方是用这样的语言来描述的: "A Pod is the basic building block of Kubernetes–the smalle 阅读全文
摘要:
IPy 1.简单介绍 Python官方提供了一个强大的模块IPy辅助我们完成IP的规划工作。官方介绍(Class and tools for handling of IPv4 and IPv6 addresses and networksIPy class and tools for handlin 阅读全文