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 阅读全文
posted @ 2020-05-08 18:37 可口_可乐 阅读(643) 评论(0) 推荐(0)
Dns局域网域名解析
摘要:一、安装dns服务 1)yum安装 yum install dnsmasq -y 2)配置本地的 dns 解析 # 设置上游DNS,毕竟你的Dns只是个代理 cat >/etc/resolv.dnsmasq <<EOF nameserver 114.114.114.114 nameserver 8. 阅读全文
posted @ 2020-05-06 16:42 可口_可乐 阅读(1239) 评论(0) 推荐(0)