1. modify IP Address
a) by command(immediate effective)
ifconfig eth0 192.168.4.10 netmask 255.255.255.0
b) modify config file(effective after restart)
vi /etc/sysconfig/network-scripts/ifcfg-eth0
2. modify dns
vi /etc/resolv.conf
3. modify host name
a) by command(immediate effective)
hostname liubbc
b) modify config file(effective after restart)
vi /etc/sysconfig/network
阅读(1548) | 评论(0) | 转发(0) |