56gt 发表于 2018-11-17 11:03:20

部署LAMP平台中的: A(Apache网页)优化

systemctl start httpd.service   systemctl status httpd.service
  ● httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Active: active (running) since 一 2018-06-25 11:38:22 CST; 1s ago
  Docs: man:httpd(8)
  man:apachectl(8)
   systemctl stop firewalld.service
   systemctl status firewalld.service
  ● firewalld.service - firewalld - dynamic firewall daemon
  Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
  Active: inactive (dead) since 三 2018-05-16 13:42:04 CST; 1 months 9 days ago
  Docs: man:firewalld(1)
   setenforce 0
   echo "this is accp" > /var/www/html/index.html #添加一个首页

页: [1]
查看完整版本: 部署LAMP平台中的: A(Apache网页)优化