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
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?
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
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.
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. 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.
This is the best video, i found for apache installation. please doo more videos ..
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
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
Thank you sir🥹
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
are these compiled packages or distro installed? I would suggest checking out the official doc for compatibility purposes.
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
very good.......very well explained............do you have more videos?
I installed apache on oracle linux 9 this way. I also want to setup php and mariadb with this setup can you help me?
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.
Iam following this step to install apache
I am getting one error like fatal error
How to resolve this pls explain
would you be able to share the logs about error? where exactly is the error coming up at?
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.
@@ioscoding1 Any Guide to create the Service Unit?
Thanks Its very nice and very well explained Video. Can you please make one video on HAProxy installation and configuration?
Muchas gracias, muy bien explicado.
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.
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.
thanks for sharing
Fantastic