暫無描述

kotoyuuko 721b778683 fix: apt auto install 6 月之前
scripts bc08f7d4bc feat: init 6 月之前
01_server_init.sh 721b778683 fix: apt auto install 6 月之前
02_install_nginx.sh bc08f7d4bc feat: init 6 月之前
03_install_docker.sh bc08f7d4bc feat: init 6 月之前
04_allow_cloudflare.sh 721b778683 fix: apt auto install 6 月之前
05_nginx_snippets.sh be450666e6 feat: nginx snippets 6 月之前
README.md bc08f7d4bc feat: init 6 月之前

README.md

Debian Server Init


Reinstall Debian

curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
chmod +x debi.sh
./debi.sh \
    --version 13 \
    --architecture amd64 \
    --cloudflare \
    --user username \
    --authorized-keys-url https://github.com/username.keys \
    --ssh-port 22 \
    --bbr
reboot

Init New Server

apt update
apt install -y git
git clone https://github.com/kotoyuuko/debian-server-init
cd debian-server-init
chmod +x *.sh
./01_server_init.sh 22 8G
./02_install_nginx.sh your-domain.com
./03_install_docker.sh
./04_allow_cloudflare.sh