0%

Server常用命令

一些常用的一键脚本

  1. V2ray一键(233版本)
    真的很方便,于是就偷懒干脆没看V2ray官方文档。不过大致流程还是有一些了解。

    1
    2
    3
    bash <(curl -s -L https://git.io/v2ray.sh)

    # v2ray bbr 还可以更换内核
  2. Make-A(v2ray/Xray 多合一脚本)

    1
    2
    wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh

  1. Warp 一键

    1
    2
    3
    4
    ## ipv4
    bash <(curl -fsSL git.io/warp.sh) d
    ## ipv6
    bash <(curl -fsSL git.io/warp.sh) 6
  1. NeteaseUnBlock

    1
    2
    3
    # 超级用户下
    wget -N --no-check-certificate raw.githubusercontent.com/XIU2/SHELL/master/unblock163.sh && chmod +x unblock163.sh && bash unblock163.sh

  2. SuperBench

    1
    curl -Lso- git.io/superbench.sh | bash
  3. CCAA

    1
    2
    3
    4
    #海外
    bash <(curl -Lsk https://raw.githubusercontent.com/helloxz/ccaa/master/ccaa.sh)
    #国内
    bash <(curl -Lsk https://raw.githubusercontent.com/helloxz/ccaa/master/ccaa.sh)
  4. Youtube-dl

    1
    2
    3
    sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
    sudo chmod a+rx /usr/local/bin/youtube-dl

  5. EHEH
    点击标题叭,服务器监控。我想之后我可能会用到。

  6. BT

    1
    2
    3
    4
    5
    # 7.3 version(需要手机号登陆)
    wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh

    # 5.9 version
    wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
  7. LNMP一键安装脚本,个人觉得比宝塔要好用。

    1
    wget http://soft.vpser.net/lnmp/lnmp1.8.tar.gz -cO lnmp1.8.tar.gz && tar zxf lnmp1.8.tar.gz && cd lnmp1.8 && ./install.sh lnmp

    如需要安装LNMPA或LAMP,将./install.sh 后面的参数lnmp替换为lnmpa或lamp即可。同时也支持单独安装Nginx或数据库,命令为 ./install.sh nginx 或 ./install.sh db。如需更改网站和数据库目录、自定义Nginx参数、PHP参数模块、开启lua等需在运行./install.sh 命令前修改安装包目录下的 lnmp.conf 文件,详细可以查看lnmp.conf文件参数说明

  8. Gost转发

  • 启动脚本

    1
    wget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/KANIKIG/Multi-EasyGost/master/gost.sh && chmod +x gost.sh && ./gost.sh
  • 再次运行本脚本只需要输入./gost.sh回车即可
  1. [realm转发](seal0207/EasyRealM: RealM 转发脚本 (github.com))

    1
    wget -N --no-check-certificate https://git.io/realm.sh && chmod +x realm.sh && ./realm.sh

欢迎关注我的其它发布渠道