forked from SUSTech-CRA/ccse-mirrors-web
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
sidebarShare: true | ||
prev: false | ||
next: false | ||
--- | ||
|
||
# [Debian](/debian/) 镜像 | ||
|
||
## 介绍 | ||
|
||
[Debian](https://www.debian.org/) 是一个由社区支持的 Linux 发行版。 | ||
|
||
## 使用指南 | ||
|
||
首先,通过下面命令备份原本的配置。 | ||
|
||
``` sh | ||
sudo cp -a /etc/apt/sources.list /etc/apt/sources.list.bak | ||
``` | ||
|
||
其次,通过下面的命令将软件源换成本镜像站。 | ||
|
||
``` sh | ||
sudo sed -i 's/deb.debian.org/mirrors.sdust.edu.cn/g' /etc/apt/sources.list | ||
``` | ||
|
||
最后,通过下面命令刷新缓存。 | ||
|
||
``` sh | ||
sudo apt-get update | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters