我在 AWS Ubuntu 环境中运行 OpenVPN 访问服务器,版本为 2.0.12-Ubuntu14。我需要将其升级到至少 2.1 版本。最好的做法是什么?
我尝试了 apt-get,但它告诉我我已经拥有最新版本。
me@myserver:~$ apt-get upgrade openvpn-as -s
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
openvpn-as is already the newest version.
(我不想从 AMI 安装新的服务器实例,因为我必须重新创建很多用户。)
编辑-解决方案发布如下。
答案1
sudo -s
wget http://swupdate.openvpn.org/as/openvpn-as-2.1.2-Ubuntu14.amd_64.deb
dpkg -i openvpn-as-2.1.2-Ubuntu14.amd_64.deb