zoukankan      html  css  js  c++  java
  • ubuntu 18.04 设置固定ip


    image


    # This file is generated from information provided by
    # the datasource.  Changes to it will not persist across an instance.
    # To disable cloud-init's network configuration capabilities, write a file
    # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
    # network: {config: disabled}
    network:
         ethernets:
             enp0s3:
                 addresses: [192.168.1.81/24,]
                 gateway4: 192.168.1.1
                 dhcp4: no
                 nameservers:
                         addresses: [114.114.114.114]
         version: 2

  • 相关阅读:
    Mysql配置文件解析
    Mysql的视图
    Setup和 Hold
    洛谷 P2257
    洛谷 P3455
    洛谷 P1447
    洛谷 P1155
    洛谷 P1262
    洛谷 P4180
    洛谷 P5540
  • 原文地址:https://www.cnblogs.com/ze-lin/p/10263018.html
Copyright © 2011-2022 走看看