zhangjunlei26 / my-note

锁事小记
2 stars 0 forks source link

Alpine配置 #31

Open zhangjunlei26 opened 2 years ago

zhangjunlei26 commented 2 years ago

更新国内源

cp /etc/apk/repositories /etc/apk/repositories_ori sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories apk add curl

安装gcc

apk add gcc g++ make libffi-dev openssl-dev libtool apk add --update linux-headers

安装其它常用

apk add httpie