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

Комментарии • 22

  • @mormsophen3238
    @mormsophen3238 5 месяцев назад +2

    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?

  • @diegosantiagogutierrez4377
    @diegosantiagogutierrez4377 3 месяца назад +1

    Totally a incredible video, thanks for sharing

  • @santhoshsandy2604
    @santhoshsandy2604 Год назад

    This is the best video, i found for apache installation. please doo more videos ..

  • @GauravSingh-vw7fd
    @GauravSingh-vw7fd 2 месяца назад

    thanks for sharing

  • @GptGlobal-ts9ry
    @GptGlobal-ts9ry 5 месяцев назад +2

    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.

    • @ioscoding1
      @ioscoding1  2 месяца назад

      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

  • @mjc.5965
    @mjc.5965 Год назад +1

    Muchas gracias, muy bien explicado.

  • @rulebraker786
    @rulebraker786 Год назад

    Thanks Its very nice and very well explained Video. Can you please make one video on HAProxy installation and configuration?

  • @devp8651
    @devp8651 Год назад

    very good.......very well explained............do you have more videos?

  • @RamanRaman-jn9bs
    @RamanRaman-jn9bs Год назад

    Fantastic

  • @avinashsuroshi1864
    @avinashsuroshi1864 Год назад

    Can you help me to upgrade apache 2.4.54 to 2.4.57 using source code in oracle Linux 8.4

    • @ioscoding1
      @ioscoding1  6 месяцев назад

      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.

  • @142_mayankgajbhiye9
    @142_mayankgajbhiye9 4 месяца назад

    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

    • @grimjr7175
      @grimjr7175 4 месяца назад

      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.

    • @ioscoding1
      @ioscoding1  2 месяца назад

      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.

  • @banavathtarun4909
    @banavathtarun4909 Год назад

    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

    • @ioscoding1
      @ioscoding1  6 месяцев назад

      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

  • @mujtabarehman5510
    @mujtabarehman5510 5 месяцев назад

    Hi @iOSCoding does this package include php module in it?

    • @ioscoding1
      @ioscoding1  5 месяцев назад

      Hi. You may verify the modules available in httpd.conf file,and in the module directory . If not there,check php module installation documentation.