找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2654|回复: 0

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

[复制链接]
发表于 2023-9-14 22:53:15 | 显示全部楼层 |阅读模式
How to Install and Configure SoftEther VPN on Ubuntu (operavps.com)0 q3 \: [5 a- H& h1 B' O3 j
有客户有需求,以前都是老版本  
/ L1 [- V  f& w1 @: ?" T9 j) D  p7 t, J
apt-get update –y
# l6 U3 }0 ?! j& ?0 t5 Z! C
1 y; H/ R. x, H2 v8 d' }
& v$ v* P' A+ v7 Y5 W4 [8 y0 s, P1 f
apt-get install build-essential gnupg2 gcc makey   不然GCC报错# E* L1 v7 S8 I$ ^6 x
, B  N+ o$ |* C
wget https://www.softether-download.c ... ux-x64-64bit.tar.gz. w- G. G8 Q9 q1 a8 a

) f4 c9 Q- a5 t/ _7 D
& q* A- v  O% g2 K) c1 x" N; c  E( S' Q4 b) a3 F- W
tar -xvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz, V. P" x( m# L) E

- b7 ~2 ?# p1 u( r( h0 }; m
! f, n1 V+ H% Z: ?9 \1 p" dcd vpnserver/
0 q- T; r# k" I) a; Z. k/ R- [  }3 R, ]; N6 u& z" ?6 l

* ~: U* i6 b- m0 m$ m# X3 esudo apt install gcc binutils gzip libreadline-dev libssl-dev libncurses5-dev libncursesw5-dev libpthread-stubs0-dev1 `) y% A/ L9 m5 J: w0 R: m

( G& n* _6 j/ ^* k6 u9 a, @

& Y, U' {* z# J& l, {1 ?make7 x: ]$ w1 h0 h/ v; X
6 a2 @) u! E( M" x0 h
( L  E, @* [; o* B/ e
cd ..sudo mv vpnserver /opt/softether
$ }5 l/ u' `( l3 @& R
: W+ x/ ^# ^9 {1 s5 P3 r

; q, Z- x* p5 A- rsudo /opt/softether/vpnserver start8 B( r# E. H" m2 j: u3 P& p

0 {3 N& L7 U. t' L( c
7 J/ H: V' U- V1 B  u, K3 K; b8 v
sudo /opt/softether/vpnserver stop
( s& a! O3 g% ^# }0 [& e2 E1 N6 C3 x) |! u9 Q& U& N. s
' T7 F* t7 V% ~1 f* P4 C
sudo nano /etc/systemd/system/softether-vpnserver.service
/ B# S5 e/ Q; X9 Y" h* D5 {
$ c/ N7 d9 E' D4 o, `; v# X

; ^: H, R( K# o# w$ ]! M# I  m5 _; f[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, A5 _: b6 J$ {" f5 i7 N; x
( z# F9 W3 a2 {

, ^# P2 v. v$ \- i: c' [# D/ Isudo systemctl start softether-vpnserver
! F- N6 r, A" M- Y. `- m) f3 a) U. _! ]$ C* p/ o, H

' I# p5 e+ v  z+ ], Vsudo systemctl enable softether-vpnserver
( ?/ ?( n" H- ?4 R" }" @+ d1 Q0 G% ^7 f6 V+ E. Y0 @
( Z/ w) @  w4 q# E% P( n/ D
systemctl status softether-vpnserver( d  e# A, w, {* G+ c# X3 `' m
* @* J. W* [+ F0 U3 U# h5 S4 `
" W& |7 z4 M$ W$ L) y. C% |
- T# `6 K: V) V2 y, R
" w+ N) j, q1 m, p9 p! K
回复

使用道具 举报

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

本版积分规则

QQ|手机版|赛格电脑 华强北 电脑城 南山赛格 龙岗电子世界 龙华电脑城 沙井电脑城 松岗电脑城 pc4g.com ( 粤ICP备16039863号 )

GMT+8, 2025-8-29 20:57 , Processed in 0.098511 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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