Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install OpenSSL & Freeradius from sources on Linux CentOS 7 x86_64

Install OpenSSL & Freeradius from sources on Linux CentOS 7 x86_64

Steps to compile OpenSSL from sources

:~# curl -O http://openssl.org/source/openssl-<version>.tar.gz
:~# tar xvf openssl-<version>.tar.gz
:~# cd openssl-<version>
:~# yum install perl gcc make zlib-devel -y
:~# ./config --prefix=/usr/local --openssldir=/usr/local/openssl shared zlib-dynamic
:~# make && make install
:~# echo "/usr/local/lib64" > /etc/ld.so.conf.d/openssl.conf

Steps to compile Freeradius from sources

:~# curl -O ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-<version>.tar.gz
:~# tar xvf freeradius-server-<version>.tar.gz 
:~# cd freeradius-server-<version>
:~# yum install -y libtalloc-devel openldap-devel
:~# ./configure  --prefix=/usr/local/freeradius/ --sysconfdir=/etc 
:~# make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.