常用脚本

docker

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

SpeedTest

docker run -d --name speedtest -p 8989:8989 wjy20030407/speedtest

常用的一些工具(deb)

apt install wget git curl unzip glances neofetch -y

iptables防火墙规则

sudo iptables -P INPUT ACCEPT

sudo iptables -P FORWARD ACCEPT

sudo iptables -P OUTPUT ACCEPT

sudo iptables -F

DD-->debin10

bash <(wget --no-check-certificate -qO- 'https://f1.wjy.me/Scripts/InstallNET.sh') -d 10 -v 64 -p 'password' -a --mirror 'http://deb.debian.org/debian/'

X-UI(Github开源)

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

哪吒探针

sudo -i
curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh  -o nezha.sh && chmod +x nezha.sh
sudo ./nezha.sh

aria2增强版

wget -N git.io/aria2.sh && chmod +x aria2.sh

一键开启ssh

sshd_config="/etc/ssh/sshd_config"
sed -i -E 's/#?PasswordAuthentication .*/PasswordAuthentication yes/g' "${sshd_config}"
sed -i -E 's/#?PermitRootLogin .*/PermitRootLogin yes/g' "${sshd_config}"
sed -i -E 's/#?AcceptEnv .*/AcceptEnv LANG/g' "${sshd_config}"

集合脚本

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

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

MTP脚本

mkdir /home/mtproxy && cd /home/mtproxy

curl -s -o mtproxy.sh https://raw.githubusercontent.com/sunpma/mtp/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh
如果有好用的Linux欢迎在评论区回复!!!
End

本文标题: 关于我linux常用的一些脚本

本文链接: https://dnslin.com/archives/32.html

除非另有说明,本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

声明:转载请注明文章来源。

最后修改:2022 年 11 月 14 日
如果觉得我的文章对你有用,请随意赞赏