zimk's blog 清风徐来~

常用Linux命令汇总,不定期更新...

⚠️ 本文最后更新于2024年02月22日,已经过了272天没有更新,若内容或图片失效,请留言反馈

DD debian:

curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh && chmod a+rx debi.sh && ./debi.sh --install 'curl wget neofetch htop net-tools git' --timezone Asia/Shanghai --cloud-kernel --bbr --user root --password 123456 --authorized-keys-url https://github.com/zkysimon.keys && shutdown -r now

自建tg api:

apt-get update && apt-get upgrade && apt-get install make git zlib1g-dev libssl-dev gperf cmake g++ && git clone --recursive https://github.com/tdlib/telegram-bot-api.git && cd telegram-bot-api && rm -rf build && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr/local .. && cmake --build . --target install && cd ../.. && ls -l /usr/local/bin/telegram-bot-api* && telegram-bot-api --api-id=apiid --api-hash=apihash --local

warp-go:

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

caddy:

apt install -y debian-keyring debian-archive-keyring apt-transport-https && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list && apt update && apt install caddy

rclone:

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

aria2:

apt install -y wget curl ca-certificates
wget -N git.io/aria2.sh && chmod +x aria2.sh
./aria2.sh

docker:

curl -fsSL https://get.docker.com | sh && systemctl enable docker && systemctl start docker

小鸡测速:

wget -qO- bench.sh | bash

流媒体解锁测试:

wget -qO- https://github.com/yeahwu/check/raw/main/check.sh | bash

网页测速:

docker run -d --name speedtest --restart always -p 8989:8989 wjy20030407/speedtest

甲骨文注册邮箱和注册时间:

curl http://169.254.169.254/opc/v1/instance/definedTags/
By zimk On
  1. 头像
    @
    inkdemono
    🥳
    · Windows · Chrome