ZeroTier虚拟局域网?内网穿透?树莓派4设置教程
Command (指令):
安裝zerotier
curl -s https://install.zerotier.com | sudo bash
sudo zerotier-cli join #替換NetworkID
# 開機後睡個30秒再啓動 zerotier
sudo vi /lib/systemd/system/zerotier-one.service
[Service]
ExecStartPre=/bin/sleep 30
sudo systemctl daemon-reload
sudo systemctl disable zerotier-one
sudo systemctl enable zerotier-one
MaixPy(Micro python)
(SSL)申請Let’s Encrypt-以Raspberry Pi為例
cd /usr/local/bin
wget https://dl.eff.org/certbot-auto
sudo ./certbot-auto –apache –domain=alltrue.dunhua.lifenet.com.tw
30 2 1 * * /usr/local/bin/certbot-auto renew –quiet