1796440575hth

httpd服务的安装与配置

1.安装httpd服务

[root@localhost /]# yum install httpd -y

2.安装完成后重启,关闭防火墙

[root@localhost /]# systemctl restart httpd.service  #重启httpd服务


[root@localhost /]# systemctl stop iptables.service   #关闭防火墙

3.进入html文件  ‘ cd /var/www/html’ 将已经编辑好的html文件拖进去【我用的file zilla 软件】

4.在自己的浏览器上输入服务地址就能进入你编辑好的html里

发表于 2016-11-02 15:25  大叔309  阅读(167)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

猜你喜欢
相关资源
相似解决方案