作者 | 时间 |
---|---|
雨中星辰 | 2024-03-11 |
**本文需要在在凝思6.0.80/Debian 8上配置本地源的基础上进行。
- 安装apache2:
apt-get install apache2
- 将操作系统镜像挂载到/var/www/html(ps:如果已挂载,则先使用
umount 挂载目录
卸载) - 启动apache2:
systemctl start apache2
- 备份apt源的配置文件,将原有配置删除,添加新的配置如下:
deb http://192.168.40.128/ jessie contrib main non-free
- 更新apt源:
apt-get update
- 测试:安装软件:
apt-get tree
(如果已经安装,则先卸载:apt-get automove tree
)
上述步骤只需要在一个节点操作,其他节点,只需要执行步骤4、5,即可。
网友评论