apache 安装

yum install httpd

 

安装完成后启动

service httpd start

 

Redirecting to /bin/systemctl start httpd.service

访问网页

Apache httpd安装与访问

可以在这个目录下修改

cd /var/www/html/ 然后添加index.html 内容为hello 再次访问

Apache httpd安装与访问

相关文章: