|
|
9 b7 Z6 w9 ^5 x9 s: o- I: E2 p4 L8 sVPS服务器系统选择 Debian10或以上- M4 ?# X0 }) l, c' b; _; c
- `: `- a9 b( b& q---------------------------------------------------------
7 e1 N- @& i: u5 q( K1 m1 J. _) s
#更新系统
/ K. Z, y4 A# C1 l( F9 A' i& aapt update -y
% }) | m+ y1 h9 _" r& ^/ j! Japt install -y curl
+ a R3 y& Y9 {. B. p/ v g) japt install -y socat
8 {5 f0 G( d3 @6 A
, _2 ]7 y% h& D" x#安装脚本
! A* O! Y8 ^3 X5 I8 ycurl https://get.acme.sh | sh
* ]( Y- L5 K5 U! h~/.acme.sh/acme.sh --register-account -m xxxx@163.com) E2 T! W: k& q* A
m" `$ K" R5 s5 C {: S9 D4 L#放行80端口
, ]' G9 ^: D" K- `iptables -I INPUT -p tcp --dport 80 -j ACCEPT, a: x( S+ p2 M/ _% P; i+ g
3 ?9 B- k4 G. x& U( D% X" @6 M
5 I- ^& B4 a' t8 n$ M8 Y! [2 U/ b8 U/ d. }% B6 y: j6 |/ ?4 o6 i7 l5 Q
#申请证书
8 B/ W1 ^5 V, Z7 G' N# r) @~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone
4 }+ [3 Y B6 q. |/ z5 a) l( }~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt2 g" M9 b5 i# t; D) b
: }$ d$ P& f& o' j
#Xray一键代码) u6 \/ o5 r5 s; j, T5 z
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)# R/ x6 b+ o' W9 y
#放行端口( f" K% U# [5 x* j; V, s- ?* b
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT0 q* H& h4 R3 W7 o. Q
iptables -I INPUT -p tcp --dport 443 -j ACCEPT1 ?# c4 A* o# s$ C1 g E3 X
5 n, X- m# H C0 v4 u3 `
-------------------------------------------------------------
2 C1 o: M! e) H s w/ [. K
5 d- |2 a K3 M. O9 pFinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j
; G& \) M$ _8 rFinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf, C9 H7 R% W T$ \, c
) O( k# A1 K3 d5 y6 h
科学软件下载:https://bit.ly/2MXgZ4U
% e$ C0 i1 v' y7 g- P5 L7 o" l) w域名注册:https://www.namesilo.com
, b& F( d2 ^1 j( G, c& j视频教程
! k5 r# X, Q0 i# M/ @2 N
+ a9 Y) a/ e7 k3 N) G# D; z. ]0 E# v) c2 d. b- \" B
: P! z5 h+ a ^$ d: y |
|