首页 > 其他分享 >wsl中更换清华镜像源

wsl中更换清华镜像源

时间:2023-05-10 09:45:30浏览次数:43  
标签:清华 universe restricted jammy wsl ubuntu 镜像 main multiverse

>sudo nvim /etc/apt/sources.list

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse # # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse # deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse # 预发布软件源,不建议启用 # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse # # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse

ubuntu | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror

标签:清华,universe,restricted,jammy,wsl,ubuntu,镜像,main,multiverse
From: https://www.cnblogs.com/dogingate/p/17387068.html

相关文章

  • npm、yarn镜像源管理器nrm、yrm
    nrm和yrm是npm和yarn的镜像源管理器。它们可以对镜像源进行测速、切换、查看镜像源列表等操作。可以更好的管理npm和yarn的镜像源。例如我想使用腾讯的npm镜像源,则只需要使用nrmusetencent一条命令即可。安装镜像源管理器记得全局安装npminrm-gnpmiyrm-g安装完毕......
  • Dockerfile、常用和不常用命令、dockerfile构建一个djagno项目、docker私有仓库、镜像
    目录1Dockerfile1.1常用和不常用命令1.2dockerfile构建一个djagno项目2docker私有仓库2.1镜像传到官方仓库2.2镜像分层2.3私有仓库搭建3dockercompose介绍4dockercompose部署flask+redis项目4.1新建flask项目app.py4.2编写Dockerfile--》用于构建flask项目的镜像4.3......
  • drone CI工具实现外部配置文件拉取私有镜像
    drone:image:drone/droneenvironment:-DRONE_GITEA_SERVER=http://xxx:13000-DRONE_GITEA_CLIENT_ID=a2a16b95-4ea4-43ff-a3da-b18260acd8b0-DRONE_GITEA_CLIENT_SECRET=gto_dt3xg3jcgcscift4mdhtqljzhb7qphsc3doalve5w55bpllvrp4a......
  • [docker]mysql的docker镜像中docker-entrypoint-initdb.d目录的妙用
    docker-entrypoint-initdb.d是Docker官方MySQL镜像中的一个目录,用于初始化数据库。在该目录下,可以放置一些SQL脚本文件,MySQL会在容器启动时自动执行这些脚本文件,用于创建用户、创建数据库、创建表等操作。具体来说,当MySQL镜像启动时,其entrypoint.sh脚本会检查是否存在......
  • (转)wsl2改用户名 亲测有效
    改用户名1.先关闭WSL2powershell中输入:(在ps中操作简单多了,不会出现进root用户文件关不掉的情况)wsl--shutdown2.配置默认登录用户为rootpowershell中输入:ubuntu2004config--default-userroot3.修改用户名打开WSL,进入Ubuntu,将原始用户名(talkweb)修改为新用户名(......
  • REHL-9配置清华源
    #清华源地址https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/[[email protected]]#catcentos.repo[baseos]name=CentOSStream$releasever-BaseOS#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=Bas......
  • 操作系统镜像文件大全(ISO)
    关键字:操作系统镜像文件大全(ISO)下面是操作系统的镜像文件下载地址,希望能对大家提供帮助,谢谢:http://hi.baidu.com/eastenh/blog/item/0dba8d10545dc36bca80c4ca.html......
  • leveldb无法在wsl1中使用
    1、WSL1不支持FUSE文件系统,因此无法在WSL1中直接使用LevelDB。LevelDB使用FUSE来提供基于文件的存储,因此在WSL1中无法正常运行。但是,您仍然可以在WSL1上使用Leveldb的API,只需将数据存储在本地文件系统中即可。这意味着您需要使用本地Windows文件系统或其他支持......
  • mysql镜像仓库地址
    mysql镜像仓库地址https://hub.docker.com/_/mysql?tab=tags 先谋生,再谋爱......
  • Ubantu20.4 换源:apt-get 软件更新镜像源
    参考地址:点击这里TRANSLATEwithxEnglishArabicHebrewPolishBulgarianHindiPortugueseCatalanHmongDawRomanianChineseSimplifiedHungarianRussianChineseTraditionalIndonesianSlovakCzechItalianSlovenianDanishJapaneseSp......