Alpine Linux是一个由社区开发的Linux操作系统,该操作系统以安全为理念,面向x86路由器、防火墙、虚拟专用网、IP电话盒及服务器而设计。
Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.
替换镜像源
使用sed命令替换
1 | sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories |
或者使用下面文本替换
1 | http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/main |
恢复
1 | http://dl-cdn.alpinelinux.org/alpine/v3.12/main |
相关链接
- https://developer.aliyun.com/mirror/alpine
- https://mirrors.tuna.tsinghua.edu.cn/help/alpine/
- 【国内镜像】Alpine 3.10 阿里云镜像
- 【国内镜像】Alpine 3.11 阿里云镜像
- 【国内镜像】Alpine 3.12 阿里云镜像
- 【国内镜像】Alpine 3.10 清华镜像
- 【国内镜像】Alpine 3.11 清华镜像
- 【国内镜像】Alpine 3.12 清华镜像