本文使用的服务器
- DigitalOcean, 1CPU,1G, 优惠
- CentOS 8.2
- OpenVPN 2.5.3
安装 OpenVPN
1 2 3 4 5 6 7 8 9 10 11 | #启用 |
Remi 主打 php 及相关扩展, 所以安装 php 这个库是不二选择.
首先进入 Remi 网站, 在 Maintained Enterprise Linux (RHEL / CentOS / Other clones) 列表中找到 Enterprise Linux 8 项后面的 remi-release-8.rpm , 执行下面的命令安装.
1 | dnf install |
安装 dnf-automatic
1 | dnf install dnf-automatic |
编辑配置文件
1 | nano /etc/dnf/automatic.conf |
修改配置
1 | apply_updates = yes |
保存退出
启动dnf计时器
本文介绍使用 StrongSwan 搭建 VPN 的过程,适合有一定 linux 基础的用户。
StrongSwan 是基于 OpenSource IPsec 的 VPN 解决方案,官方网站:https://www.strongswan.org/ ,如果无法访问请使用科学上网,原因你懂的。
本文描述从一个初始系统开始逐步完成搭梯的过程。
以 root 用户登录
安装 epel 源
1 | dnf install |