原文:利用apt-mirror和apache2搭建服务器

我们的目的是搭建一个能够在局域网内使用的软件源服务器,总的来说,首先我们得利用apt mirror拷贝国内的镜像网站上的软件,然后再利用apache 把这个镜像挂上去。 好的,具体来说,首先我们得安装相关的软件 sudo apt get install apt mirror sudo apt get install apache 安装完软件后,我们还需要对其进行配置。因为通常情况下,我们都是给ub ...

2012-08-08 15:40 0 3177 推荐指数:

查看详情

使用apt-mirror搭建debian本地仓库

apt-mirror能够将官方镜像下载到本地,并保证目录结构与其一致,但是不能对镜像仓库进行修改。如果想要修改镜像仓库,需要使用reprepro。 1、安装apt-mirror 2、修改配置文件,添加要下载的源(我这里添加的是debian_squeeze的源) 3、手动运行 ...

Tue Aug 22 19:44:00 CST 2017 0 2652
apt-mirror搭建ubuntu离线软件源

一、准备环境 1. 系统:ubuntu 16.04.6(LTS) 64位 2. 镜像软件:apt-mirror 0.5.1-1ubuntu1 3. HTTP协议发布软件:nginx 1.10.3-0ubuntu0.16.04.4 二、安装软件 三、配置apt-mirror ...

Sun Sep 15 05:36:00 CST 2019 0 1161
使用apt-mirror搭建debian镜像源

debian官方提供了脚本ftpsync来搭建源镜像,而 apt-mirror 是一个更简单便捷的源镜像搭建工具。 安装 apt-mirror sudo apt-get install apt-mirror 配置文件/etc/apt/mirror.list只要修改很少的地方,大部分使用默认值 ...

Sun Sep 01 08:39:00 CST 2019 0 664
ubuntu apt-mirror 同步源到本地

1.下载 apt-mirror apt-get install apt-mirror 2.修改配置 root@wangjq:/wangjq# cat /etc/apt/mirror.list############# config ################### 以下注释的内容都是 ...

Sun Aug 04 18:00:00 CST 2019 0 1019
Ubuntu 16.04 LTS 使用 Apache2 搭建 HTTP 文件服务器

环境说明 安装软件 安装apache2: 配置以后不升级: 配置 创建/etc/apache2/conf-available/http-fileserver.conf配置文件,内容以下: 链接到conf-enabled目录: 创建 ...

Wed Nov 11 00:38:00 CST 2020 0 627
ubuntu apache2服务器配置

把django开发好的项目部署到apache2服务器。 记录我的配置过程。 apache,django,mod_wsgi,python版本如下。不同版本大同小异。 一、apache2配置说明 ubuntu 用apt-get install apache2安装apache2后 ...

Sat Feb 07 22:26:00 CST 2015 0 32578
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM