CentOS7 安装httpd服务

1、配置网络

我的网卡ens33.

[网络安全学习篇附]:CentOS7 安装httpd服务

vi /etc/sysconfig/network-scripts/ifcfg-ens33

[网络安全学习篇附]:CentOS7 安装httpd服务

 安装httpd服务

 yum install httpd -y

 开启httpd服务

systemctl start httpd.service

查看80端口是否开启

netstat -antpl

[网络安全学习篇附]:CentOS7 安装httpd服务

关闭防火墙

systemctl stop firewalld

测试:

 [网络安全学习篇附]:CentOS7 安装httpd服务

相关文章:

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