系统安装完毕后需要做一定的设置:
1、设置网卡:
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.1.10'
NETMASK='255.255.255.0'
MTU=''
NAME='Gigabit Network Connection'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
2、设置默认网关:
vi /etc/sysconfig/network/routes
default 192.168.1.1
3、设置DNS
vim /etc/resolv.conf
nameserver 8.8.8.8
nameserver 4.4.4.4
4、开启防火墙
#SuSEfirewall2 start