|
. U6 H5 j/ D+ M0 k+ K# JVPS服务器系统选择 Debian10或以上' g9 J% ~0 O& e$ f, Y
# f* w7 \! t- Z# k---------------------------------------------------------8 ]; \4 l) T* [! ^5 W9 i
3 ?2 f' E) U4 _! H5 l' A
#更新系统4 C u- r) x$ ?! u5 G3 F
apt update -y1 f1 r- {/ ]% Q1 H4 g
apt install -y curl
9 q& s" U5 l% I5 capt install -y socat, t7 Z& \ ]; o, |; N
! E0 s8 \# f, U G; ^#安装脚本- H% d% Z2 }+ l* W
curl https://get.acme.sh | sh& B4 C$ ? A, M2 e( V, s) s
~/.acme.sh/acme.sh --register-account -m xxxx@163.com/ O! o4 ?7 _3 }0 S( F0 v% y
3 M- E5 g0 ~ T% W: E' P
#放行80端口
6 X+ v! [# O% F9 ~2 T. a* Wiptables -I INPUT -p tcp --dport 80 -j ACCEPT, D5 V; x& j: P" v
% V9 p" w. P2 U) W) F2 e) Z
6 w" t$ [6 {& S- z$ W+ r
& B; d2 f# B& v8 I% |4 A#申请证书
: h d) G5 }. u5 {: d~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone
4 J( _$ p( G9 ?! D7 j, M~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt* _; `( I# J- ?* m
. K; W2 s4 m/ H) g6 w+ C# a. f4 i#Xray一键代码
3 A- J2 C+ M* _bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)9 Q/ M4 d" f+ [0 N0 r* g( p
#放行端口) L: U2 O: e$ O1 \4 F4 ?( P+ n! _
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT
1 Q, I& ~7 r8 R" F5 U+ K* t0 A% Viptables -I INPUT -p tcp --dport 443 -j ACCEPT. s" G. {) l V& [( K \, N! O
0 G1 C% [, Z3 \0 r8 {* q! j-------------------------------------------------------------
$ _+ K' c- Q0 ?1 s% J R' L
) y) a. |- J# \0 sFinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j! A1 }+ B ]4 x. E2 k
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf7 }7 W# n0 t ^* J* @1 ^
; U! ~2 ?/ `- |4 q. M科学软件下载:https://bit.ly/2MXgZ4U
( g! F% N& n1 @5 [4 k0 r( o% a域名注册:https://www.namesilo.com8 Q( }) f' Y5 |, r# y7 }2 u; Y
视频教程
* |2 Z- n9 p9 M! N% s9 s+ z0 m/ r' f4 S, g; Q
: x" ` C; D: ~3 M. D- K2 ?4 a E, b
6 q+ x6 J( S: M. F) s q$ e( J |
|