Skip to content

Instantly share code, notes, and snippets.

@hernandanielg
Last active October 3, 2018 04:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hernandanielg/38669829fabe5fdc41bf to your computer and use it in GitHub Desktop.
Save hernandanielg/38669829fabe5fdc41bf to your computer and use it in GitHub Desktop.
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