I am a self taught iOS developer 💻, an experienced IT Systems Administrator and an IT Geek who is always exploring something by learning and who believes in sharing the experiences and knowledge with the world out there. More we share, more comes back to us and we learn more from it.
Only one thing matters, Don't Quit and Keep Learning.
Your feedback is much appreciated, I will try to make more videos and share it with you.
Excellent video. Can you explain how to install a certificate without requiring the passphrase? Restarting http prompts for a passphrase since the certificate is encrypted. So would that require creating a server.key without the passphrase?
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, 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. 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 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
I do not have hosting for the Apach server, but I have a domain, and I put in the dns records exactly in the A record, and I put an ip belonging to Apache, so how do I do ssl
You should create a CNAME record mapped to the A record of the webserver. Let the dns update finish. You may search in google about adding www record in dns provider. Your hosting provider might have its own documentation to do so.
you are missing expat. One option is to install apr and apr-util using yum or your package manager which will include expat (as it is a requirement). Second option is to look for the package which provides expat and install it manually.
Thanks for sharing. I have an issue after compiling project. In storyboard all constraints habitant look good in both mode(portrait, landscape), but when i start rotate in simulator in landscape mode layout go away. Do you have any thoughts what is going wrong?
You will have to play around with constraints and size classes. You may try width greater or equal to for Regular Width only. For a complex layout, often storyboards are not your friend.