|
|
% w& o2 x4 Q0 p) m& \
VPS服务器系统选择 Debian10或以上
& S+ F2 }/ K+ t1 n
4 y' E9 G8 T* q" k4 D---------------------------------------------------------
& ?" H6 q. R' C C3 p) b# V8 z/ I/ b! L, i$ V* s
#更新系统
* O, \) A/ ?0 A% t3 uapt update -y+ u- C& E4 |& H( h9 h1 C
apt install -y curl; h8 n$ J3 v+ U- d& Q( \" L' b
apt install -y socat7 ^, ^7 ~ O8 Z6 g* I
7 y' T, O+ C2 |( w#安装脚本
/ u5 }! V: X- B) l( B1 q1 ?- Z& `6 rcurl https://get.acme.sh | sh
+ H7 N/ T; i* O0 ^8 Q~/.acme.sh/acme.sh --register-account -m xxxx@163.com' |1 h: K; n+ u- n
* D+ W& l8 [4 j( `" ?
#放行80端口
( s; ^0 {) |, q, c( R8 P+ _4 C# miptables -I INPUT -p tcp --dport 80 -j ACCEPT
& k. S/ J! F$ V+ ]) ?6 Q" s
/ m: r) V$ b9 y+ ]# H' S
, d& z/ O) {3 ?0 ~) Y0 @, {( K. j/ `; ^; `
#申请证书) y: e, G: \0 X' g! H1 H. N; P" p
~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone
5 \9 ?- w5 @* L w! [' _$ ^4 Y8 j~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
* Y9 h" ^% m( w: f* e1 v
- t, R& I3 J$ M6 i/ F#Xray一键代码
( J/ C4 T8 }" c9 M" ?) w7 Gbash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)+ X) R L! V9 u8 N( a. [( j9 ?# w
#放行端口# J N% V+ }+ s+ ?2 b, Q/ D
iptables -I INPUT -p tcp --dport 54321 -j ACCEPT
% i2 y3 p# s9 c$ V( d! ciptables -I INPUT -p tcp --dport 443 -j ACCEPT
; G. m. p' \7 f
' g; z8 M' K4 Z! ^) n3 y-------------------------------------------------------------
. k9 E7 S2 L& Y2 c* o! `9 K" F' {) [: ?) i2 s" F+ M' E' a3 i
FinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j
% [, ]2 n, _5 d4 WFinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf
& |+ v; z. N7 O5 l$ p" T4 a
6 Y5 p# l, k. e: u8 N" o5 ?科学软件下载:https://bit.ly/2MXgZ4U
' x& U) y* A5 r2 }- N域名注册:https://www.namesilo.com/ I9 z" x& }! v1 {8 _8 I
视频教程0 U' Z2 h/ K7 A2 A4 q; [
7 L5 g1 j& [5 P q4 Q
" ]9 w/ p3 c; ?& R
: @' N* s3 R3 `) k7 \2 `! \
|
|