- 虚拟机环境:
- node1:192.168.1.10
- 利用镜像搭建本地软件仓库
- 安装共享软件
- 共享方式:http:// 超文本传输协议
- 提供此协议的软件: Apache
- 软件包名称: httpd
- 共享位置:
/var/www/html
- 安装命令 在node1:
dnf install httpd -y
- 启用共享软件Apache
systemctl stop firewalld
systemctl disable firewalld
systemctl enable --now httpd
4. 建立共享目录
- rhel_8是自己建立的目录,名字可以随意
mkdir /var/www/html/rhel_8