ubuntu replace domestic image

  1. backup

     cd 	/etc/apt
     cp sources.list sources.list.bakup
    
  2. Modify the source to Tsinghua source

     sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' sources.list
    
  3. Update software source

     apt-get update
    
  4. Other sources are as follows:

    mirrors.ustc.edu.cn University of Science and Technology of China
    mirrors.163.com 163
    mirrors.aliyun.com Alibaba Cloud

Guess you like

Origin blog.csdn.net/qq_50247813/article/details/134735351