常用脚本
BBR
预先准备
1
| centos:yum install ca-certificates wget -y && update-ca-trust force-enable
|
1
| debian/ubuntu:apt-get install ca-certificates wget -y && update-ca-certificates
|
不卸载内核版本
1
| wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
|
fuse
Look glass
1
| docker run -d --name looking-glass --restart always --network host wikihostinc/looking-glass-server
|
1
| docker run -d -e HTTP_PORT=8088 --name looking-glass --restart always --network host wikihostinc/looking-glass-server
|
隧道
1
| ssh root@ip -L 8888:localhost:10000
|
http://localhost:8888/web
Rclone安装
1 2
| bash <(wget -qO- https://git.io/gclone.sh) curl https://rclone.org/install.sh | sudo bash
|
scp传输
1
| scp -P 端口 -r /目录 root@ip:/目录
|
预留空间释放
1 2
| df -hT 查看磁盘大小 tune2fs -r 1000 /dev/XXX
|
Author:
月童度河
Permalink:
https://m.plex.best/2023/05/08/%E5%B8%B8%E7%94%A8%E8%84%9A%E6%9C%AC/
License:
Copyright (c) 2019 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?