课程: Apache HTTP Server: Installation, Configuration, and Management
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Testing Apache: Serving a simple HTML page - Apache教程
课程: Apache HTTP Server: Installation, Configuration, and Management
Testing Apache: Serving a simple HTML page
- [Instructor] In this video, we will test the functionality of the Apache HTTP server by serving a simple HTML page. This step will confirm that Apache is working correctly with extra HTML codes and serving content as expected. So let's get started. The first thing first, I want you to log into your Linux machine as root. You could go through the PuTTY session, double click on your PuTTY icon, select the previously saved session, and click on load, and then click on open. Log in as root, followed by the root password. All right, very good. You could make this window bigger. All right, if we are trying the functionality of HTTP and adding extra code, the first thing we have to do is verify if the Apache is running. So first, ensure it is running by typing systemctl status. I'm sure you remember this by now, httpd, right? Good and hit enter. The status should show active and running. Yes, it is active and it is running, perfect. Of course, if the service is not running, or inactive…