12/20/2023 0 Comments Centos install apache![]() ![]() With Apache installed and running, you can use the systemctl inspection tool to manage Apache.įor example, to stop Apache, run the command: $ sudo systemctl stop httpd This is a sure confirmation that the webserver is running. When you browse the server’s IP address, you should get the following web page displayed. If your server is hosted on the cloud, you can obtain the public IP by running the curl command. You can obtain your server IP by running the ifconfig command. To clear any doubts that the webserver is running, request a test page from Apache by browsing your server’s IP address or domain name as shown. $ sudo systemctl status httpdįrom the output, the ‘ active’ status in green indicates that the Apache webserver is up and running. To confirm if the service is running, execute. To start the Apache HTTP web service, run the systemctl command. The command prints out an array of information such as the version, release date, build and architecture of the package. Once installed, you can verify the version of Apache by running the rpm command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |