码迷,mamicode.com
首页 > 其他好文 > 详细

centos7 安装尝鲜网络配置

时间:2014-08-14 17:05:20      阅读:255      评论:0      收藏:0      [点我收藏+]

标签:网络   密码   

重点是4.网络配置 很多人网络都搞不来,这里上图了

 

  1. 时区设置

 

bubuko.com,布布扣

 

 

 

2. 分区设置--基本没啥好说的选择XFS 尝鲜

bubuko.com,布布扣

 

3.密码设置基本不用说

bubuko.com,布布扣

 

 

 

 

4.网络配置这个是关键

修改虚拟机配置文件添加ethernet0.virtualDev = "e1000"这样VMware的网卡就变成了Intel的1000M网卡了

 

 bubuko.com,布布扣

 

 

6.

 

[root@mail ~]# ifconfig
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.238  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::20c:29ff:fe5f:3935  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:5f:39:35  txqueuelen 1000  (Ethernet)
        RX packets 3278  bytes 207860 (202.9 KiB)
        RX errors 0  dropped 7  overruns 0  frame 0
        TX packets 179  bytes 20872 (20.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 12  bytes 1032 (1.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1032 (1.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@mail ~]# cd /etc/sysconfig/network-scripts/
[root@mail network-scripts]# ls
ifcfg-eno1677736  ifdown-bnep  ifdown-ipv6  ifdown-ppp     ifdown-Team      ifup          ifup-eth   ifup-isdn   ifup-post    ifup-sit       ifup-tunnel       network-functions
ifcfg-lo          ifdown-eth   ifdown-isdn  ifdown-routes  ifdown-TeamPort  ifup-aliases  ifup-ippp  ifup-plip   ifup-ppp     ifup-Team      ifup-wireless     network-functions-ipv6
ifdown            ifdown-ippp  ifdown-post  ifdown-sit     ifdown-tunnel    ifup-bnep     ifup-ipv6  ifup-plusb  ifup-routes  ifup-TeamPort  init.ipv6-global


[root@mail network-scripts]# cat ifcfg-eno1677736
TYPE=Ethernet
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.238
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

 

[root@mail network-scripts]# ping g.cn
PING g.cn (203.208.49.176) 56(84) bytes of data.
64 bytes from 203.208.49.176: icmp_seq=1 ttl=55 time=50.0 ms
64 bytes from 203.208.49.176: icmp_seq=2 ttl=55 time=50.0 ms
64 bytes from 203.208.49.176: icmp_seq=3 ttl=55 time=50.1 ms

本文出自 “steven 业精于勤荒于嬉..” 博客,请务必保留此出处http://steven2.blog.51cto.com/855881/1539815

centos7 安装尝鲜网络配置,布布扣,bubuko.com

centos7 安装尝鲜网络配置

标签:网络   密码   

原文地址:http://steven2.blog.51cto.com/855881/1539815

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!