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编辑  收藏  举报
 

分类:

技术点:

相关文章:

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