常用脚本

vps性能测试脚本

curl -sL yabs.sh | bash

国内测速脚本

bash <(curl -Lso- https://git.io/superspeed_uxh)

Docker安装脚本

curl -fsSL https://get.docker.com | bash

Rclone安装脚本

curl https://rclone.org/install.sh | sudo bash

锐速,bbr

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

网页speedtest

(1).安装docker
curl -sSL https://get.docker.com/ | sh
systemctl start docker
systemctl enable docker
(2).拉取镜像
docker pull badapple9/speedtest-x
(3).运行
docker run -d -p 8080:80 -it badapple9/speedtest-x

百度云docker

docker pull johnshine/baidunetdisk-crossover-vnc:latest
docker run -d -p <your vnc port>:5901 -p <your web port>:6080 -e vnc_password=<your password> -v <your download path>:/home/baidu/baidunetdiskdownload/ johnshine/baidunetdisk-crossover-vnc:latest
docker run -d -p 5901:5901 -p 6080:6080 -e vnc_password=<your password> -v /www/wwwroot/cloud.honus.top/baidudownload:/home/baidu/baidunetdiskdownload/ johnshine/baidunetdisk-crossover-vnc:latest

测速,跑分合集

wget git.io/vpstest && bash vpstest

nvm安装node

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install node
nvm use node

n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local

transmission docker

---
version: "2.1"
services:
  transmission:
    image: ghcr.io/linuxserver/transmission
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - TRANSMISSION_WEB_HOME=/transmission-web-control/ #optional
      - USER=honus #optional
      - PASS=XXXXXXXXXXX #optional
      - HOST_WHITELIST=dnsnane list #optional
    volumes:
      - /tran/config:/config
      - /tran/download:/downloads
      - /tran/torrent:/watch
    ports:
      - 9091:9091
      - 51413:51413
      - 51413:51413/udp
    restart: unless-stopped

qbittorrent docker

version: "2.1"
services:
  qbittorrent:
    image: ghcr.io/linuxserver/qbittorrent
    container_name: qbittorrent
    environment:
          - PUID=1000
          - PGID=1000
          - TZ=Europe/London
          - WEBUI_PORT=8080
    volumes:
          - /test/qb:/config
          - /test/download:/downloads
    ports:
          - 55736:7891
          - 55736:7891/udp
          - 8080:8080
    restart: unless-stopped

赞 (0)

评论区

发表评论

暂无评论,要不来一发?

回到顶部