摘要:
设置静态IP、主机名1./etc/sysconfig/network [root@hadoop ~]# vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=hadoop #主机名 GATEWAY=192.168.80.1 #网关2./etc/sysconfig/network-scripts/ifcfg-eth0 [root@hadoop ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" NETMASK="255.255.255.0" 阅读全文