Linux安装详解

环境准备

win7 ,VMware Workstation10

待安装Linux 版本

Asianux-7.3-rtm-x86_64 下载地址百度网盘地址.
提取码:8bjx

开始安装

1.打开VM2. 选择 创建新的虚拟机

这里我们选择典型安装这里我们选择 典型安装 点下一步
3.
在这里插入图片描述
在这里插入图片描述在这里插入图片描述这里点击自定义硬件
在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述这步完 了直接点关闭 ,跟着点完成
在这里插入图片描述
在这里插入图片描述在这里插入图片描述在这里插入图片描述点确定即可 如果自己使用默认设置,后面的关于Linux网络配置那一块可以忽略
在这里插入图片描述
在这里插入图片描述等待。。。 进入安装向导
在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述以上配置完成后 点击 bigen install 进入下图
在这里插入图片描述设置root密码
剩下的时间就是等待 安装完成
完成后重启进入
在这里插入图片描述创建一个自己的用户
在这里插入图片描述
打开网络
在这里插入图片描述

验证网络连接

打开终端输入 $ifconfig, 可以看到我们设置的ens33.

[test@localhost ~]$ ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.47.130  netmask 255.255.255.0  broadcast 192.168.47.255
        inet6 fe80::de65:dad5:3fcd:a8bc  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:e5:4e:a0  txqueuelen 1000  (Ethernet)
        RX packets 12783  bytes 18973783 (18.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5466  bytes 339809 (331.8 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 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:14:21:d4  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

接着输入 $ ping www.baidu.com

[test@localhost ~]$ ping www.baidu.com
PING www.a.shifen.com (220.181.38.149) 56(84) bytes of data.
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=3 ttl=128 time=15.8 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=5 ttl=128 time=95.6 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=6 ttl=128 time=129 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=7 ttl=128 time=135 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=8 ttl=128 time=123 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=9 ttl=128 time=37.9 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=10 ttl=128 time=33.7 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=11 ttl=128 time=21.5 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=12 ttl=128 time=128 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=13 ttl=128 time=148 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=14 ttl=128 time=14.0 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=15 ttl=128 time=13.8 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=16 ttl=128 time=15.2 ms
64 bytes from 220.181.38.149 (220.181.38.149): icmp_seq=17 ttl=128 time=56.1 ms
64 by

再ping 我们的主机

在这里插入图片描述
也能通 说明网络配置没有问题 至此 我们的红旗linux 安装完毕
小伙伴可以在上面愉快的玩耍了!

如果联网出现问题请参照下面

首先我们需要检查 我们的网络配置是否有问题,然后检查自己本地的防火墙
如果都没有问题 并且你选择的软件语言为中文 可以试试下面的办法
若果 ifconfig 没有对应的网卡信息 并且 network-scripts 文件夹中只有ifcfg-lo

在这里插入图片描述我们可以先关闭虚拟机 在虚拟机安装目录中找到Asianux7.vmx 在这个文件最后加入一行
ethernet0.virtualDev=“e1000”
然后重启虚拟机
再 终端输入 ifconfig 查看网络信息
以上的解决办法适用个例 。可以参照这篇文章

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值