1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-20 02:30:40 +03:00
SoftEtherVPN/src/BUILD_UNIX.md

156 lines
3.9 KiB
Markdown
Raw Normal View History

2014-01-04 17:00:08 +04:00
How to build SoftEther VPN for UNIX
===================================
Requirements
------------
You need to install the following software to build SoftEther VPN for UNIX.
- Linux, FreeBSD, Solaris or Mac OS X.
- GNU Compiler Collection (gcc) and binary utilities. ***
2014-01-04 17:00:08 +04:00
- GNU Make (gmake).
- GNU C Library (glibc).
- POSIX Threads (pthread).
- OpenSSL (crypto, ssl).
- libiconv.
- readline.
- ncurses.
*** It has been noted that clang is also supported as an alternative to gcc.
2014-01-04 17:00:08 +04:00
For example, the following commands help you to install the above programs
on Fedora or CentOS Linux:
```
$ sudo yum -y groupinstall "Development Tools"
$ sudo yum -y install readline-devel ncurses-devel openssl-devel
```
And this command for Debian/Ubuntu:
```
$ sudo apt -y install gcc libncurses5-dev libreadline-dev libssl-dev make
```
2014-01-04 17:00:08 +04:00
How to Build
------------
To build the programs from the source code, run the following commands:
```
2014-01-04 17:00:08 +04:00
$ ./configure
$ make
```
2014-01-04 17:00:08 +04:00
If any error occurs, please check the above requirements.
How to Install SoftEther VPN Server, Bridge or Client
-----------------------------------------------------
To install the vpnserver, vpnbridge and vpnclient programs into the
/usr/bin directory, run the following as the root user:
```
2014-01-04 17:00:08 +04:00
# make install
```
2014-01-04 17:00:08 +04:00
After the installation will complete successfully:
- Execute 'vpnserver start' to run the SoftEther VPN Server background service.
- Execute 'vpnbridge start' to run the SoftEther VPN Bridge background service.
- Execute 'vpnclient start' to run the SoftEther VPN Client background service.
- Execute 'vpncmd' to run SoftEther VPN Command-Line Utility to configure
VPN Server, VPN Bridge or VPN Client.
- You can also use VPN Server/Client Manager GUI Tool on other Windows PC to
connect to VPN services remotely.
You can download the GUI Tools from http://www.softether-download.com/.
How to Run SoftEther VPN Server for Test
----------------------------------------
To start the SoftEther VPN Server background service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnserver/vpnserver start
```
2014-01-04 17:00:08 +04:00
To stop the service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnserver/vpnserver stop
```
2014-01-04 17:00:08 +04:00
To configure the running SoftEther VPN Server service,
you can use SoftEther VPN Command Line Management Utility as following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpncmd/vpncmd
```
2014-01-04 17:00:08 +04:00
Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Server remotely. You can download the GUI Tool
from http://www.softether-download.com/.
How to Run SoftEther VPN Bridge for Test
----------------------------------------
To start the SoftEther VPN Bridge background service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnbridge/vpnbridge start
```
2014-01-04 17:00:08 +04:00
To stop the service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnbridge/vpnbridge stop
```
2014-01-04 17:00:08 +04:00
To configure the running SoftEther VPN Bridge service,
you can use SoftEther VPN Command Line Management Utility as following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpncmd/vpncmd
```
2014-01-04 17:00:08 +04:00
Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Bridge remotely. You can download the GUI Tool
from http://www.softether-download.com/.
How to Run SoftEther VPN Client for Test
----------------------------------------
To start the SoftEther VPN Client background service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnclient/vpnclient start
```
2014-01-04 17:00:08 +04:00
To stop the service, run the following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpnclient/vpnclient stop
```
2014-01-04 17:00:08 +04:00
To configure the running SoftEther VPN Client service,
you can use SoftEther VPN Command Line Management Utility as following:
```
2014-01-04 17:00:08 +04:00
$ bin/vpncmd/vpncmd
```
2014-01-04 17:00:08 +04:00
Or you can also use VPN Client Manager GUI Tool on other Windows PC to
connect to the VPN Client remotely. You can download the GUI Tool
from http://www.softether-download.com/.
************************************
Thank You Using SoftEther VPN !
By SoftEther VPN Open-Source Project
http://www.softether.org/