Differences

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

Link to this comparison view

Next revision
Previous revision
sesipod:linux:debian:apt-mir-basic-disk [2017/06/18 06:08]
sesipod created
sesipod:linux:debian:apt-mir-basic-disk [2018/01/20 04:45] (current)
Line 1: Line 1:
 ======Secondary Drive Usage====== ======Secondary Drive Usage======
 +Assuming that your second drive is mounted at /mnt/disk2
 +
 ---- ----
 +
 +==== Install Pre Requirements ====
  
   apt-get install apt-mirror apache2 screen   apt-get install apt-mirror apache2 screen
 +
 +----
 +
 +==== Setup the Download Folder ====
 +
 +  mkdir /​mnt/​disk2/​apt-mirror
  
 ==== Setup and Start Apt-Mirror ==== ==== Setup and Start Apt-Mirror ====
Line 26: Line 36:
 # #
 #############​ end config ##############​ #############​ end config ##############​
 +
 +set base_path ​   /​mnt/​disk2/​apt-mirror
  
 deb http://​ftp.us.debian.org/​debian jessie main contrib non-free deb http://​ftp.us.debian.org/​debian jessie main contrib non-free
Line 68: Line 80:
 ==== Setup Apache2 To Expose Mirror Files ==== ==== Setup Apache2 To Expose Mirror Files ====
  
-  ln -s /var/spool/​apt-mirror/​mirror/​ftp.us.debian.org/​debian /​var/​www/​debian+  ln -s /mnt/disk2/​apt-mirror/​mirror/​ftp.us.debian.org/​debian /var/www/ftp/debian
  
 ---- ----