博客

  • 又一个Linux工具箱

    又一个Linux工具箱:

    https://www.shellok.com/

  • 1keydd 据说速度比较快的Win10脚本

    wget -qO- inst.sh | bash -s – -n ,netmask,gateway -t https://test89.blob.core.chinacloudapi.cn/ruyi/win10-ent-2016-ltsb-x64-cn.iso

     

    密码:1keydd

  • 一键DD WIN11的脚本

    一键DD WIN11的脚本:

    wget –no-check-certificate -qO InstallNET.sh ‘https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh’ && chmod a+x InstallNET.sh

     

    bash InstallNET.sh -dd “https://dl.lamp.sh/vhd/en-us_win11_ltsc.xz”

  • 减少 ssh 经常断开 的频率

    sudo vim /etc/ssh/ssh_config

    添加

    ServerAliveInterval 20

    ServerAliveCountMax 999

  • 一键安装 OpenLiteSpeed与WP

    一键安装 OpenLiteSpeed与WP

    运行wget https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh && bash ols1clk.sh

    bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh )

    安装 WordPress:

    bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh ) -w

  • 一家可能是最便宜的国外代理商

    可能是最便宜的国外代理商

    https://proxy6.net/

  • 老王的vps脚本工具

    老王的vps脚本工具:

    curl -fsSL https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh -o ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh

    wget -qO ssh_tool.sh https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh

  • vps定期释放缓存与清理日志

    定期释放缓存:

    sync; echo 3 > /proc/sys/vm/drop_caches

    加到 cron 任务中,每天定期执行:

    echo “0 4 * * * root sync; echo 3 > /proc/sys/vm/drop_caches” >> /etc/crontab

    定期清理日志:

    journalctl –vacuum-size=100M # 清理日志至100MB

     

  • Hax的vps设置DNS

    Hax的vps设置DNS连网:

    echo -e “nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6” > /etc/resolv.conf

     

    然后安装warp

    wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh

  • 甲骨文与谷歌云等默认密钥型VPS一键获取root权限

    甲骨文与谷歌云等默认密钥型VPS一键获取root权限:

    bash <(curl -sSL https://raw.githubusercontent.com/panhuanghe/vpsroot/main/root.sh)

     

     

Powered by atecplugins.com