All of the following information is based on go version go1.17.1 darwin/amd64
.
GOOS | Out of the Box |
---|---|
aix |
✅ |
android |
✅ |
#!/usr/bin/env dash | |
# | |
# SPDX-License-Identifier: Unlicense | |
# | |
CC=clang | |
LD=ld.lld | |
STRIP=llvm-strip | |
# -fuse-ld= tells compiler to use specific linker above |
# Download Alpine Linux and install it on disk
cd /
wget https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86_64/alpine-virt-3.16.2-x86_64.iso
## Backup the current vps 备份当前vps | |
1. Clean Arch system 清理系统 | |
pacman -Scc | |
2. Create an excluded file to exclude certain dirs 建立一个需要排除的目录的文件,这些文件不必要备份,新系统会自动生成 | |
cat /root/backup/exclude.txt | |
/tmp/* | |
/root/backup/* | |
/proc | |
/dev |