|
|
" d* ?; Q' U1 `3 X/ cVPS服务器系统选择 Debian10或以上8 O. i. }4 L& z3 ^* h5 g- v
. s/ |$ S* z* `; {; O0 m4 H---------------------------------------------------------
. y& F0 {& O6 d T) W7 o S8 I& w+ N9 g: ]0 Q/ n
#更新系统
* Z% w. h0 |4 F9 v. b9 Zapt update -y4 W2 f3 ]* D2 z: k3 U7 R7 t! l/ G
apt install -y curl- R. Z/ k" o& Y( r
apt install -y socat
) n* [% `( q, ^/ a. c% B0 u& z7 b5 S( J; p$ ^
#安装脚本& G1 y; d% p0 o# u. Z# C9 E
curl https://get.acme.sh | sh
2 F0 ]2 O1 g: \~/.acme.sh/acme.sh --register-account -m xxxx@163.com
j" l8 L- ~* @" V% t
3 G1 f; m V# S1 p" T/ M* |- e#放行80端口
# P+ n" Y+ z. s4 h& I, Z6 F4 F5 S; liptables -I INPUT -p tcp --dport 80 -j ACCEPT
) O% y6 w5 S2 U4 I. a' c @" @& x; W5 d6 S
- R7 u7 Q1 v" Z; }) M4 h" l' g' \
#申请证书
3 e" }: o) v# v% u0 d~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone
' V7 M% f+ u) S. A3 V) [~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
0 p' {& ^: d/ r, y% j1 t2 I/ x! U; x& z- M+ v
#Xray一键代码
* J% O! d, p, p9 k S/ fbash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)* R z$ @$ z$ g+ b$ B4 [5 z8 {; h
#放行端口$ y0 [2 _ a( ~& e
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT( f1 f! Y3 c7 J4 z M
iptables -I INPUT -p tcp --dport 443 -j ACCEPT1 D- O/ `, L9 L) m
. h! `, } c& I0 v6 z+ i* h
-------------------------------------------------------------
3 \. [ e: J* n) ^' ?, K. g; k: a
9 N: S8 i/ ]6 ~1 u: |; gFinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j4 h3 Y- U) c- U1 ?' e/ L7 t5 r
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf- D1 Y% y/ | n# z1 I. ^+ A( w
2 Y- P2 i) b/ b& D; z( l
科学软件下载:https://bit.ly/2MXgZ4U, A; Q) I/ A$ C8 Z9 L* @
域名注册:https://www.namesilo.com
' O% C% B- ~! U. H8 ]视频教程" q4 h. A5 K7 Z" O: _; U6 E
( Z) n6 q) P) M* G3 @: Q* K" l0 R1 C8 ^; E% }
- `0 \. t# l/ z3 f. G/ ^
|
|