美文网首页
debian源配置

debian源配置

作者: 查看更多详情 | 来源:发表于2020-03-09 16:34 被阅读0次

debian系统安装过程中会提示选择区域的源。一般选择完安装好系统就不需要再修改了。如若需要切换那就需要编辑/etc/apt/sources.list文件。

以清华镜像源为例,提供了各个版本可供选择和切换,很方便。


如下是debian的testing版源

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ testing main contrib non-free

# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ testing main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ testing-updates main contrib non-free

# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ testing-updates main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ testing-backports main contrib non-free

# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ testing-backports main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian-security testing-security main contrib non-free

# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security testing-security main contrib non-free

很多时候我们直径安装的debian的testing版的iso,在安装完查看源的时候,源里面并不像上面那样显示的是testing,而是当前已发部的稳定版版本的下一个版本的代号。

如下是debian的sid版,sid版名字永远都是sid!!!

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ sid main contrib non-free

# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ sid main contrib non-free

相关文章

  • Centos一键配置Web服务器环境

    安装步骤 注意 1. apt或者yum源必须配置好,参考:《CentOS、Ubuntu、Debian依赖源配置》[...

  • debian源配置

    debian系统安装过程中会提示选择区域的源。一般选择完安装好系统就不需要再修改了。如若需要切换那就需要编辑/et...

  • 修改debian9 stretch源

    修改debian9 stretch源 修改配置文件/etc/apt/sources.list 修改成163源: 修...

  • debian 配置php xdebug

    1 安装debian系统(仅需要命令行就行)加载网络安装镜像 断网安装 2 debian的源配置 mirros.1...

  • LNMP开发环境个人配置

    这里选用 debian 8 作为OS. 1.创建基础用户并配置用户权限 2.配置apt源 由于____的原因,国内...

  • mongodb学习

    1 安装 1.1 debian a 导入公钥 b 添加软件源Debian 8 ‘Jessis’ Debian 9 ...

  • Linux软件安装方法

    debian 在Ubuntu系统下可以很方便的使用apt install命令来安装需要的软件,但是需要配置软件源,...

  • CentOS、Ubuntu、Debian依赖源配置

    原文链接:https://oneinstack.com/faq/yum-apt/[https://oneinsta...

  • nginx安装、编译参数及配置变量

    目录 安装配置1.使用包管理工具在Debian、Ubuntu下在RedHat 、CentOS 下在mac下2. 源...

  • 树莓派替换更新源

    一、Raspbian源 查看树莓派默认的源,发现使用的是debian9的源,因此我们可以直接替换位debian9的...

网友评论

      本文标题:debian源配置

      本文链接:https://www.haomeiwen.com/subject/hhvpdhtx.html