用到的脚本来自
  1. https://github.com/bohanyang/debi
复制代码


1. Download
Download the script with curl:
  1. curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh

  2. # for IPv6-only machines
  3. curl -fLO  --resolve 'raw.githubusercontent.com:443:2a04:4e42::133' https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
复制代码


  1. Run

Run the script under root or using sudo:

  1. chmod a+rx debi.sh
  2. sudo ./debi.sh --architecture arm64
复制代码


  1. Reboot

If everything looks good, reboot the machine:

  1. sudo shutdown -r now
复制代码



实测成功,新建实例时选的 ubuntu 20.4,非 mini 版