“Download ubuntu-18.04 imx6ul qemu”的版本间的差异
来自百问网嵌入式Linux wiki
Zhouyuebiao(讨论 | 贡献) |
Weidongshan(讨论 | 贡献) |
||
| 第1行: | 第1行: | ||
{{DISPLAYTITLE:下载ubuntu-18.04_imx6ul qemu}} | {{DISPLAYTITLE:下载ubuntu-18.04_imx6ul qemu}} | ||
| − | * | + | *使用GIT clone方式下载 |
| − | : | + | :请在ubuntu终端下执行如下命令,直接在线克隆整个仓库 |
book@100ask:~$ git clone https://e.coding.net/weidongshan/ubuntu-18.04_imx6ul_qemu_system.git | book@100ask:~$ git clone https://e.coding.net/weidongshan/ubuntu-18.04_imx6ul_qemu_system.git | ||
| + | |||
| + | *如果使用GIT命令失败 | ||
| + | :有如下提示时 | ||
| + | fatal: Out of memory, malloc failed (tried to allocate 314572801 bytes) | ||
| + | fatal: index-pack failed | ||
| + | :先执行下列命令增加swap分区 | ||
| + | sudo dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 | ||
| + | sudo chmod 600 /root/myswapfile | ||
| + | sudo mkswap /root/myswapfile | ||
| + | sudo swapon /root/myswapfile | ||
| + | :然后修改/etc/fstab,增加如下一行 | ||
| + | /root/myswapfile swap swap defaults 0 0 | ||
2021年3月27日 (六) 14:30的版本
- 使用GIT clone方式下载
- 请在ubuntu终端下执行如下命令,直接在线克隆整个仓库
book@100ask:~$ git clone https://e.coding.net/weidongshan/ubuntu-18.04_imx6ul_qemu_system.git
- 如果使用GIT命令失败
- 有如下提示时
fatal: Out of memory, malloc failed (tried to allocate 314572801 bytes) fatal: index-pack failed
- 先执行下列命令增加swap分区
sudo dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 sudo chmod 600 /root/myswapfile sudo mkswap /root/myswapfile sudo swapon /root/myswapfile
- 然后修改/etc/fstab,增加如下一行
/root/myswapfile swap swap defaults 0 0