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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2417|回复: 0

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

[复制链接]
发表于 2023-9-14 22:53:15 | 显示全部楼层 |阅读模式
How to Install and Configure SoftEther VPN on Ubuntu (operavps.com)
5 O. J6 v& m) B; l! Q3 F% y有客户有需求,以前都是老版本  * X! g4 }: t% O% v9 ^$ Q

  E, Z5 ~# U( ^4 Q' C9 v[size=14.9625px]apt[size=14.9625px]-[size=14.9625px]get[size=14.9625px] [size=14.9625px]update[size=14.9625px] –y/ D! F  Z3 w: I! I
[size=14.9625px]
) B$ f( U8 B) |" R& r8 ?

3 m9 H# v5 q$ K) 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报错9 P7 n- e) N: z# h% n) r
2 Z& E, }- W  c+ O6 O
wget https://www.softether-download.c ... ux-x64-64bit.tar.gz
) m. ~6 \4 J; _  @! g0 x6 S& w, j( H1 k& f' z7 R5 @% Z! _. B

/ r! v, d3 ~& `6 |" Q6 v7 \
1 w  K4 o0 N2 J  s2 Y1 o& a3 K" Gtar -xvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
4 D# [5 i- [; n0 W2 l9 B8 i5 N. ^1 u4 a  a% r3 O  i' ~- H7 R+ |/ c

3 u: d/ f# ?. h- R( c[size=14.9625px]cd[size=14.9625px] vpnserver// y( D. Q# T: A2 @+ E% X4 B" ?; \
[size=14.9625px]
' n5 Z: I6 f) d8 A
2 n& `' k* K% B. `0 H: y5 g
[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
% w2 Y$ r0 \! o6 w) a[size=14.9625px]4 c% Z% n* y/ W# s

! y* c6 J6 p  E' X( D[size=14.9625px]make
+ H  A& [+ Y! b0 s% I( @[size=14.9625px]7 l" |& K' a7 p6 `, T9 l6 Y
3 ~% {( n/ P+ \5 s3 \1 l2 {
[size=14.9625px]cd ..sudo mv vpnserver /opt/softether2 [$ L, ^9 I7 T6 L' o4 h7 J
[size=14.9625px]; r9 e) R0 T7 G
) z: y) S- O+ U  s& N# X
[size=14.9625px]sudo /opt/softether/vpnserver start5 h1 I+ e7 i( G& P" r9 M
[size=14.9625px]
* L7 g1 ]: C! ?
' |' a) |6 ?0 H9 F( l6 J( {
[size=14.9625px]sudo /opt/softether/vpnserver stop$ Y% {% R$ S. D0 K) m! K! P6 X5 L
[size=14.9625px]" q/ W2 `1 L% ^+ S( G% N% t0 A
' A" ?7 k* X9 K1 z% y4 c8 D
[size=14.9625px]sudo nano /etc/systemd/system/softether-vpnserver.service0 t2 b3 H+ G" ^
[size=14.9625px]/ z5 Y& \* v1 G! ~. ]& }+ E
" m: {( k4 O$ v% [
[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.target1 d/ t3 o2 M! i/ F$ M; P
[size=14.9625px]
5 w$ {9 H: y+ {: d
& h" d  q2 L" S! X4 B
[size=14.9625px]sudo systemctl start softether-vpnserver: M, S, H1 @6 ~1 @- c) O7 f
[size=14.9625px]3 ~" a0 j1 V* h' F: x# [- |

: X1 E$ v" S$ B5 n# }. z; z[size=14.9625px]sudo systemctl enable softether-vpnserver
- N' a* i* h3 Z7 G: @5 r. k[size=14.9625px]
6 y! A3 b% R) p, \0 q: \) K- S# S( U
# y5 ]: w3 R4 o% ^  H
[size=14.9625px]systemctl status softether-vpnserver3 {/ A) p0 O# i" C# k$ ]; \
[size=14.9625px]
7 _( N/ D" y6 u* q# M3 M
. [- e8 J, W( f4 b/ M1 R
[size=14.9625px]. }7 E. {! f) }2 z. ?' T* g& q( ~
0 J4 o6 o/ q+ X, s. k4 {
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 08:42 , Processed in 0.085818 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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