赞
踩
操作系统:CentOS7
systemctl disable firewalld.service
systemctl stop firewalld.service
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
#关闭了selinux需要重启服务器生效
reboot
安装epel源
yum -y install epel-release
- tee /etc/yum.repos.d/pritunl.repo<< EOF
-
- [pritunl]
-
- name=Pritunl
-
- baseurl=https://repo.pritunl.com/stable/yum/centos/7/
-
- gpgcheck=0
-
- enabled=1
-
- [mongodb-4.4]
-
- name=MongoDB
-
- baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.4/x86_64/
-
- gpgcheck=0
-
- enabled=1
-
- EOF

yum clean all && yum makecache
我们实验就用epel源中最新版(openvpn-2.4.11-1.el7.x86_6
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。