Openvpn
在 AlmaLinux 8.4 上安裝 OpenVPN 失敗
我試圖在我的新 AlmaLinux 8.4 上安裝 OpenVPN,但它失敗了。syslog 或 OpenVPN 日誌中沒有錯誤日誌。這是我在安裝過程的最後階段遇到的錯誤。
cp: cannot stat '/lib/systemd/system/openvpn@.service': No such file or directory sed: can't read /etc/systemd/system/openvpn@.service: No such file or directory sed: can't read /etc/systemd/system/openvpn@.service: No such file or directory Failed to enable unit: Unit file openvpn@server.service does not exist. Failed to restart openvpn@server.service: Unit openvpn@server.service not found. Created symlink /etc/systemd/system/multi-user.target.wants/iptables-openvpn.service → /etc/systemd/system/iptables-openvpn.service.
我從那裡下載了腳本
wget https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh
,系統處理器是AMD EPYC 7282
我對 AlmaLinux 很陌生,我不知道 OpenVPN 是否可以在這台伺服器上工作。謝謝你的幫助
Almalinux 不支持此腳本,根據社區的評論,它將很快添加: https ://github.com/Nyr/openvpn-install/issues/871
另一種解決方案是根據送出請求的送出更改您的安裝腳本(未確認)
https://github.com/Nyr/openvpn-install/commit/44e4c14a8725827a1f38e1c1a577438d2bff0fc9