美文网首页
在凝思6.0.80/Debian 8上配置本地网络源

在凝思6.0.80/Debian 8上配置本地网络源

作者: 雨中星辰0 | 来源:发表于2024-03-18 14:32 被阅读0次
作者 时间
雨中星辰 2024-03-11

**本文需要在在凝思6.0.80/Debian 8上配置本地源的基础上进行。

  1. 安装apache2:apt-get install apache2
  2. 将操作系统镜像挂载到/var/www/html(ps:如果已挂载,则先使用umount 挂载目录卸载)
  3. 启动apache2:systemctl start apache2
  4. 备份apt源的配置文件,将原有配置删除,添加新的配置如下:
    deb http://192.168.40.128/ jessie contrib main non-free
    
  5. 更新apt源:apt-get update
  6. 测试:安装软件:apt-get tree(如果已经安装,则先卸载:apt-get automove tree

上述步骤只需要在一个节点操作,其他节点,只需要执行步骤4、5,即可。

相关文章

网友评论

      本文标题:在凝思6.0.80/Debian 8上配置本地网络源

      本文链接:https://www.haomeiwen.com/subject/ryypzdtx.html