05 2020 档案
harbar镜像同步
摘要:一、做好镜像文件 1、编辑脚本 pull.sh #!/bin/bash if [ $# -ne 1 ];then echo "Usage:$0 filename" exit 1 fi file=$1 if [ ! -f $file ];then echo "the $file is not a fi
阅读全文
Dns局域网域名解析
摘要:一、安装dns服务 1)yum安装 yum install dnsmasq -y 2)配置本地的 dns 解析 # 设置上游DNS,毕竟你的Dns只是个代理 cat >/etc/resolv.dnsmasq <<EOF nameserver 114.114.114.114 nameserver 8.
阅读全文