[Openwrt]一步一步搭建MT7981A uboot、atf、openwrt-21.02开发环境操作说明

安装ubuntu-18.04

软件安装包

ubuntu-18.04-desktop-amd64.iso

修改ubuntu管理员密码

 sudo passwd
[sudo] password for w1804: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully

更新ubuntu源

备份源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

添加新的阿里源

将以下内容添加到sources.list文件

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bioni

你可能感兴趣的:(linux)