Set up the network card to automatically start in linux

cd /etc/sysconfig/
cd network-script // The network configuration file is in /etc/sysconfig/network-script
vi ifcfg-ens33

ONBOOT=no is changed to yes



onBoot=no The default is no, which requires manual networking
service network (status status stop is closed start) network service

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325217140&siteId=291194637