网站服务程序
1.Apache 服务对应的软件包名称:httpd
2.安装方式:yum/dnf install httpd -y
3.启动httpd:systemctl start httpd
4.设置为开机启动:systemctl enable httpd
配置服务文件参数
1.主配置文件:保存的是最重要的服务参数,一般保存到/etc目录中,名字为 服务名称.conf,例如httpd的主配置文件路径:/etc/httpd/conf/httpd.conf.
SElinux安全子系统
1.SElinux三种配置模式:
2.semanage命令
实例