1、第一步:安装Apache httpd在终端输入:yum install httpd –y等待安装完成
2、第二步:配置Apache httpd在终端输入:vim /etc/httpd/conf/httpd.conf 打开配置文件(排版复杂,这里用图片展示)

时间:2024-10-18 15:31:20
1、第一步:安装Apache httpd在终端输入:yum install httpd –y等待安装完成
2、第二步:配置Apache httpd在终端输入:vim /etc/httpd/conf/httpd.conf 打开配置文件(排版复杂,这里用图片展示)