linux httpd 服务的安装

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>'

 

>

 

posted @ 2016-10-16 19:03  gidos  阅读(2832)  评论(0编辑  收藏  举报