在我过去的一篇帖子中,我展示了如何通过命令行将甲骨文Linux安装在Mac上的树莓派上。幸运的是,我的同事菲利普向我指出,由于Etcher,一个用于闪存SD卡和USB驱动器的开源工具,事情会容易得多。Etcher 可用于 Mac、Linux 和 Windows,它们应使以下步骤成为通用步骤。
tl;dr
下载最新的Oracle Linux 映像,用于 ARM
使用蚀刻器闪烁 SD 卡
将 SD 卡放入树莓派并启动
下载图像
$ wget http://download.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz
--2019-08-05 11:18:33-- http://download.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz
Resolving download.oracle.com... 184.26.156.34
Connecting to download.oracle.com|184.26.156.34|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz [following]
--2019-08-05 11:18:33-- https://edelivery.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz
Resolving edelivery.oracle.com... 23.56.112.136
Connecting to edelivery.oracle.com|23.56.112.136|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz?AuthParam=1565029233_d74a7c35436dbdf9509feabc32fdc0bf [following]
--2019-08-05 11:18:33-- http://download.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz?AuthParam=1565029233_d74a7c35436dbdf9509feabc32fdc0bf
Connecting to download.oracle.com|184.26.156.34|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz?AuthParam=1565029233_d74a7c35436dbdf9509feabc32fdc0bf [following]
--2019-08-05 11:18:33-- https://download.oracle.com/otn-pub/otn_software/linux/rpi3-ol7.6-image-20181116.img.xz?AuthParam=1565029233_d74a7c35436dbdf9509feabc32fdc0bf
Connecting to download.oracle.com|184.26.156.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 279309592 (266M) [text/plain]
Saving to: 'rpi3-ol7.6-image-20181116.img.xz'
rpi3-ol7.6-image-20181116.img.xz 100%[=================================================================================>] 266.37M 16.2MB/s in 16s
2019-08-05 11:18:49 (17.0 MB/s) - 'rpi3-ol7.6-image-20181116.img.xz' saved [279309592/279309592]
$
下载图像后,只需将 SD 卡插入 SD 读卡器并启动 Etcher。
接下来,通过单击 选择刚刚下载 Select image 的图像。您甚至不需要解压缩图像或类似内容