安装apache httpd服务器

  • 3
  • 383 views
  • A+
所属分类:Notes

yum -y install httpd

service httpd restart或者systemctl start httpd

firewall-cmd --permanent --add-service=http

firewall-cmd --reload

systemctl enabled httpd

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:3   其中:访客  3   博主  0

    • ag

      pstree
      ps -auxw|grep 80

      • ag

        cd /etc/httpd/conf/

        • ag

          cd /var/www/html
          vim index.html