老街-新锦江公司77728415(在线客服微信)

老街-新锦江公司77728415(在线客服微信)

centos6手动设置ip地址

1、ifconfig查看网卡信息:网卡的名称eth0

       网卡名.jpg

2、cd /etc/sysconfig/network-scripts,找到eth0的配置文件

      配置.jpg

3、vi ifcfg-eth0,修改如下

      ip.jpg

4、/etc/init.d/network restart,重启网卡

发表评论:

Powered By Z-BlogPHP 1.6.7 Valyria