CentOS 使用ifconfig没有显示ip

 /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT 设为 yes。然后 service network restart


搞定~

你可能感兴趣的:(Hadoop)