Today, we will going to update apache server on Centos server to the latest version. By default CentOS 7 provide some predefined repositries but they are lots of packages which are not up to date.
Now, first of all we have find out the current version on our server. We can check it through this command:
You can get all repo at Centos.org website : http://mirror.centos.org/centos/7/
Now, before setting up the repositry you have to install EPEL.
Now, first of all we have find out the current version on our server. We can check it through this command:
Result:
Note: We will recommend you to take backup of your files before procedding to overcome any issue further.
You can get all repo at Centos.org website : http://mirror.centos.org/centos/7/
Now, before setting up the repositry you have to install EPEL.
Now to enable the centOS repositry
You have to install the latest apache package
Once installation is done you have to start apache