华强北电脑城 龙岗电子世界 龙华电脑城  凯尔电脑

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2425|回复: 0

新版本测试 比老版本麻烦好多

[复制链接]
发表于 2023-9-14 22:53:15 | 显示全部楼层 |阅读模式
How to Install and Configure SoftEther VPN on Ubuntu (operavps.com)
0 Y' f. |% j1 V  P- m& m有客户有需求,以前都是老版本  
; w: X8 L+ B5 F) |) U
# X9 ], i+ A1 N2 a% H5 @8 ?" H- x[size=14.9625px]apt[size=14.9625px]-[size=14.9625px]get[size=14.9625px] [size=14.9625px]update[size=14.9625px] –y1 H0 H  n7 c& k' q
[size=14.9625px]( t5 k; Y" a: S. k% C" k  x

0 X, z4 O3 O4 v' d  j! @[size=14.9625px]apt-[size=14.9625px]get[size=14.9625px] install build-essential gnupg2 gcc [size=14.9625px]make[size=14.9625px] –[size=14.9625px]y   不然GCC报错
  \) B' h1 `. |- @* ~
& l) J" A6 z- a* G, w& }wget https://www.softether-download.c ... ux-x64-64bit.tar.gz
* {  k! V2 y; x) y, f- V: q8 r" x( h" t
$ T# B; H5 x* m( \1 V
5 l+ U1 J' ~' `8 g4 S4 [" K8 r8 ^
tar -xvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
7 k1 W' C2 U1 C/ g+ r% T
) ^% s) D3 u, Q5 r- s
" u0 R* @& ?3 _[size=14.9625px]cd[size=14.9625px] vpnserver/
8 u# u3 W2 A9 P) q9 `[size=14.9625px]( h' X  e" a2 |4 v' i6 C  N
- d  Y3 _/ ~; @# k  ^7 s
[size=14.9625px]sudo apt install gcc binutils gzip libreadline[size=14.9625px]-dev[size=14.9625px] libssl[size=14.9625px]-dev[size=14.9625px] libncurses5[size=14.9625px]-dev[size=14.9625px] libncursesw5[size=14.9625px]-dev[size=14.9625px] libpth[size=14.9625px]read-stubs0[size=14.9625px]-dev' g1 T. k( U& N, R3 m' t
[size=14.9625px]
& ?/ X3 M- q, D- v
+ e* o+ h" c; ?$ P6 ]
[size=14.9625px]make
- w& d: K! x7 c8 V[size=14.9625px]
- u) a2 ~0 \6 q. O1 Z' n& T& W; ?

2 _1 H4 s2 P+ r. f/ r: s. V[size=14.9625px]cd ..sudo mv vpnserver /opt/softether
1 H/ \; G9 ~  D, z[size=14.9625px]
/ X3 l% f' e- M$ F% I

/ D3 p# x( l  \6 ~9 J[size=14.9625px]sudo /opt/softether/vpnserver start
& h5 i8 Y' {1 K( |  N: h[size=14.9625px]5 ^1 d1 c) g+ K2 v

( L  P. @( }& X[size=14.9625px]sudo /opt/softether/vpnserver stop; ]5 u) O1 D: S# m
[size=14.9625px]% I; f5 d3 T6 l" K1 R& {: e" H

: t0 ~6 p" {6 X% t[size=14.9625px]sudo nano /etc/systemd/system/softether-vpnserver.service6 g& m  j& C! K( X# T4 }) R
[size=14.9625px]
# E+ K- h6 q" W
& ]8 ^( `# o/ R! A7 f6 h2 q+ ~/ Q
[size=14.9625px][Unit]Description=SoftEther VPN serverAfter=network-online.targetAfter=dbus.service[Service]Type=forkingExecStart=/opt/softether/vpnserver startExecReload=/bin/kill -HUP $MAINPID[Install]WantedBy=multi-user.target
0 z5 l. |. e% u/ L) L$ ]- V# `' t! K/ u[size=14.9625px]# Q% O) D. k3 x5 ]8 M: }+ \
; Y+ }, D1 V  E
[size=14.9625px]sudo systemctl start softether-vpnserver
. R9 `( O, Z: {# L3 u  D' T[size=14.9625px]) J7 {+ g- [& ^$ x3 E
- Z4 J2 Z; s( ]6 I! }# D$ N# I& R+ A
[size=14.9625px]sudo systemctl enable softether-vpnserver
8 H; B+ _- a* k[size=14.9625px]- r  V& w& u  B3 `9 i6 V& [$ `

0 _4 ]4 s7 z; m- K4 S, t: h/ O[size=14.9625px]systemctl status softether-vpnserver# J3 C0 x. `5 L8 Z+ Y- e  M
[size=14.9625px]
- }  V3 b6 o7 f3 s+ w5 }
/ ?5 H5 q& g- X% `
[size=14.9625px]# ~2 Y2 X& C4 o1 J
: d/ o3 I1 K2 {. M; q  _/ p6 k  e
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|华强北 电脑城 龙岗电子世界 龙华电脑城 pc4g.com ( 粤ICP备16039863号 )

GMT+8, 2025-6-19 21:06 , Processed in 0.099605 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表