-
-
Save Handsome1080P/0c523f27a71c88cb94dc549b67c607d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Обновление системы и пакетов | |
apt-get update | |
apt-get upgrade -y | |
# Установка пакетов для сборки softether | |
apt-get install build-essential libreadline-dev libssl-dev libncurses-dev zlib1g-dev git | |
# Скачивание репозитория Stable версии | |
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git | |
# Компилирование исполняемых файлов | |
cd SoftEtherVPN_Stable | |
./configure | |
make | |
# Копирование файлов | |
cp -r bin/vpnserver /opt/ | |
cp bin/vpncmd/vpncmd /opt/vpnserver/ | |
# Выставление прав доступа на файлы | |
chmod 755 -R /opt/vpnserver/ | |
# Установка сервера как службы | |
cp systemd/softether-vpnserver.service /etc/systemd/system/ | |
systemctl daemon-reload | |
systemctl enable softether-vpnserver.service | |
systemctl start softether-vpnserver.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment