How to Install and Configure Apache HTTPD 2.4 Server Manually In Linux - Complete Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 30

  • @santhoshsandy2604
    @santhoshsandy2604 ปีที่แล้ว

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

  • @GptGlobal-ts9ry
    @GptGlobal-ts9ry 9 หลายเดือนก่อน +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  6 หลายเดือนก่อน

      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

  • @animehub38n2
    @animehub38n2 10 หลายเดือนก่อน +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 8 หลายเดือนก่อน +1

    Totally a incredible video, thanks for sharing

  • @TheMrAnonymous3
    @TheMrAnonymous3 2 หลายเดือนก่อน +1

    Thank you sir🥹

  • @DivyaKumar-dj6ko
    @DivyaKumar-dj6ko 3 หลายเดือนก่อน

    Hi , I have to upgrade in my env from Apache Httpd 2.4.57 to 2.4.57SP2 package so I required execution steps can you please provide

    • @ioscoding1
      @ioscoding1  3 หลายเดือนก่อน

      are these compiled packages or distro installed? I would suggest checking out the official doc for compatibility purposes.

  • @banavathtarun4909
    @banavathtarun4909 ปีที่แล้ว +1

    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  11 หลายเดือนก่อน

      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

  • @devp8651
    @devp8651 ปีที่แล้ว

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

  • @neilparreno1223
    @neilparreno1223 3 หลายเดือนก่อน

    I installed apache on oracle linux 9 this way. I also want to setup php and mariadb with this setup can you help me?

    • @ioscoding1
      @ioscoding1  3 หลายเดือนก่อน

      Is there any specific use case you want to install your own LAMP stack? LAMP and MAMP softwares are already available if you just want to do the testing.

  • @avinashyepuri
    @avinashyepuri 3 หลายเดือนก่อน

    Iam following this step to install apache
    I am getting one error like fatal error
    How to resolve this pls explain

    • @ioscoding1
      @ioscoding1  3 หลายเดือนก่อน

      would you be able to share the logs about error? where exactly is the error coming up at?

  • @142_mayankgajbhiye9
    @142_mayankgajbhiye9 9 หลายเดือนก่อน

    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 9 หลายเดือนก่อน

      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  6 หลายเดือนก่อน

      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.

    • @yusifya-adzagey6365
      @yusifya-adzagey6365 3 หลายเดือนก่อน

      @@ioscoding1 Any Guide to create the Service Unit?

  • @rulebraker786
    @rulebraker786 ปีที่แล้ว

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

  • @mjc.5965
    @mjc.5965 ปีที่แล้ว +1

    Muchas gracias, muy bien explicado.

  • @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  11 หลายเดือนก่อน

      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.

  • @mujtabarehman5510
    @mujtabarehman5510 10 หลายเดือนก่อน

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

    • @ioscoding1
      @ioscoding1  9 หลายเดือนก่อน

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

  • @GauravSingh-vw7fd
    @GauravSingh-vw7fd 7 หลายเดือนก่อน

    thanks for sharing

  • @RamanRaman-jn9bs
    @RamanRaman-jn9bs 2 ปีที่แล้ว

    Fantastic