|
|
发表于 2023-7-14 08:11:55
|
查看: 7290 |
回复: 0
, |4 ?* T4 d" U# I" i$ }VPS服务器系统选择 Debian10或以上
, x, O' J& H+ z- H s) O7 j& Q* _( ^. q% c7 v0 K2 t
---------------------------------------------------------
+ L# x! @3 s! O+ W$ a" ]/ I% T6 U! X- O
#更新系统
# U. l3 E; x% u) b/ napt update -y* M# A% t) A/ m( o
apt install -y curl
- T8 Z; R8 z1 \3 F. U8 capt install -y socat
% m( }, l! I* {+ `! z7 x7 w4 l4 A- j( j
#安装脚本. {6 V' i7 F, j7 z) o
curl https://get.acme.sh | sh e9 h( R0 Z+ R3 G
~/.acme.sh/acme.sh --register-account -m xxxx@163.com3 o" l }4 E8 v8 Z* r: C0 u( n9 @
, }* R) B L! c+ [#放行80端口8 L; c% h0 b8 ?
iptables -I INPUT -p tcp --dport 80 -j ACCEPT4 ]1 a& \- t: e- k! o3 y* q
K) [& O' W" i5 w F9 [, |6 R5 Z% Y7 m
9 Y" M0 @6 F* v% y% m$ i, g) ^
#申请证书
$ M$ o5 H/ b& [1 Y~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone$ d4 g% W. x' L7 X2 m2 I1 r
~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
* R6 U1 N$ Q. Z+ @' Y& D A R+ G0 o; a# {' S. O
#Xray一键代码' ?1 T9 V+ W( N8 B f& B
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)3 U0 N" F, t6 k% T0 }4 w
#放行端口
4 Q; K o- K8 niptables -I INPUT -p tcp --dport 54321 -j ACCEPT
: E- h5 }8 Y. \' ~iptables -I INPUT -p tcp --dport 443 -j ACCEPT) Z1 Q* h z: @$ G/ S+ e' w- J) _
. i; C9 Z& q) k& r( n5 P-------------------------------------------------------------
9 E% K% L0 O1 N9 U
" E+ T5 h- f. t5 n& b6 p$ IFinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j
0 d% b6 g4 @- o4 r6 [FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf
/ A* r7 q2 X* A A
+ H) W5 }0 r: E1 O科学软件下载:https://bit.ly/2MXgZ4U9 c: |. u; H3 m; Y Y4 i
域名注册:https://www.namesilo.com( j6 x: t- {; t7 U
视频教程" y4 `# s$ H5 }: `. t
L8 i& {4 F6 _
X- b! J" ~) ^* c# T1 n. ]. o; m5 Z3 {8 Z# E
|
|