切换Ubuntu20TLS源

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

sudo vim /etc/apt/sources.list

 1 deb http://mirrors.aliyun.com/ubuntu/ focal main restricted
 2 deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted
 3 deb http://mirrors.aliyun.com/ubuntu/ focal universe
 4 deb http://mirrors.aliyun.com/ubuntu/ focal-updates universe
 5 deb http://mirrors.aliyun.com/ubuntu/ focal multiverse
 6 deb http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse
 7 deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
 8 deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted
 9 deb http://mirrors.aliyun.com/ubuntu/ focal-security universe
10 deb http://mirrors.aliyun.com/ubuntu/ focal-security multiverse

sudo apt-get update

sudo apt-get upgrade

 

安装软件

sudo apt-get install net-tools

sudo apt-get install ssh

sudo apt-get install build-essential

安装golang-go : https://github.com/golang/go/wiki/Ubuntu

相关文章:

  • 2021-09-23
  • 2021-04-01
  • 2021-07-25
  • 2021-12-21
  • 2021-05-09
  • 2021-08-14
  • 2021-09-01
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-11-29
  • 2021-06-10
相关资源
相似解决方案