CentOS:网络配置

来自WHY42

/etc/sysconfig/network-scripts/ifcfg-enp0s3

ON_BOOT=yes
service network restart
ip addr