|
8 G9 m. \7 D- Y z' P: H
VPS服务器系统选择 Debian10或以上1 x: C2 U, A( x( d/ l, r! j# G
5 l6 B% j( P% H2 G: M7 O
---------------------------------------------------------* L) ?6 S- p) P8 `: }; Q5 @4 g
$ f$ V, G E1 i7 ^
#更新系统0 d2 `' n6 p! k
apt update -y4 f0 O6 T# }: Z
apt install -y curl* l- g. A s) ~" U, u' `8 }
apt install -y socat8 M# [5 q: N2 w2 T/ q2 C4 f
1 V: Z1 r1 I- `! K& m+ n% _
#安装脚本
& Y& l' u& {. {curl https://get.acme.sh | sh3 U2 Y1 `/ K: K% {* F/ Z
~/.acme.sh/acme.sh --register-account -m xxxx@163.com
8 ]! f( G" g- @0 L8 w' S8 D8 B) `8 z: \7 S- M5 h; i* T- z
#放行80端口
! h! j [6 K% c7 Piptables -I INPUT -p tcp --dport 80 -j ACCEPT
M8 m7 k, W! }9 Y3 M* a5 U; L9 ]) D+ b/ s7 i: }6 H+ b
/ I0 | V2 ^! W6 ?; X* f
0 y! Z" H m; w# V7 _+ T#申请证书
]) c+ C9 h! V% T0 {~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone) z% m; C7 V& b
~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt7 @! r2 m5 R! T
6 ]8 T c1 O/ U/ o& A
#Xray一键代码* J* t. p8 U1 K& t! F: [
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
. N; Y% \: Y6 K#放行端口, y! F! u- Y7 Q8 W
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT
8 d9 E# W$ P9 E9 {4 jiptables -I INPUT -p tcp --dport 443 -j ACCEPT
& y7 |! @1 v3 u. a* ]& K1 U6 R8 _# Q( N
-------------------------------------------------------------! `4 W' U' P' t, R V" Y1 ]. Q
H6 V/ P# j' B& c2 q0 nFinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j3 P% ?' c; W% }9 ]
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf
) o+ ]+ h( y9 ?/ q7 m
3 T, t$ W0 X/ C& q' D3 f科学软件下载:https://bit.ly/2MXgZ4U! t6 o' `! D7 x. g$ U- z" i
域名注册:https://www.namesilo.com
# G9 b" G! @- K+ {+ p! S视频教程# C* d5 Q, n& U# K3 B
# F+ u% Q+ B4 W0 r2 z8 [3 K1 ~) ]9 M" c3 G2 s) I
& a3 q+ o* L( A# |5 n
|
|