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
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的脚本:
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”
sudo vim /etc/ssh/ssh_config
添加
ServerAliveInterval 20
ServerAliveCountMax 999
一键安装 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脚本工具:
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
定期释放缓存:
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连网:
echo -e “nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6” > /etc/resolv.conf
甲骨文与谷歌云等默认密钥型VPS一键获取root权限:
bash <(curl -sSL https://raw.githubusercontent.com/panhuanghe/vpsroot/main/root.sh)
Hestia面板该有的都有,别的面板没有的它也有,其还可以搭建自己的NS服务器。
如果安装时没有设置密码,可以修改密码: v-change-user-password "admin" "NewPassword"