Last active
May 8, 2024 02:14
-
-
Save prianichnikov/b1020cf1fe20c6677839cf7f7214de1f to your computer and use it in GitHub Desktop.
This file contains 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