No description
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| scripts | ||
| 01_server_init.sh | ||
| 02_install_nginx.sh | ||
| 03_install_docker.sh | ||
| 04_allow_cloudflare.sh | ||
| 05_nginx_snippets.sh | ||
| 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