|
|
/ S/ R+ x/ f$ A# w$ f/ f2 \
VPS服务器系统选择 Debian10或以上 M9 P! H2 p, C0 |0 _5 ?7 `$ ]% J+ x
8 s2 I! o+ b0 [' r0 t" B. [ D---------------------------------------------------------
3 [$ |4 A- X: ~; v8 ~. ?+ Y& \
! S- S Z* q; G! z$ g2 m#更新系统
# B. K# O6 a4 P2 X% ?. mapt update -y
9 \* V; U8 s6 S0 D1 E8 o A: V) `! ?2 Iapt install -y curl
+ X9 S; Z1 t) m+ o/ m* ]2 Bapt install -y socat- K& A& O& M1 @
$ [' Y( g# x) E2 u5 j#安装脚本
/ J! t0 F) ?* g- i+ M7 {; `8 A) }; z/ Ecurl https://get.acme.sh | sh, W7 y, n. m( b B0 P) m6 l
~/.acme.sh/acme.sh --register-account -m xxxx@163.com
+ v- [* i/ k# S# S' b2 h; H$ B: D, f( W
#放行80端口( L8 |4 o6 V9 f1 L" P
iptables -I INPUT -p tcp --dport 80 -j ACCEPT+ }+ T: C2 N. W: }' n
" }/ u% L! ?; o8 P: Y1 u! t v7 ~3 @8 B
, X% j9 k7 m' L6 z, z. m#申请证书1 T6 y0 y, J: _0 u7 k
~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone6 ^: L) D, Q; [+ u/ i' q
~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt: w/ [7 e. `8 A9 [: e
5 m+ ?; J( l' O' B#Xray一键代码; Q, W" ]9 r! p# a ^
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)' l7 f* `4 K! T, m( m0 @
#放行端口
1 l+ [% Q; s/ wiptables -I INPUT -p tcp --dport 54321 -j ACCEPT
U. i) u2 o' n/ n- h: Liptables -I INPUT -p tcp --dport 443 -j ACCEPT% ?# ?, `6 h' ^# w
4 f w3 I7 G* `' |7 T h, x
-------------------------------------------------------------1 k7 c, ]" x7 z9 R! n" ^$ H
- ]4 y! C7 o! ?3 ~4 d6 T3 Q, _. B: ^5 V
FinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j7 n6 l& h0 @0 G1 k, z6 m
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf# C9 ~4 m% m ?0 Z* G" y& t+ F
. \/ h! a# M7 r" V' T0 ?. ~科学软件下载:https://bit.ly/2MXgZ4U+ X% Y2 M( | f* e/ a8 x! Q t
域名注册:https://www.namesilo.com% m* P0 b6 S9 s" W0 q
视频教程* h1 d: ]' \$ p! u- s9 Z
. j, O" w8 A" c1 }6 a* t9 l% T# I8 G
) [# Y- x$ _. O. N' l$ k8 ]* ?$ T0 i2 t0 `' U
|
|