07 2020 档案
摘要:### 制作租户访问证书 ### openssl genrsa -out ethan.key 2048 openssl req -new -key ethan.key -out ethan.csr -subj "/CN=ethan/O=test" openssl x509 -req -in etha
阅读全文
摘要:- hosts: k8s-cluster any_errors_fatal: "{{ any_errors_fatal | default(true) }}" vars: dns_domain: cluster.local tasks: - name: populate inventory into
阅读全文
摘要:- hosts: all any_errors_fatal: "{{ any_errors_fatal | default(true) }}" tasks: - name: yum install ntp yum: name: ntp state: present tags: - install_n
阅读全文
摘要:1、安装Apache服务程序yum install httpd -y2、将Apache服务启动并添加到开机自启systemctl start httpdsystemctl enable httpd3、关闭SE linuxsetenforce 04.删除欢迎界面rm -rf /etc/httpd/co
阅读全文
摘要:1.docker images 查看镜像 2.docker ps -a 查看运行的容器 3.docker exec -t -i 容器ID /bin/bash 4.docker search 镜像名 6. docker pull centos 默认情况下会拉取 latest 版本,当然我们也可以采用d
阅读全文
摘要:第一种方法,可以直接使用date命令获取 date +%s -d '2017-1-1 12:30:00' 删除第一行sed -i '1d' filename 解压覆盖upzip -o $zip -d $directory 压缩zip -r abc.zip abc 统计某字符串出现的次数grep -o
阅读全文
摘要:编译好的二进制文件放在百度云盘了 链接:https://pan.baidu.com/s/1fyWV4rJM1gPR6wAFXyQnzA 提取码:z4vu 复制这段内容后打开百度网盘手机App,操作更方便哦
阅读全文

浙公网安备 33010602011771号