In this article we will share with you guys on how to install or upgrade.
First of all we will do a yum repo update first by run the following command:
yum update
Then we can download the necessary files to install or update our apache web server. You can download it at code it guru repository by clicking this link here.
This are the list of necessary files that are needed:
- httpd-2.4.52-1.codeit.el7.x86_64.rpm
- httpd-filesystem-2.4.52-1.codeit.el7.noarch.rpm
- httpd-tools-2.4.52-1.codeit.el7.x86_64.rpm
- mod_http2-2.0.2-1.codeit.x86_64.rpm
- mod_ssl-2.4.52-1.codeit.el7.x86_64.rpm
Once download the necessary files, put all the files in one folder example "httpd-2.4.52" for apache version 2.4.52. You can put in your home directory at /home/user/httpd-2.4.52.
When all files is ready, simply run the following command:
rpm -Uvh /home/user/httpd-2.4.52/*.rpm
Replace -Uvh with -ivh if you are doing a fresh install, in my cases I am doing an upgrade from old apache server.
Below are the list of options info for your reference:
i - install (This installs a new package)
v - verbose (using or expressed in more words than are needed)
h - hash (Print 50 hash marks as the package archive is unpacked)
U - upgrade (This upgrades or installs the package currently installed to a newer version. This is the same as install, except all other version(s) of the package are removed after the new package is installed)
Hopefully this helps and share with your friends and teams. 😃