centos 开机自动联网
a. 默认centos不能自动联网
$ ifconfig //插卡ip的设备名 eth0
# vim /etc/sysconfig/network-scripts/ifcfg-eth0
修改 ONBOOT=yes // default = no
b. 通过命令行打开图形界面设置
#ntsysv
c. 开机启动服务
#chkconfig //查看系统服务
#chkconfig sshd on/off //设置开机启动/关闭 ssd 服务