首页 > 系统相关 >rasberry install ubuntu note

rasberry install ubuntu note

时间:2023-01-19 21:55:36浏览次数:52  
标签:netplan sudo list apt note sources install ubuntu rasberry

1. flash ubuntu to SD

2. add wifi net 

  check hardware 

    

sudo lshw -C network

  

  sudo vi /etc/netplan/50-cloud-init.yaml

  edit as 

    

network:
    wifis:
        wlan0:
            dhcp4: true
            access-points:
                "wifi_name":
                    password: "wifipassword"        
    version : 2

  sudo netplan try

  sudo netplan apply  

 

3. replace apt source 

  cd /etc/apt

  cp sources.list sources.list.bak

  sudo -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' sources.list 

4. apt update 

  sudo apt update 

  

 

标签:netplan,sudo,list,apt,note,sources,install,ubuntu,rasberry
From: https://www.cnblogs.com/fundou/p/17062204.html

相关文章