常用命令

docker类

ARM docker compose

curl -L https://github.com/docker/compose/releases/download/v2.5.1/docker-compose-uname -s-uname -m -o /usr/local/bin/docker-composechmod +x /usr/local/bin/docker-compose

重启

docker-compose down
docker-compose up -d

新装

安装sudo curl

apt install sudo
sudo apt install curl
apt update -y && apt upgrade -y
apt install sudo curl wget

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p c7c015aa769a224c -port 22

swap内存

wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

finashell打开root文件夹

sudo -i
chmod 777 /root

status

mkdir -p ~/data/docker_data/sss

cd ~/data/docker_data/sss

wget --no-check-certificate https://raw.githubusercontent.com/lidalao/ServerStatus/master/sss.sh && chmod +x ./sss.sh && sudo ./sss.sh 2072539113 5558779975:AAH1L2HS8niHz69B6d69IZ5W3BYy6jRTLlA

systemctl stop sss-agent.service
rm -f /etc/systemd/system/sss-agent.service

ipv6

sudo nano /etc/network/interfaces

iface eth0 inet6 static
        address 分配的IPv6地址(全)
        netmask 48
        gateway 查询到的IPv6网关地址

sudo reboot

docker&qb ipv6

vim /etc/docker/daemon.json
{
    "log-driver": "json-file",
    "log-opts": {
        "max-size": "20m",
        "max-file": "3"
    },
    "ipv6": true,
    "fixed-cidr-v6": "fd00:dead:beef:c0::/80",
    "experimental":true,
    "ip6tables":true
}
systemctl restart docker
docker network inspect bridge

检测类

综合检测脚本

wget -N --no-check-certificate https://raw.githubusercontent.com/V2RaySSR/vps/master/vpstest.sh && bash vpstest.sh

奈飞检测

wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf

机器测试

curl -sL yabs.sh | bash

dd if=/dev/zero of=test bs=64k count=16k conv=fsync

curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash

wget -qO- bench.sh | bash

apt install -y glances
glances

wget -qO- yabs.sh | bash

回程

wget -qO- git.io/besttrace | bash

rclone/fuse/fuse3

curl https://rclone.org/install.sh | sudo bash
apt-get update && apt-get install -y fuse
sudo apt install fuse3
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
下一篇