|
|
3 {, x% K; V5 J3 GVPS服务器系统选择 Debian10或以上
1 s" z! I: a! P( p" d+ M/ U S- \& I# }, \2 a
---------------------------------------------------------
- U3 F* d i; S( K7 g# z6 L8 Y+ _* T, ~
#更新系统& B" [: p( N0 r( f" ~+ @
apt update -y
8 ] `' P" I8 _0 aapt install -y curl
! ]1 J- ^# e0 y! H4 [4 `. Zapt install -y socat
. T' r; i6 i6 X9 X9 T# w$ x$ c4 |& r2 c8 T" X
#安装脚本 H0 P- M: I1 h/ u1 h
curl https://get.acme.sh | sh/ S& N2 |' h. b+ K
~/.acme.sh/acme.sh --register-account -m xxxx@163.com9 [9 R- {( i( C J% H
# H& I8 ?% O7 Z8 I% n! {8 W#放行80端口" o+ ]$ @( ^1 ^
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
% y7 d8 t, o) }2 ~$ ]6 {$ @* z2 P" x6 W# Z4 y4 c+ W) V
. w* d+ `# f8 m5 E: v% }) o& y1 m ?! J; d/ ^. A2 c
#申请证书
+ ~' \+ h% d e~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone
( U# |9 E. U- S/ L3 Z! @! p~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
7 e7 t: O" U* N3 U2 |
5 }5 T$ V1 Y5 P+ Y9 V; K G8 u#Xray一键代码" P" p6 i1 H" B% \) G4 K2 Q
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
, |: y3 G8 P* I* r* \" A#放行端口
4 a% Q9 ?' p. }% Y' m5 Aiptables -I INPUT -p tcp --dport 54321 -j ACCEPT
: F- D+ o8 z1 qiptables -I INPUT -p tcp --dport 443 -j ACCEPT
' b5 H+ b/ G$ I3 ~9 O- W4 z+ B |( w$ t3 L/ S8 V
-------------------------------------------------------------
+ C) Y2 p( V1 K
, ^$ j3 ]* C- a8 T6 J5 i( [( [& jFinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j/ D7 S5 |( s" H) P9 k6 u
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf/ @; O' A$ \- ~3 y" ^- W# A1 r8 _
% c& W0 g' \5 A科学软件下载:https://bit.ly/2MXgZ4U# d, C/ {1 p( T7 \
域名注册:https://www.namesilo.com
: M+ F( H3 z, i4 k1 g- w9 U/ F" X- h视频教程. V: t9 n. m* r; |/ |
' b! t( g' d+ I* G( f* D/ E
5 @; G6 g2 Z, h8 m( T0 z
+ [# y7 N; ^1 Y3 J |
|