wdxgg

root@VM-95-113-ubuntu:/etc/network/interfaces.d# cat ../interfaces

and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

root@VM-95-113-ubuntu:/etc/network/interfaces.d# cat 50-cloud-init.cfg

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}

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 10.135.95.113
    netmask 255.255.192.0
    post-up route add default gw 10.135.64.1 || true
    pre-down route del default gw 10.135.64.1 || true

常用系统命令

free -m

下面第一行的【mem:】后面的【total】下面显示你的内存总大小。

df

查看当前的磁盘大小

cat /proc/cpuinfo

显示出CPU的型号呀之类的信息

lspci |grep VGA

显示你的显卡型号

分类:

技术点:

相关文章:

  • 2021-10-04
  • 2021-11-13
  • 2021-11-13
  • 2021-12-02
猜你喜欢
  • 2021-11-23
  • 2021-12-04
  • 2021-11-23
  • 2021-11-13
  • 2021-11-13
  • 2021-12-03
相关资源
相似解决方案