zoukankan      html  css  js  c++  java
  • 无题

    配置dns

    Dnsmasq 和 resolv.conf 是什么关系?

    resolv.conf 指定本机的dns?有先后优先级顺序

    发出网络请求后首先会根据resolv.conf的配置去访问对应服务器

    dnsmasq配置文件中由选项可以控制是否使用resolv.conf
    # If you don't want dnsmasq to read /etc/resolv.conf or any other
    # file, getting its servers from this file instead (see below), then
    # uncomment this.
    #no-resolv

    /etc/dnsmasq.conf 里面配置了各种hosts
    在这个里头把courseware.aixuexi.com配一下
    然后重启dns的方法 systemctl restart dnsmasq

    docker项目想要进入到容器去查看日志或者apollo拉取下来的配置,可以使用命令:docker exec -it Hulk_alitest2 bash   Hulk_alitest2是你的项目启动用的名字
    docker exec -it manage-web_alitest2 bash 进入到docker的虚拟主机
    /usr/local/tomcat7 文件路径 find /usr/local/tomcat7 -name *.properties
    查找到配置文件路径

    nginx添加路径配置,location中添加一条 /xxxx

  • 相关阅读:
    关于串联匹配电阻其作用:
    上下拉电阻
    RS232
    常用硬件介绍
    VGA
    JTAG
    [生活]-理财入门
    [Camera] color shading的产生
    [camere] AWB老算法
    Python基础语法知识
  • 原文地址:https://www.cnblogs.com/xiaojinniu425/p/12102535.html
Copyright © 2011-2022 走看看