Step one: Install the Apache service program (the package name of the apache service is httpd)
yum install httpd -y
(Recommended tutorial: centos usage tutorial )
Step 2: Add the Apache service to the startup process
Step 3: Open the firefox browser to test 127.0.0.1
Related video tutorial recommendations: linux video tutorial
The above is the detailed content of How to use yum to install apache under centos system. For more information, please follow other related articles on the PHP Chinese website!