常用脚本


  • CentOS开机自启办法
vi /etc/rc.d/rc.local

chmod +x /etc/rc.d/rc.local
  • 自定义命令
echo "
alias 1=\"v2-ui\"
alias 2=\"cd ~ && bash ssrmu.sh\"
alias 3=\"cd ~ && bash tcp.sh\"
" >> ~/.bashrc
source ~/.bashrc





宝塔面板

wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh

v2ray

bash <(curl -Ls https://blog.sprov.xyz/v2-ui.sh)

tcp.sh

wget -N --no-check-certificate https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh

gost.sh

wget -N https://code.aliyun.com/supppig/gost/raw/master/gost.sh  && chmod +x gost.sh && ./gost.sh

aria2.sh

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

你可能感兴趣的:(常用脚本)