代码自用(备份)

代码自用(备份)

重启

reboot

放行端口

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

时间
将服务器时间更改为上海时间

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

查询时间

date -R

ubuntu/debian更新

apt-get update -y && apt-get install curl -y

centos更新

yum update -y && yum install curl -y

探针
安装服务面板和客户面板

wget https://raw.githubusercontent.com/CokeMine/ServerStatus-Hotaru/master/status.sh && chmod +x status.sh

国内安装命令

wget https://cokemine.coding.net/p/hotarunet/d/ServerStatus-Hotaru/git/raw/master/status.sh

服务端

bash status.sh s

客户端

bash status.sh c

centos客户端

sh status.sh c

工具区
X-UI 一键脚本(官方https://github.com/vaxilu/x-ui)

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

工具 安装依赖(新机器必须运行一次,此后无需运行)

yum install -y curl wget 2> /dev/null || apt install -y curl wget

工具 (有宝塔)安装并运行脚本

wget -O jcnfbox.sh https://raw.githubusercontent.com/Netflixxp/jcnf-box/main/jcnfbox.sh && chmod +x jcnfbox.sh && clear && ./jcnfbox.sh

魔改bbr

bash <(curl -Ls https://git.io/AccTCP)

bbr2

wget --no-check-certificate -q https://github.com/Aniverse/TrCtrlProToc0l/raw/master/Abash A

查看bbr加速

./tcp.sh

查看 Linux 系统信息+测速

wget -qO- bench.sh | bash

回程测试

wget -qO- git.io/besttrace | bash

WARP 各大一键脚本
fscarmen 一键脚本 首次运行(https://github.com/fscarmen/warp)

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

fscarmen 一键脚本- 日常维护(可用来查询ipv4的地址)

warp

P3TERX 一键脚本- 首次运行 (https://github.com/P3TERX/warp.sh):

bash <(curl -fsSL git.io/warp.sh) menu

P3TERX 一键脚本- 日常维护

bash warp.sh

纯净版宝塔 开心版 官网:https://support.hostcli.com/

curl http://v7.hostcli.com/install/update6.sh|bash

宝塔查看面板入口

/etc/init.d/bt default

宝塔面板命令行

bt

TG代理

CentOS/AliyunOS/AMI系统

yum install -y curl
bash <(curl -sL https://storage.googleapis.com/tiziblog/mt_setup.sh)

Ubuntu/Debian系统

apt install -y curl
bash <(curl -sL https://storage.googleapis.com/tiziblog/mt_setup.sh)

打开脚本

bash <(curl -sL https://storage.googleapis.com/tiziblog/mt_setup.sh)

TG代理 NO.2

 wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh
bash mtproxy.sh

(如果你密匙前面含有 dd 字符,则手动去掉,分享给他人时可以加上)
摘取:https://doubibackup.com/939koj07-2.html

LICENSED UNDER CC BY-NC-SA 4.0