|
|
& C, h2 r: m* ~0 _
VPS服务器系统选择 Debian10或以上* G2 m. ?4 D5 y% H( `. N% M; q
; v1 X0 v- x" c5 |
---------------------------------------------------------4 |4 K- `% H4 N4 | ?# r4 G9 ?
# u6 `) P& g, g, Q" p6 F, S#更新系统/ s6 \4 W8 f" F! e- ]+ U* B
apt update -y. x9 T/ Z+ L9 ^) x& y, r
apt install -y curl. l2 G8 u/ Y) r( {, i* R
apt install -y socat2 I- k3 w9 Z+ c- G
" L4 b6 d8 o$ K1 ]7 a% I! [
#安装脚本6 o3 K i/ ]+ ]
curl https://get.acme.sh | sh
5 b- x( x* n8 ~& @5 c~/.acme.sh/acme.sh --register-account -m xxxx@163.com( a! c+ m8 B" s
4 U& W# K# m0 L: Z: ` S#放行80端口* R2 M2 [ h4 y1 ]
iptables -I INPUT -p tcp --dport 80 -j ACCEPT% f$ I A9 ~1 q h: _" D+ N* M
6 ?# A+ l7 J# f3 D5 P% e
6 S n( u" j7 J
5 z2 ?2 G& Y3 E
#申请证书
) q! Y- v0 M# T~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone
7 K& v# c; l- |9 F( T$ Z* j# b~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
* A* ~$ u( ^( y. M# c/ n8 i8 r4 o. k, r2 e' W! z
#Xray一键代码
7 ]! s7 }1 T: @9 B1 G1 f9 z, rbash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)$ y# _( \* K# O0 h( L
#放行端口6 k! J, f; F" U5 t. f3 k, D' ?
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT" _/ ~$ V( k- c. K: t8 G4 [. O( O2 v
iptables -I INPUT -p tcp --dport 443 -j ACCEPT- P! V) |( [# S6 d$ H
% L$ J: b8 E5 E2 ]0 w-------------------------------------------------------------
2 u' P4 l4 J/ ~, p1 F8 T0 N# D5 S
; U6 u* l$ V7 M: u: `FinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j
; s7 Q7 F0 e1 }' l$ P( ], G$ O. S* gFinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf5 ^" ]) c- h: p/ g7 \- K1 }
2 I9 N7 Q/ u4 K% e. S8 C ~
科学软件下载:https://bit.ly/2MXgZ4U' m6 w/ w; [5 f- G
域名注册:https://www.namesilo.com3 D/ y* g9 s- i0 w; B% m+ \
视频教程
3 d' O" T4 x. l1 A
; z0 q: D; H: k
% w- v n5 {* h% f- H8 M$ i8 C0 ~& N# U, [9 M; x9 Q, S
|
|