一.常用操作
1.查看CPU信息
cat /proc/cpuinfo
2.查看当前内核信息
uname -a
3.Linux修改主机名
hostnamectl set-hostname kipkip.net
然后执行下面的命令
vi /etc/hosts
然后在第二行增加 127.0.0.1 kipkip.net
,同时将文件中的原主机名修改为刚设置的新主机名
4.更新
apt update -y && apt upgrade -y && apt install -y curl wget sudo socat
5.设置root账户密码
bash <(curl -sSL https://raw.githubusercontent.com/panhuanghe/vpsroot/main/root.sh)
二.信息检测脚本
1.秋水大佬的的Bench测试脚本,查看 Linux 系统信息,还可以测试网络带宽及硬盘读写速率
wget -qO- bench.sh | bash
2.全能流媒体检测:
bash <(curl -L -s check.unlock.media)
开源地址:https://github.com/lmc999/RegionRestrictionCheck#%E4%BA%A4%E6%B5%81
3.检测是否可以访问 ChatGPT 脚本
bash <(curl -Ls https://raw.githubusercontent.com/missuo/OpenAI-Checker/main/openai.sh)
4.奈飞测试
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf
#第一个
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
# 第二个
bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")
5.综合测试
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
三.测速脚本
显示延迟、抖动
bash <(wget -qO- https://bench.im/hyperspeed)
直接显示回程线路
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
wget -q route.f2k.pub -O route && bash route
# 第一个
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh
# 第二个
wget -qO- git.io/besttrace | bash
四网测速
wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh
bash jcnf.sh
三网测速
bash <(curl -Lso- https://git.io/superspeed_uxh)