vim /etc/yum.repos.d/base.repo-------------------------------写仓库
vim /etc/fstab ------------------------------------------------------永久挂载
mount -a------------------------------------------------------------挂载生效
dnf install httpd -y------------------------------------------------装包
systemctl stop firewalld.service ----------------------------------停止防火墙
systemctl disable firewalld.service ------------------------------防火墙开机不自启
systemctl status firewalld.service -----------------------------------------------查看防火墙状态
setenforce 0---------------------------------------------------------------------------关闭seseinux
vim /etc/httpd/conf.d/xunimulu.conf-----------------------------------写配置
mkdir /xunimulu/1/2/3/4/5 -pv---------------------------------------------------------创建目录
echo this is zijiemian > /xunimulu/1/2/3/4/5/index.html------------------------写内容
访问192.168.111.23/file