下载系统镜像
http://mirrors.ustc.edu.cn/ubuntu-cdimage/releases/18.04.4/release/ubuntu-18.04.4-preinstalled-server-armhf%2Braspi4.img.xz
镜像写入 SD 卡
https://ubuntu.com/tutorials/create-an-ubuntu-image-for-a-raspberry-pi-on-macos#2-on-your-macos-machine
在 SD 卡创建名为 SSH 的空白文件
连接电源,开机,网线连接树莓派,在路由器管理页面查看树莓派 IP
ssh ubuntu@, 默认密码是 ubuntu
配置无线网络
配置时间
xxxxxxxxxxsudo timedatectl set-timezone Asia/Shanghai
xxxxxxxxxx
sudo timedatectl set-timezone Asia/Shanghai
设置开启启动的定时任务
xxxxxxxxxxcrontab -e
crontab -e
添加:
xxxxxxxxxx@reboot /home/ldd/shutils/binddomain
@reboot /home/ldd/shutils/binddomain
source from ldd