linux常用脚本分享,欢迎大家补充 __2023年1月10日 __3条评论 __254次阅读 __0人点赞 __Tao_Qi 抛砖引玉,欢迎补充 最常用的跑分脚本Yabs
[code] curl -L yabs.sh | bash
[/code]
dd重装系统
[code] wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/InstallNET.sh && chmod x InstallNET.sh && ./InstallNET.sh -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"
[/code]
ovz转化为alpine
[code] curl -L https://gist.githubusercontent.com/trimsj/c1fefd650b5f49ceb8f3efc1b6a1404d/raw/8c2439d5d583dd40d5af3e570949b9f0974357ba/alpine.sh | bash
[/code]
openssl生成自签名证书
[code] 通过openssl生成私钥
openssl genrsa -out server.key 2048
# 根据私钥生成证书申请文件csr
openssl req -new -key server.key -out server.csr
# 使用私钥对证书申请进行签名从而生成证书
openssl x509 -req -in server.csr -out server.crt -signkey server.key -days 3650
[/code]
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议
1.  林少说道: [2023年1月10日 下午6:22](<https://www.5yyx.com/?p=1578#comment-1362>) linux换源: bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
开BBR: wget --no-check-certificate -O tcp.sh https://raw.githubusercontent.com/Mufeiss/Linux-NetSpeed/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh
流媒体检测: bash <(curl -L -s check.unlock.media) 回复
2.  NAS说道: [2023年1月10日 下午6:30](<https://www.5yyx.com/?p=1578#comment-1363>) @hostlocmjj #3 看了下,有几个确实听常用的,我搬运过来 一键安装wrap[code] wget -N https://raw.githubusercontent.com/fscarmen/warp/main/warp-go.sh && bash warp-go.sh [option] [lisence]
[/code]
linux实际可用内存检测 centos
[code] yum install wget -y
yum groupinstall "Development Tools" -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
[/code]
Ubuntu / Debian
[code] apt-get update
apt-get install wget build-essential -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
[/code]
mtr测试
[code] curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
[/code]
[code] wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh
[/code]
[code] wget -qO- git.io/besttrace | bash
[/code]
流媒体解锁测试
[code] bash <(curl -L -s check.unlock.media)
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
[/code]
网飞测试
[code] 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")
[/code]
搬运自https://archives.vip/6.html
https://blog.laoda.de/archives/useful-script
https://www.wrnxr.cn/163.html 回复
3.  NAS说道: [2023年1月10日 下午6:32](<https://www.5yyx.com/?p=1578#comment-1364>) docker 一键安装[code] curl -sSL https://get.docker.com/ | sh
[/code]
三网测试
[code] bash <(curl -Lso- https://git.io/superspeed_uxh)
bash <(curl -Lso- https://git.io/J1SEh)
wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh
bash jcnf.sh
[/code]
搬运自https://archives.vip/6.html
https://blog.laoda.de/archives/useful-script
https://www.wrnxr.cn/163.html 回复
发表回复 取消回复电子邮件地址不会被公开。必填项已用 标注 __ __