原文:利用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