9
9
<link rel="stylesheet" type="text/css" href="/style.css" />
12
<div class="title"><span>Apt-Cacher NG maintenance page for @H</span></div>
13
<div class="title maxwid"><span>Apt-Cacher NG maintenance page for @H</span></div>
14
<div class="visarea maxwid" style="text-align:left">
14
15
<h2>Transfer statistics</h2>
15
16
<table border=0 cellpadding=2 cellspacing=1 bgcolor="black">
40
Note: data table is created based current log file. Deviation from real request count is possible due to previous log file optimization.
41
Note: data table is created based on the current log file. Deviation from real request count is possible due to previous log file optimization.
41
42
<h2>Configuration instructions</h2>
42
Please visit any invalid download URL to see <a href=/>configuration
43
Please visit any invalid download URL to see <a href="/">configuration
43
44
instructions</a> for users. For system administrators, read the manual
44
which may be available on the <a href=file:///usr/share/doc/apt-cacher-ng/html/index.html>local filesystem</a> or
45
be <a href=http://$SERVERIP/doc/apt-cacher-ng/html/index.html>browsable here</a>.
45
which may be available on the <a href="file:///usr/share/doc/apt-cacher-ng/html/index.html">local filesystem</a> or
46
be <a href="http://$SERVERIP/doc/apt-cacher-ng/html/index.html">browsable here</a>.
47
48
<form action="#bottom">
92
<label> <input type="checkbox" name="skipHeadChecks" value="sHC"> Skip header checks (faster, not detecting bad metadata)</label>
94
<label> <input type="checkbox" name="byPath" value="bP"> Validate by file name AND file directory (<font color=red>not recommended</font>)</label>
96
<label> <input type="checkbox" name="byChecksum" value="bS"> Validate by file name AND file contents through checksum (<font color=red>SLOW</font>). Also detects corrupted files.</label>
93
<label><input type="checkbox" name="skipHeadChecks" value="sHC"> Skip header checks (faster, not detecting bad metadata)</label>
95
<label><input type="checkbox" name="byPath" value="bP" id="idBP" onChange="endisCb('idBP','idBS');"> <i>Validate by file name AND file directory (<font color=red>not recommended</font>),</i></label>
97
<label><input type="checkbox" name="byChecksum" value="bS" id="idBS" onChange="endisCb('idBS','idTN');"> <i>then validate file contents through checksum (<font color=red>SLOW</font>), also detecting corrupt files,</i></label>
99
<label><input type="checkbox" name="truncNow" value="tN" id="idTN"> <i>then truncate damaged files immediately.</i></label>
98
101
<label><input type="checkbox" name="purgeNow" value="pN"> Purge unreferenced files after scan</label>
101
<input type="checkbox" name="justRemove" value="oR"> No scan, just execute pending removals
103
<!input type="checkbox" name="justShow" value="oR"> No scan, just SHOW pending removals -->
103
<script type="text/javascript">
104
document.getElementById("idBS").disabled="disabled";
105
document.getElementById("idTN").disabled="disabled";
106
function endisCb(idCon, idWhat)
108
var pCon=document.getElementById(idCon);
109
var pWhat=document.getElementById(idWhat);
115
pWhat.disabled="disabled";
105
121
<input type="submit" name="doExpire" value="Start Scan and/or Expiration">
128
144
<input type="submit" name="doImport" value="Start Import">
146
<h2>Guided precaching (Mirroring)</h2>
148
Apt-Cacher NG supports a massive download of package files
149
referenced in a specified set of index files. This is configured
150
with the <i>PrecacheFor</i> configuration option (see config
151
examples and manual for details).
153
In special cases this feature can be used to create a local
154
partial mirror where the cache internal structure of packages
155
mostly represents the contents of the remote package archive and
156
includes everything apt might want to download.
158
<label><input type="checkbox" name="skipIxUp" value="si"> Don't update index files</label>
160
<label><input type="checkbox" name="calcSize" value="cs"> Calculate and display download size</label>
162
<label><input type="checkbox" name="doDownload" value="dd"> Download package files</label>
164
<input type="submit" name="doMirror" value="Start Mirroring">