zoukankan      html  css  js  c++  java
  • 在虚拟机上安装树莓派系统

    无意中在官网发现这个可以把树莓派的操作系统安装到虚拟机,这是个能安装在PC上的树莓派系统。估计是官方想推广树莓派,先把树莓派系统推出让大家可以在PC上体验(瞎猜的)。不管出于什么原因,本着折腾的想法,装一个试试呗。

    安装环境

    操作系统:Windows 10

    虚拟机:VMware 11.1.0

    安装步骤

    1、下载Raspbian pi Desktop镜像

    下载地址:https://www.raspberrypi.org/downloads/

     
     
     

    建议选择Torrent的方式下载,因为官方的资源下载起来很慢。下载到的是一个iso文件,我们可以直接拿这个iso文件放入虚拟机安装。

    2、新建虚拟机

    打开虚拟机,点击菜单:文件--->新建虚拟机

     
     
     
     
     
     

    浏览选择刚才下载的镜像,点下一步。

     
     

    我们下载的系统是基于32位 debian 8的,但是我在下面版本找不到debian 8的选项,先选个7.x试试(测试下Debian 5也是可以的)。

     
     

    名称随意,保存位置随意,但是保证所在磁盘有足够的空间,最好超过8G的空闲空间。

     
     

    处理器数量跟核心数量影响不大,毕竟树莓派系统对硬件要求并不高。

     
     

    内存512MB或1024MB,树莓派3就是1024MB。

     
     

    网络连接随意,都能上网。

     
     
     
     
     
     
     
     
     
     

    将虚拟磁盘文件存储在虚拟机文件同个目录下。

     
     

    3、在虚拟机中安装系统

     
     

    确保CD/DVD载入了刚才下载的镜像。如果没有载入则点击编辑虚拟机设置。

     
     
     
     
     
     
     
     
     
     

    这里开始是设置磁盘分区,选择使用整个磁盘。

     
     

    选择刚才创建的虚拟硬盘。

     
     

    按推荐的方式,所有文件存放在一个分区。

     
     
     
     

    完成分区设置并将改变写入磁盘。至此,磁盘分区完成。接下来就是稍微长一点的安装过程,只有等。

     
     
     
     
     
     

    提示说请确保移除安装光盘。点continue继续,等待重启就完成了整个安装过程。

     
     

    重启后选择Debian GNU/Linux进入系统

     
     
     
     

    正常进入桌面。

     
     

    网络也是正常的。以后做一些测试也不一定非得登录到树莓派上,虚拟机也可以胜任并且运行速度更快。

    出处:https://www.jianshu.com/p/1a65cb0b8f58


    VMware虚拟机安装树莓派桌面系统Raspberry Pi Desktop (for PC and Mac)

    01、下载Raspberry Pi Desktop (for PC and Mac) https://www.raspberrypi.org/downloads/raspberry-pi-desktop/

    02、install

    03、Configure the keyboard : Chinese

    04、Partition disks : Guided - use entire disk

    05、Partition disks : SCSI ……

    06、Partition disks :  All files in one partition(recommended for new users)

    07、Partition disks :  Finish partitioning and write changes to disk

    08、Partition disks : Yes

    09、Install the GRUB boot loader on a hard disk :  Yes

    10、Install the GRUB boot loader on a hard disk : /dev/sda

    11、Finish the installation : Continue

    12、GNU GRUB : Debian GNU/LINUX

    13、Welcome to Raspberry Pi : Next

    14、Set Country : Country-China | Language-Chinese | Timezone-Shanghai 

    15、Change Password : ******

    16、Set Up Screen : next (不做选择)

    17、Update Software : Skip(如果选择Next则可能会报错)

    18、Setup Complete : Done

    01、下载Raspberry Pi Desktop (for PC and Mac) https://www.raspberrypi.org/downloads/raspberry-pi-desktop/

    02、install

    03、Configure the keyboard : Chinese

    04、Partition disks : Guided - use entire disk

    05、Partition disks : SCSI ……

    06、Partition disks :  All files in one partition(recommended for new users)

    07、Partition disks :  Finish partitioning and write changes to disk

    08、Partition disks : Yes

    09、Install the GRUB boot loader on a hard disk :  Yes

    10、Install the GRUB boot loader on a hard disk : /dev/sda

    11、Finish the installation : Continue

    12、GNU GRUB : Debian GNU/LINUX

    13、Welcome to Raspberry Pi : Next

    14、Set Country : Country-China | Language-Chinese | Timezone-Shanghai 

    15、Change Password : ******

    16、Set Up Screen : next (不做选择)

    17、Update Software : Skip(如果选择Next则可能会报错)

    18、Setup Complete : Done 

    出处:https://www.cnblogs.com/dukejunior/articles/11294698.html

  • 相关阅读:
    【巷子】:关于Apply、call、bind的详解
    关于this的指向问题
    SOA和微服务之间的区别
    业务系统如何微服务化
    微服务架构的理论基础
    每个架构师都应该研究下康威定律
    Rabbit MQ
    Scalability, Availability & Stability Patterns
    应用层协议
    SSO
  • 原文地址:https://www.cnblogs.com/mq0036/p/13272982.html
Copyright © 2011-2022 走看看