/vps-setup

Useful scripts for vps management

Primary LanguageShell

vps setup

Useful scripts for vps management

nginx_install.sh

install nginx 1.21.3 with TLS1.3 & WAF & io_uring support

use it as follow:

curl https://raw.githubusercontent.com/ShadowySpirits/vps-setup/master/nginx_install.sh | sudo bash

parameter

  • --with-vod            : add nginx-vod-module
  • --enable-mkv       : enable mkv support for nginx-vod-module (experimental function)
  • --with-waf            : add lua waf
  • --enable-iouring   : use io_uring instead of aio, need linux kernel 5.1+
  • --no-service         : disable creating service automatically

build docker image

wget https://raw.githubusercontent.com/ShadowySpirits/vps-setup/master/nginx.Dockerfile
docker build -t my_nginx:v1.21.3 -f nginx.Dockerfile .

deluge_install.sh

install deluge and deluge-webui

use it as follow:

curl https://raw.githubusercontent.com/ShadowySpirits/vps-setup/master/deluge_install.sh | sudo bash

get_gfwlist.sh

download gfw domain list

use it as follow:

curl https://raw.githubusercontent.com/ShadowySpirits/vps-setup/master/get_gfwlist.sh | bash