因为是虚拟机下使用,下载虚拟机专用的镜像
https://alpinelinux.org/downloads/ Virtual板块下载86_64镜像
当前 http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-virt-3.12.1-x86_64.iso
创建虚拟机 当前alpine内核是5.4,虚拟机创建及初始化过程略过
apk update && apk upgrade && apk add sudo nano
下载并安装smartdns from https://github.com/pymumu/smartdns
cd /tmp wget https://github.com/pymumu/smartdns/releases/download/Release46.1/smartdns.1.2025.03.02-1533.x86_64-linux-all.tar.gz cn wget https://ghproxy.net/https://github.com/pymumu/smartdns/releases/download/Release46.1/smartdns.1.2025.03.02-1533.x86-linux-all.tar.gz tar xvf smartdns.1.2025.03.02-1533.x86-linux-all.tar.gz && cd smartdns && chmod +x ./install && mkdir…