[NVIDIA Jetson AGX Xavier developer kit]配置国内源

通过NVIDIA SDK Manager给板子装系统和开发环境,老是卡在远程下载环境,参考英伟达NVIDIA Jetson 系列 Xavier、TX2等系统换源

配置

配置清华源

  • 备份原先的配置文件
1
2
$ cd /etc/apt
$ cp sources.list sources.list_bak
  • 新建配置文件,添加清华源
1
2
3
4
5
6
7
8
9
10
11
$ vim sources.list
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security multiverse
  • 更新
1
$ sudo apt update

测试

  • 下载测试工具
1
$ sudo apt install httping
  • 延迟和丢包测试
1
$ httping http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/
坚持原创技术分享,您的支持将鼓励我继续创作!