1.查看是否安装了httpd

rpm -qa|grep httpd

2.安装httpd 使用yum 安装

yum -y install httpd

3.关闭防火墙和selinxu

4.使用fz软件或者其他可以登录 linux 上传测试网站

5.输入 ip 地址 查看网站

 

 

可以安装php

自己编写一个index.php

 

<?php

 

echo '<p>第一个网站</p>'

 

>

 

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2021-12-19
  • 2021-11-26
  • 2021-12-18
  • 2021-06-15
  • 2021-05-04
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2021-10-05
  • 2021-12-18
  • 2021-12-29
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案