>>> 宇明首页| 新闻综合 | 正见新知 | 软件下载 | 影音美文 | 技术参考 | 论坛 |

*宇明旧版

闪画 雅乐 视频 九评三退 沧桑正道 其他热点 民主人权 万象大千 神传文化 软件下载

美文 笑谈 好书 秘闻内幕 天象人间 轮回漫谈 神奇预言 史前文明 科学新见 技术参考

热点新闻排行

机场用户“碰撞到了审计规则”的解决办法

新手入门:如何将域名解析托管在cloudflare

解决233blog网站v2ray一键安装脚本屏蔽网站

经验分享:如何让tor browser借助v2ray翻墙

翻墙参考:扫盲 VPN Gate——分布式的 VPN

翻墙参考:自由门搭配v2ray翻墙 访问动态网

翻墙参考:自由门搭配SSR翻墙 看动态网稳定

新手入门:在cloudflare网站开通workers功

解决233blog网站v2ray一键安装脚本屏蔽网站

分享:翻墙学习与关注

针对近期封锁严重的解决办法

翻墙辅助:Debian9环境下wireguard一键安装

翻墙参考:真正意义上的加速:利用cloudfla

解决233blog网站v2ray一键安装脚本屏蔽网站

翻墙参考:自由门搭配Hysteria使用

一款讽刺江蛤蟆的代理NaiveProxy 安全高速

教程:自由门如何搭配Trojan客户端使用

免费SSR节点比较多时 应该如何设置快速找到

脚本介绍:一键安装ss+kcptun

魔改版BBR一键脚本 For Debian8/Ubuntu16+

翻墙参考:Tor利用obfsproxy破网(增添本地

翻墙备用:获取免费tunsafe vpn节点翻墙

自由门三种通道简明使用教程

翻墙参考:混淆加密SSH代理如何实现多重代

翻墙参考:整机隔离方案之赛风搭配无界

翻墙辅助:访问爬虫网站 获取免费SSR节点

翻墙辅助:为SS代理流量披上隐形斗篷 cloak

翻墙参考:双机配合ccproxy规避ssh和vpn客

翻墙参考:简单扫盲I2P 的使用

翻墙参考:影梭搭配自由门

翻墙参考:自主搭建ssr(ShadowsocksR)服务

翻墙参考:使用vpn配合翻墙软件破网

破网方法集锦(10.7日更新)

翻墙参考:ssh代理配合自由门突破封锁

网友新发现:恢复自由门F4通道的好办法

 
您的位置:主页>技术参考>突破封锁>列表

小白折腾大鹅dae笔记(7):更换软件源、更新系统软件包

文章出处:网友投稿 发布时间:2024-02-02 作者: 点击:

 
【宇明网】

1.使用ssh登录软件(比如xshell)登录已开机的Debian虚拟机

2.连接成功后,输入执行nano /etc/apt/sources.list编辑sources.list文件,删掉原来的内容,然后选择一个国内软件源粘贴进去,然后ctrl+o并回车保存,ctrl+x退出。

把sources.list中原来的内容删除


从以下国内软件源中挑选一个复制粘贴进去即可,我这里以阿里云软件源为例



国内比较知名的几个软件镜像源:

# 阿里云镜像站(该行内容不需要复制)
deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib

# 腾讯云镜像站(该行内容不需要复制)
deb https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.tencent.com/debian-security/ bookworm-security main
deb-src https://mirrors.tencent.com/debian-security/ bookworm-security main
deb https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib

# 网易镜像站(该行内容不需要复制)
deb https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.163.com/debian-security/ bookworm-security main
deb-src https://mirrors.163.com/debian-security/ bookworm-security main
deb https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib

# 华为镜像站(该行内容不需要复制)
deb https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
deb-src https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
deb https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib

# 清华大学镜像站(该行内容不需要复制)
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware

# 中科大镜像站(该行内容不需要复制)
deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware


3.更换软件源并退出nano后,在命令行中输入执行 apt update && apt install  curl  sudo  -y 更新系统的软件包列表及安装curl软件。


宇明固定域名 http://yuming.qxbbs.org

[读者投稿与反馈(欢迎留言!)] [返回顶部↑]

相关文章:
 

小白折腾大鹅dae笔记(7):更换软件源、更新系统软件包

小白折腾大鹅dae笔记(6):开启root远程登录及修改为固定ip

小白折腾大鹅dae笔记(5):在虚拟机上安装debian(四)

小白折腾大鹅dae笔记(4):在虚拟机上安装debian(三)

小白折腾大鹅dae笔记(3):在虚拟机上安装debian(二)

小白折腾大鹅dae笔记(2):在虚拟机上安装debian(一)

小白折腾大鹅dae笔记(1):下载debian

翻墙了解:内核级高性能透明代理工具dae-大鹅

在Windows上使用虚拟机实现openwrt软路由

端口跳跃加负载均衡 科技与狠活解决Hysteria2断流问题

[ 关 闭 本 页 ]


请使用IE5.0 以上 最佳分辨率1024*768
Copyright(C)2003-2008 YuMing site all rights reserved.
版权所有: 宇明小站 Copyright (C)2003-2008 ,保留全部权利 ,欢迎转载!
特别声明:本站新闻只代表文章作者的观点和陈述