How to Install and Configure Apache HTTPD 2.4 Server Manually In Linux - Complete Guide
HTML-код
- Опубликовано: 10 сен 2024
- In this video we will learn about how to compile, install and configure Apache HTTPD Server 2.4 Manually in Linux Server.
Even though you can install the Apache HTTPD server in Linux server using built-in package manager such as Yum, however, there are still cases when you may have a need to download the latest released version which is not a part of your repository list yet. If you're looking to set up a new Apache HTTPD server for yourself or for a client, then this tutorial is for you! I'll walk you through the entire process, from installation to configuration. This guide is complete and contains all the information you need to get started with Apache HTTPD 2.4 server!
Apache HTTPD is a powerful Web Server which brings tons of functionality along with it. At the end of this video, you will be running your own Apache HTTPD web server.
------------------------------------
LINKS
------------------------------------
Apache HTTPD 2.4 : httpd.apache.org/
APR & APR UTIL: apr.apache.org...
PCRE2: github.com/rur...
PCRE2 Unofficial Mirror: sourceforge.ne...
#apachewebserver #linux #howtoinstallapachehttpd
Good to see someone really knows how to install Apache. Most tutorial video always choose sudo apt ... But they don't know the best practice is always manually because it works on Linux distro. I have a request can you make a video how to install nghttp2 and enable with apache for http v2 manually?
Totally a incredible video, thanks for sharing
This is the best video, i found for apache installation. please doo more videos ..
thanks for sharing
Hi, I have completed a very nice video installation. What I want to ask is that when we install with yum install, the etc/httpd folder is not created in manual installation. so what action do we need to take. I need to define my ssl certificate by adding a new .config file via keystore.
yes! you are correct about /etc/httpd folder not being created. Purpose of manually installing httpd ( into a different directory, other than default /etc/httpd) is to ensure that system updates (through yum or by other means) do not overwrite any customization for our server installation. This also applies to HTTP Server itself i.e. if a new version is released you will have to manually update your installation because yum package manager does not know it.
To answer your question, all you need to make sure that "mod_ssl" is installed and enabled. Then use its parameters to define the path of the certificate. No matter wherever you place the certificates, as long as httpd conf file knows where to locate it, it will be loaded in. Adding a new config file is also an option,but make sure that you include that file into main configuration file, so httpd engine knows about your additional configuration files. In your new file, suggestion mentioned above about SSL still applies.
READ: httpd.apache.org/docs/current/mod/mod_ssl.html
Muchas gracias, muy bien explicado.
Thanks Its very nice and very well explained Video. Can you please make one video on HAProxy installation and configuration?
very good.......very well explained............do you have more videos?
Fantastic
Can you help me to upgrade apache 2.4.54 to 2.4.57 using source code in oracle Linux 8.4
Hi. Upgrading from source code may require some additional work as if your enterprise is using custom modules, you will have to ,first, check the compatibility matrix, then compile all the required modules in the same way. Best practice would be to compile one module at a time (follow module instructions for any prerequisite) and spin the instance to make sure nothing is broken. Use the sandbox.
Im unable to use systemctl command after following your installation process, everything is running fine no errors, then why cant i use systemctl command with it
That command should be a preinstalled bash command with most if not all linux systems. Check with apt or apt-get and double check the command itself is available for you.
You won't be able to use the systemctl command to start or stop the httpd until you create a service unit fiile. This is required because Apache is installed manually, however, if you had used the package manager, yum package takes care of the unit file creation itself.
Hi @iOSCoding
It was a great Tutorial. I followed all the steps and see the page loading with text "It works!" after entering my IP in Google, but when I run the command httpd -V
I am getting this error "-bash: httpd: command not found". Is it because the symlink is not created?
Please help me on this
Hi. Thank you for your comment. Command not found may mean you are trying to execute the command from a different directory instead of bin directory given within the Apache Home. You may add this Apache’s bin into your Path variable, directly or via /etc/profile or ~/.bashrc
Hi @iOSCoding does this package include php module in it?
Hi. You may verify the modules available in httpd.conf file,and in the module directory . If not there,check php module installation documentation.