GCP谷歌云DD一键脚本分享

218次阅读
没有评论

1.Linux

系统更新

apt update -y && apt install -y wget sudo

一键脚本

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') --ip-addr 10.170.0.4 --ip-gate 10.170.0.1 --ip-mask 255.255.255.0 -d 11 -v 64 -p 123456 -port 22 

网络参数

10.170.0.4  谷歌云 VPS 内网 IP 谷歌云后台去找 
10.170.0.1   谷歌云 VPS 内网 IP 的网关 前三位数和 IP 相同 第四位数为 1 

系统参数

-d 10  【7、8、9、10,11】Debian
-u 20.04 【14.04、16.04、18.04、20.04】Ubuntu

密码参数,可以改成别的

-p 12345

端口参数

port 22

系统更新

apt update -y && apt full-upgrade -y && apt install -y curl wget sudo socat

2.Windows

系统更新

apt update -y && apt install -y wget sudo

一键脚本

wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh --ip-addr 10.140.0.5 --ip-gate 10.140.0.1 --ip-mask 255.255.255.0  -dd 'https://oss.sunpma.com/Windows/Win_Server2022_64_Administrator_nat.ee.gz'

内网 IP 改成自己的

10.140.0.5

内网网关改成自己的

10.140.0.1

安装那个系统我用的 Server2022

https://oss.sunpma.com/Windows/Win_Server2022_64_Administrator_nat.ee.gz

换系统到这个网址找

https://oss.sunpma.com/?Windows

用户名 密码

Administrator         nat.ee
正文完
 
评论(没有评论)