|
|
0 [/ R4 M3 \7 O" p, j
VPS服务器系统选择 Debian10或以上
, b; k2 [8 a0 K/ W$ h. G2 F) [6 A' {. O9 o1 y7 f' ?" Q) k2 P. t
---------------------------------------------------------. b% A; P5 G( R/ l
. L* k, U2 B# W- F
#更新系统
+ V& E' d: {" zapt update -y
4 t4 Z8 |& u+ Uapt install -y curl w6 O! I( ]# f- H
apt install -y socat
0 T) N% j- I' ]& s3 R! b1 w. j" O) o7 g* t; M8 k
#安装脚本, q ^9 R) l% f. S- H- t0 Y; ~
curl https://get.acme.sh | sh: b- d7 k3 _) f& e9 _
~/.acme.sh/acme.sh --register-account -m xxxx@163.com
( P1 Q' u1 x' ~) i5 r* g( f
8 E. {* s( \; h. L! x6 G9 ?. Y- T( n#放行80端口6 n8 V C# ~6 A
iptables -I INPUT -p tcp --dport 80 -j ACCEPT. f2 n2 ]7 E: y
3 n# `. y6 v5 S, _. C4 `
& ?8 ?% F& P R! c7 e
, ~# i) G' B4 h#申请证书
0 `& v9 o! c0 r: H1 g# g~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone0 {9 b! Y2 |! r3 _' ]* {$ k$ \- P( Y
~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
) w$ L" _. L" R2 ]3 ]& L: O1 Z; L" B. d. O0 g( l6 S' {. W1 C3 c6 ^
#Xray一键代码
6 F3 x, c4 \3 c/ ubash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
2 N$ i) a2 ]" w+ H! S# K#放行端口, [8 w, X& J8 q# S4 ?; K3 }
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT
! V1 Q& R6 |( G, |* _ K1 \iptables -I INPUT -p tcp --dport 443 -j ACCEPT
) r G* z3 E" k
8 ^: d: z) R5 N& h) S& U-------------------------------------------------------------* S, M8 i0 n e6 I# y+ B( g3 M" D
g* y' N, {' c0 [7 M; K* |FinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j2 y% c" \5 S6 ]) ~4 c8 `" ?
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf
: I4 K- Z* S: R" z
: q# P) r9 f$ U0 X8 R( S% \9 x科学软件下载:https://bit.ly/2MXgZ4U
Y& s& o" @; H4 a& e. X9 L域名注册:https://www.namesilo.com% t. P3 j; C) ~9 G
视频教程3 S6 m- S5 d4 z. k' ], W6 z
3 Y- e' p/ \5 A9 s7 `( U+ q* E
^6 V3 P4 O$ `* Q
" J2 P5 S( ]7 }. B% ? |
|