alpinelinux安装

alpinelinux

系统资源占用少

安装

1
2
3
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
bash InstallNET.sh -alpine
reboot

ssh的登陆信息:

1
2
3
ssh 端口:22
用户名:root
密码:LeitboGi0ro

/etc/ssh/sshd_config中修改

1
2
3
Port *
PermitRootLogin yes
PasswordAuthentication yes

修改密码passwd root

开启BBR3

1
2
3
4
5
6
7
cat > /etc/sysctl.conf << EOF

net.core.default_qdisc=fq_pie

net.ipv4.tcp_congestion_control=bbr

EOF

来源

更新alpinelinux

1
2
3
4
5
6
# 查看当前版本
cat /etc/alpine-release
setup-apkrepos
apk update
apk add --upgrade apk-tools
apk upgrade --available

来源