debain8-11 alpine 3.7 aliyun
echo "
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib">/etc/apt/sources.list
debian11
echo '
# deb http://snapshot.debian.org/archive/debian/20210621T000000Z buster main
deb http://mirrors.aliyun.com/debian buster main
# deb http://snapshot.debian.org/archive/debian-security/20210621T000000Z buster/updates main
deb http://mirrors.aliyun.com/debian-security buster/updates main
# deb http://snapshot.debian.org/archive/debian/20210621T000000Z buster-updates main
deb http://mirrors.aliyun.com/debian buster-updates main'>/etc/apt/sources.list
debain10
deb http://mirrors.aliyun.com/debian stretch main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free
deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
debian9
echo '
deb http://mirrors.aliyun.com/debian stretch main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free
deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
echo '
deb http://mirrors.aliyun.com/debian jessie main contrib non-free
deb-src http://mirrors.aliyun.com/debian jessie main contrib non-free
deb http://mirrors.aliyun.com/debian jessie-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian jessie-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security jessie/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security jessie/updates main contrib non-free
echo "https://mirrors.aliyun.com/alpine/v3.7/main/" > /etc/apk/repositories
echo "https://mirrors.aliyun.com/alpine/v3.7/community/" >> /etc/apk/repositories
apk update
apk add xxxx
apk info #查看已安装的包
apk info -a xxxx #查看安装包的路径
apk add openjdk8
java dump内存
/usr/lib/jvm/java-1.8-openjdk/bin/jmap -dump:live,format=b,file=./heap.dump xxxx