Verified and Tested 04/02/21
In this How-To, we will walk you through the install of Apache in CentOS 8.
Apache is a web server that is very popular in Linux systems and over the Internet. It is used by many Web Hosting companies world wide because of its popularity and efficiency in hosting sites over the World Wide Web.
A cloud server with CentOS 8 already installed. If you currently do not have a server, consider one of the many affordable virtual private servers from Atlantic.Net.
Installing Apache on CentOS 8
Install Apache with the following command:
sudo yum install httpd
Start Apache with the following command:
sudo systemctl start httpd
You will want the Apache service to start on start-up/reboot with the following command:
sudo systemctl enable httpd
You can now verify that Apache is installed correctly by typing http:// and your IP on your browser.
You should see the following screenshot in your browser:
Congratulations! You have just installed Apache on your CentOS 8 Cloud Server. Thank you for following along in this How-To and check back with us for any new updates.