Menu
Today we are going to install the latest version of Apache “Apache 2.4.23” on a new fresh updated CentOS 7. You can use this tutorial for CentOS 6 as well. Make sure you have already installed following packages on your server. Yum install gcc yum install make yum install openssl-devel yum install apr-devel yum install apr-util-devel yum install wget Then, we will choose the latest version from Apache website. And download it. An update: If you are using this article on CentOS 7, the APR version on yum won’t work for you, and you should compile the apr, and apr-util from source, so please remove it from your server if you installed it via yum, and try following: cd /usr/src wget wget tar xvfz apr-1.5.2.tar.gz tar xvfz apr-util-1.5.4.tar.gz cd apr-1.5.2./configure -bindir=/usr/bin/ make && make install cd./apr-util-1.5.4./configure -bindir=/usr/bin/ -with-apr=/usr/bin/apr-1-config make && make install Now you are able to continue with the rest of guide.
Cd /usr/src wget tar xvfz httpd-2.4.23.tar.gz Now we will start building Apache from source and install it on our server. Cd httpd-2.4.23./configure -help We have to know which module of apache we want to install and include them on the./configure command.
![Centos Centos](/uploads/1/2/5/4/125420234/551938239.png)
![How To Install Daloradius On Centos 6 How To Install Daloradius On Centos 6](http://uranio-235.github.io/images/ddwrt_radius.png)
It is really easy, as you only need to know the module name and type it with “–enable-(module-name)”. For example, we want to install apache with SSL module, so we will type “–enable-ssl” By default, Apache will install all its architecture-independent files in “/usr/local/apache2”. If you want to change this directory we have to set the –prefix option in./configure. I will use /etc/httpd/ for this option in this tutorial. But, make sure that you are not overwriting your old configuration if you already have installed apache before. I am also using “–sbindir” option to specify the directory where system administrator executables will be installed. Those are server programs like httpd, apachectl, suexec, etc. Which are necessary to run the Apache HTTP Server.
Mkdir /etc/httpd/./configure -prefix=/etc/httpd/ -sbindir=/sbin/ -enable-ssl -enable-so make make install Now we are ready to go, we can start Apache server and go ahead with configurations. Apachectl start That’s it! Should you have any question or problem regarding this post please leave a comment below.
FreeRADIUS is the most popular open source RADIUS server[2] and the most widely deployed RADIUS server in the world.[2] It supports all common authentication protocols, and the server comes with a PHP-based web user administration tool called dialupadmin.