|
' F( S! O( v% I+ ^, WVPS服务器系统选择 Debian10或以上
& f/ U6 O; m. y# b. s' L9 R7 R6 D; \( L* K8 K3 _- l* X
---------------------------------------------------------/ y. t; G5 m# n) S+ e
6 H* @5 E ?8 }& n- I# J
#更新系统
' o, W8 u2 i8 o+ h( l/ Z$ Hapt update -y
) H$ a9 |, L$ G l+ k# tapt install -y curl7 ^ m! q; b! t
apt install -y socat
1 F7 b- i5 P( N. I
( F5 M- L- T/ l( [ v |#安装脚本
4 a( r/ u) {4 l0 Fcurl https://get.acme.sh | sh
/ v! u6 E1 B1 ~% w~/.acme.sh/acme.sh --register-account -m xxxx@163.com
- o6 u, M6 ~: K5 x4 @ [
9 j& ~7 H; v5 ~# _. |5 ?#放行80端口
8 t5 V. ~5 ~) Z# h6 d4 q% eiptables -I INPUT -p tcp --dport 80 -j ACCEPT* z! G: O- d2 V8 g3 ?
; O8 O, e; m0 D( x7 a# h
$ ~! [* U3 n& z$ V' b& @
% K6 H* t/ x! D2 y# e#申请证书2 Z2 I3 L/ U( s1 L8 B) ^1 h
~/.acme.sh/acme.sh --issue -d xgoogle.com --standalone+ |3 o. n5 N: w( J& E; p" R( g
~/.acme.sh/acme.sh --installcert -d xgoogle.com --key-file /root/private.key --fullchain-file /root/cert.crt
& X- f- r* J9 F9 S% G9 i; p1 Q+ A
#Xray一键代码( O) B( A# @; e( V
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
3 n( M6 j) M/ K- `#放行端口
, F" m( n6 r1 D! n* X$ Hiptables -I INPUT -p tcp --dport 54321 -j ACCEPT" |( O8 l2 ]9 _
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
4 @4 m2 L& |4 l* O
6 H. u* _$ K( m1 j3 D-------------------------------------------------------------
# l4 ]2 u- t. s( |9 u+ F9 {, J I8 a
" @0 ^; H+ K% }6 bFinalShell下载:https://wa6.lanzoui.com/ihjg2y3h14j9 y r# b# _+ |0 R2 H1 d" C2 y/ z
FinalShell-MAC版下载:https://wa6.lanzoui.com/iPeC7y3hryf& i5 i* C0 N3 f8 @4 y
7 v' k9 E7 f1 X _
科学软件下载:https://bit.ly/2MXgZ4U8 u# ^3 F: l2 B; J
域名注册:https://www.namesilo.com$ ^( b' Q' T4 }9 t/ i
视频教程, d; z, U: f8 k' k4 M; V
! ~$ P6 D3 }7 N+ x5 ^6 Q
4 c5 C$ x/ D' F' H! z1 g' t2 V
% C+ P: M) C! o1 D- y$ z9 y2 t( j |
|