Administrator
发布于 2024-06-13 / 35 阅读
0
0

指令集

流媒体解锁

bash <(curl -L -s media.ispvps.com)

xui

bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)

bbr一键脚本

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh

snell

wget -O snell.sh --no-check-certificate https://git.io/Snell.sh && chmod +x snell.sh && ./snell.sh

Superbench

wget -qO- git.io/superbench.sh | bash

Speedtest

bash <(curl -Lso- https://down.wangchao.info/sh/superspeed.sh)

Routetrace

wget -qO- git.io/besttrace | bash

Surge的DNS设置

dns-server = 223.5.5.5, 119.29.29.29

encrypted-dns-server = quic://dns.alidns.com

hijack-dns = 8.8.8.8:53, 8.8.4.4:53

Worker cf

ae571f7c-5aab-463d-b5d9-d5287e11029f

端口放行

iptables -I INPUT -p tcp --dport 12345 -j ACCEPT

Namesilo key

0f99a603b7d021286aef0

cloudflare api key

wMiCyog6f0tOBHEiMuS3aAf7Ns5qJli35rnahM12

c0e4a3fe69c360d31da0beed601551ca0846c

阿里云 access key

ID: LTAI5t83Fp4AqG896V4EEqU6

Secret: LjfTWtRs90YzjerQuvxNe0FsTzOyYH

Nexttrace

curl nxtrace.org/nt |bash

国内哪吒

curl -L https://cdn.jsdelivr.net/gh/naiba/nezha@master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo CN=true ./nezha.sh

systemctl daemon-reload

systemctl enable nezha-agent

systemctl restart nezha-agent

nyapass删除指令

如需卸载,请运行以下命令:

systemctl disable --now nyanpass

rm -rf /opt/nyanpass

rm -f /etc/systemd/system/nyanpass.service

bash /opt/nyanpass.uninstall.sh

国内镜像

github.ustc.gay

DDNS-GO

docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go -l :9876 -f 600

curl https://raw.githubusercontent.com/aipeach/cloudflare-api-v4-ddns/master/cf-v4-ddns.sh > /root/cf-v4-ddns.sh && chmod +x /root/cf-v4-ddns.sh

Hinet nat ddns go

docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go -l :18101 -f 600

docker run -d --name ddns-go --restart=always --net=host  jeessy/ddns-go -l :9876

locate -b -i "*ddns_go_config.yaml*"

Warp v4入口

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh 4

docker装emby

docker pull emby/embyserver

docker run -d --name emby-server -p 8096:8096 -p 8920:8920 -v /srv/emby/config:/config -v /media/emby:/data emby/embyserver

arm64架构(oracle)

docker run -d --name emby -p 8096:8096 -p 8920:8920 -v /home/ubuntu/emby/config:/config -v /home/ubuntu/emby/data:/data emby/embyserver_arm64v8

Rclone

rclone mount baidu: /media/baidu --allow-other --vfs-cache-mode writes

rclone mount baidu:/ /home/baidu --allow-other --vfs-cache-mode writes

Frp

wget https://gitee.com/mvscode/frps-onekey/raw/master/install-frps.sh -O ./install-frps.sh

chmod 700 ./install-frps.sh

./install-frps.sh install

./frpc -c frpc.ini

nohup ./frpc -c frpc.ini >/dev/null 2>&1 &

upbed

https://dimg04.tripcdn.com/images/0Z03j424x8unni2a5031B.jpg

docker run -d --name=frpc --restart=always -v /root/frpc/frpc.ini:/frp/frpc.ini stilleshan/frpc

融合怪

bash <(wget -qO- ecs.0s.hk)

哪吒国内镜像源

githubfast.com

emby and jellyfin

docker pull jellyfin/jellyfin:latest  # or docker pull ghcr.io/jellyfin/jellyfin:latest

mkdir -p /srv/jellyfin/{config,cache}

docker run -d -v /srv/jellyfin/config:/config -v /srv/jellyfin/cache:/cache -v /media:/media --net=host jellyfin/jellyfin:latest

docker pull emby/embyserver

docker run -d --name emby -p 8096:8096 -p 8920:8920 -v /srv/emby/config:/config -v /media/emby:/data emby/embyserver

mount -t davfs http://webdav.itorin.love:5244/dav/baidu/emby /media/data/alist

halo docker

docker run -it -d --name halowall -p 8091:8091 -v ~/.halo2:/root/.halo2 halohub/halo:2.16

halo docker compose

version: "3"

services:
  halo:
    image: registry.fit2cloud.com/halo/halo:2.16
    restart: on-failure:3
    volumes:
      - ./halo2:/root/.halo2
    ports:
      - "8090:8090"
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness"]
      interval: 30s
      timeout: 5s
      retries: 5
      start_period: 30s          
    command:
      # 外部访问地址,请根据实际需要修改
      - --halo.external-url=http://localhost:8090/

calibre-web

docker run -d \
  --name=calibre-web \
  -e PUID=0 \
  -e PGID=0 \
  -e TZ=Etc/UTC \
  -e DOCKER_MODS=linuxserver/mods:universal-calibre `#optional` \
  -e OAUTHLIB_RELAX_TOKEN_SCOPE=1 `#optional` \
  -p 8083:8083 \
  -v /home/data:/config \
  -v /home/library:/books \
  --restart unless-stopped \
  lscr.io/linuxserver/calibre-web:latest

xui手动安装

cd /root/
rm x-ui/ /usr/local/x-ui/ /usr/bin/x-ui -rf
tar zxvf x-ui-linux-amd64.tar.gz
chmod +x x-ui/x-ui x-ui/bin/xray-linux-* x-ui/x-ui.sh
cp x-ui/x-ui.sh /usr/bin/x-ui
cp -f x-ui/x-ui.service /etc/systemd/system/
mv x-ui/ /usr/local/
systemctl daemon-reload
systemctl enable x-ui
systemctl restart x-ui


评论