1、网络
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 HWADDR=08:00:27:77:F3:A1 TYPE=Ethernet UUID=4d488b01-d7ac-411c-8fb7-50500572889c ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=192.168.134.25 GATEWAY=192.168.134.1 NETMASSK=255.255.255.0
2、增加开机启动项
/etc/rc.local
3、修改主机名
/etc/sysconfig/network
NETWORKING=yes HOSTNAME=localhost
4、查看历史连接的IP
who /var/log/wtmp
每天努力一点,每天学习一点。
Keep Moving...