樹莓派安裝Ubuntu Server 19.01


1.連接wifi,在Ubuntu Server中使用netplan連接

# sudo vim /etc/netplan/50-cloud-init.yaml //末尾添加,注意縮進使用空格,wifis:前有縮進
wifis:
    wlan0:
        dhcp4: true
        access-points:
            "wlan-name":
                password: "password here" 
# sudo netplan --debug apply

2.樹莓派換源

# sudo sed -i 's/ports.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

3.開啟ssh

# sudo apt search openssh-server
# sudo apt install opessh-client openssh-server
# sudo dpkg-reconfigure openssh-server
# sudo service ssh restart
# sudo service ssh status
# sudo systemctl enable ssh


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM