这个脚本用于在新安装的 Debian 系统上进行基本配置和软件安装。 PS: 不保证通用性。
一定一定使用root账户执行以下命令
curl -fsSL https://github.com/MingriLingran/debain-init/raw/refs/heads/main/init.sh | bash中国使用gh代理
curl -fsSL https://gh.llkk.cc/https://github.com/MingriLingran/debain-init/raw/refs/heads/main/init.sh | bash使用docker
docker pull linranqwq/debian-init:latest
docker run -d debian-init
docker exec -it debian-init zsh- 自动设置ssh,默认22端口,(默认关闭密码登录)使用公钥登录
- 自动设置hostname,自行填写
- 创建用户账户,自行填写
- 根据地区更该系统镜像源