User Tools

Site Tools


linux:repomirror

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:repomirror [2023/03/04 09:15] olaflinux:repomirror [2023/03/04 09:21] (current) – Corrected link olaf
Line 3: Line 3:
 When running a Debian system (Debian, Ubuntu, Cumulus, ...) without internet connection, it cannot receive upgrades with ''apt update && apt upgrade -y''\\ When running a Debian system (Debian, Ubuntu, Cumulus, ...) without internet connection, it cannot receive upgrades with ''apt update && apt upgrade -y''\\
 But with any Debian based system that is online, it is possible to download the required packages and dependencies (!). But with any Debian based system that is online, it is possible to download the required packages and dependencies (!).
-With only a very few systems at the same patchlevel, it might be quicker to just download the required packages as in [[linux:kvmqemu:expanddiskKVM/ QEMU Extend a virtual disk]].+With only a very few systems at the same patchlevel, it might be quicker to just download the required packages as in [[linux:aptoffline|Repository for offline systems]].
 But, when the systems are at different patch levels or to ensure a system can be recovered from an image after a disaster it might be valuable to have a full repository of the used distribution. But, when the systems are at different patch levels or to ensure a system can be recovered from an image after a disaster it might be valuable to have a full repository of the used distribution.
  
Line 52: Line 52:
 When the replication is finished, the whole directory should be packed and moved to the offline system for publication. When the replication is finished, the whole directory should be packed and moved to the offline system for publication.
 <code bash> <code bash>
-tar -czPf freedebian.tar.gz /var/spool/apt-mirror/freedebian/+tar -czPf freedebian.tar.gz /var/spool/apt-mirror/freedebian/</code>
  
  
Line 58: Line 58:
 ==== Create a repository server on the offline network ==== ==== Create a repository server on the offline network ====
  
-On the target network with a fresh Debian installation run ''tasksel'' and select the ''web server''+On the target network with a fresh Debian installation run ''tasksel'' and select the ''web server''.\\ 
-That will install apache2 with a standard, non-ssl web site active, with the files at /var/www/html/+That will install apache2 with a standard, non-ssl web site active, with the files at ''/var/www/html/''\\
  
 Unpack the archive created online:<code bash> Unpack the archive created online:<code bash>
linux/repomirror.1677921331.txt.gz · Last modified: 2023/03/04 09:15 by olaf