|
|
( P$ R& A& n' L% \; \* r" c9 ~. ~
VPS服务器系统选择 Debian10或以上
2 T3 V7 Z- _% j' T3 e$ B& R, x9 |
---------------------------------------------------------; T; y; c' q# z" _' o! ^2 }
. H5 \$ e" ~8 S7 k
#更新系统
7 d6 ] J g i. {' K# C: Mapt update -y
' x3 O& V* `4 a. j ]0 {( j fapt install -y curl- I9 ^ ^3 L! Y
apt install -y socat6 E- _! d* R0 r2 y
0 _$ t9 m- h6 p) k
#安装脚本
* S4 L/ R+ a O& O) K+ ^; rcurl https://get.acme.sh | sh8 s! i% J$ G0 v7 ~* }; f) F* l) y
~/.acme.sh/acme.sh --register-account -m xxxx@163.com) ?% l, N) y: ~) V4 G
# s2 T4 A8 x; ~" M: K( B8 f9 v#放行80端口( z6 ~& [0 }$ D! a z( q/ v
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
/ h) X6 v- m1 H$ Y; \# d& T8 G6 Z( q( r% \* N9 h9 R
- g* b- K2 k r- i# n" b( K, C
: j# V9 d% n8 `1 s$ H# }5 m! v3 T/ e4 \
#申请证书
- |9 i/ w- z# a# f8 X~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone" h" @! \8 g9 [) b. V+ I4 j
~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
2 G) r3 H5 R* J2 M6 H/ `2 s
$ o H2 H# ^ n7 R9 W& y#Xray一键代码
2 u- r% d$ X9 N+ n5 A* _! e8 X# bbash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)9 ^2 X4 E) {8 L) P. R [! v6 G2 @- t" }
#放行端口% T$ Y: U: A1 t7 h+ X; u: q/ y1 S
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT+ ^# i$ D: g/ M& r4 c; `' R5 p
iptables -I INPUT -p tcp --dport 443 -j ACCEPT- {4 p; }7 y2 x' J( S. }: ]5 f
/ h7 |8 v+ \2 e8 i' |; N; _
-------------------------------------------------------------
) ?- _+ P7 t& A, x7 C( E! @8 U4 i Y9 X% Y1 x M. _" Y
FinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j! r' O! h$ J- Y4 R( l4 Y
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf
0 L5 x, o4 {' {/ ?
- `. d9 b4 h( T科学软件下载:https://bit.ly/2MXgZ4U
3 e5 w. ]% e$ o+ ~/ t3 _+ x* p7 {5 a9 m域名注册:https://www.namesilo.com
% j) J! [8 N' m! g视频教程
' A* ]5 y0 C0 y! q! D: P' v5 h! [$ e* I& V: X
" _% m( @/ C! E# B) v' N- v1 |, W0 V
$ w( g3 v& T) L0 g+ L! U
|
|