Author: Mauro Gaspari
This recipe provides step by step instructions on how to install ocserv from EPEL repository on RHEL and CentOS operating systems.
This Recipe was tested on the following platforms:
- CentOS 7 on amd64 architecture
- Fedora 25 on amd64 architecture
This recipe assumes the reader has a basic understanding of a GNU/linux system and all commands are run from a privileged user. It is recommended to login the system using root. If not possible, execute "su root" or "sudo -s" to get highest privileges.
- During this recipe, CentOS and RHEL users will be asked to add the EPEL repository on Centos and RHEL. ocserv and radcli packages are only available on EPEL repository.
- Fedora users do not need to add EPEL repository. ocserv and radcli packages are available on Fedora repositories.
-
Add EPEL repository to CentOS, or see instructions for RHEL
yum install epel-release
-
Confirm the repository when asked.
-
Check if the EPEL repository is enabled
yum repolist enabled
-
Check if ocserv is available for install:
yum info ocserv
-
Install ocserv. This will install ocserv and its dependencies, including radcli radius libraries.
yum install ocserv
-
Check if ocserv is available for install:
dnf info ocserv
-
Install ocserv. This will install ocserv and its dependencies, including radcli radius libraries.
dnf install ocserv
This concludes Ocserv Installation - CentOS, RHEL, Fedora recipe. At this point Openconnect server should be ready to be configured.