slitaz-forge view mirror/info/index.php @ rev 716

mirror/floppies: multi-format support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 23 16:41:12 2021 +0000 (2021-07-23)
parents cfad9fa3f53c
children
line source
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <title>SliTaz Mirror</title>
6 <meta name="description" content="slitaz mirror server">
7 <meta name="robots" content="index, nofollow">
8 <meta name="author" content="SliTaz Contributors">
9 <meta name="viewport" content="width=device-width, initial-scale=1.0">
10 <link rel="shortcut icon" href="/static/favicon.ico">
11 <link rel="stylesheet" type="text/css" href="/static/slitaz.min.css">
12 </head>
13 <body>
14 <script>
15 document.documentElement.className += (("ontouchstart" in document.documentElement) ? ' touch' : ' no-touch');
16 </script>
18 <header>
19 <h1><a href="http://<?php
20 echo $_SERVER["HTTP_HOST"];
21 ?>">SliTaz <?php
22 $host = preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]);
23 echo $host;
24 ?></a></h1>
25 <div class="network">
26 <a href="http://www.slitaz.org/" class="home"></a>
27 <a href="http://scn.slitaz.org/">Community</a>
28 <a href="http://doc.slitaz.org/">Doc</a>
29 <a href="http://forum.slitaz.org/">Forum</a>
30 <a href="http://bugs.slitaz.org/">Bugs</a>
31 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
32 <a href="http://cook.slitaz.org/">Cook</a>
33 </div>
34 </header>
37 <!-- Block begin -->
38 <div class="block"><div>
40 <!-- Top block begin -->
41 <div class="block_info">
42 <header>Codename: <?php echo $host; ?></header>
43 <p>
44 This is the SliTaz GNU/Linux main mirror. The server runs naturally
45 SliTaz (stable) in a virtual machine gracefully hosted by
46 <a href="https://www.linkedin.com/company/balinor-technologies/">balinor-technologies</a>.
47 </p>
48 <p>Mirror CPU is a <?php
49 system("( sed '/cpuinfo=/!d;" .
50 "s/.*cpuinfo=\\([^ ]*\).*/: \\1/;s/_/ /g' /proc/cmdline ; grep '^model name' /etc/cpuinfo) | sed -e 's/.*Intel(R) //;" .
51 "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //;q' |" .
52 " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
53 "if (n == 4) printf \"quad \"; print s }' ")
54 ?> - <?php
55 system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
56 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ".
57 "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")
58 ?> -
59 Located in France.
60 This page has real time statistics provided by PHP <code>system()</code>.
61 Mirror is also monitored by RRDtool which provides <a href="graphs.php">graphical stats</a>.</p>
62 <!-- Top block end -->
63 </div>
65 <!-- Nav block begin -->
66 <nav>
67 <header>Project servers</header>
68 <ul>
69 <li><a href="http://tank.slitaz.org/">Tank server</a></li>
70 <li><a href="http://pangolin.slitaz.org/">Pangolin server</a></li>
71 </ul>
72 <!-- Nav block end -->
73 </nav>
75 <!-- Block end -->
76 </div></div>
79 <!-- Content -->
80 <main>
83 <h2>System stats</h2>
86 <h3>Uptime</h3>
88 <pre class="hard"><?php
89 system("uptime | sed 's/^\s*//'");
90 ?></pre>
93 <h3>Disk usage</h3>
95 <pre class="hard"><?php
96 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'");
97 ?></pre>
100 <h3>Network</h3>
102 <pre class="hard"><?php
103 system("ifconfig eth0 | awk '{ if (/X packet/ || /X byte/) print }' | sed 's/^\s*//'");
104 ?></pre>
109 <?php if (isset($_GET["all"])) { ?>
111 <h3>Logins</h3>
113 <pre class="hard scroll"><?php
114 system("last");
115 ?></pre>
117 <h3>Processes</h3>
119 <pre class="hard scroll"><?php
120 system("top -n1 -b");
121 ?></pre>
123 <?php } ?>
128 <h2 id="vhosts">Virtual hosts</h2>
130 <!-- p><a href="http://mirror1.slitaz.org/awstats.pl?config=info.mirror.slitaz.org" target="_blank">stats</a></p -->
132 <table class="list">
133 <thead>
134 <tr>
135 <th>Host name</th>
136 <th>Description</th>
137 <th>Stats</th>
138 </tr>
139 </thead>
140 <tr>
141 <td class="server"><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a></td>
142 <td>SliTaz Mirror</td>
143 <td><a href="http://mirror1.slitaz.org/stats" target="_blank">stats</a></td>
144 </tr>
145 <tr>
146 <td class="server"><a href="http://scn.slitaz.org/">scn.slitaz.org</a></td>
147 <td>SliTaz Community Network</td>
148 <td><a href="http://mirror1.slitaz.org/awstats.pl?config=scn.slitaz.org" target="_blank">stats</a></td>
149 </tr>
150 <tr>
151 <td class="server"><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a></td>
152 <td>SliTaz Flavor builder</td>
153 <td><a href="http://mirror1.slitaz.org/awstats.pl?config=pizza.mirror.slitaz.org" target="_blank">stats</a></td>
154 </tr>
155 <tr>
156 <td class="server"><a href="https://ajaxterm.slitaz.org/">ajaxterm.slitaz.org</a></td>
157 <td>SliTaz Web Console</td>
158 <td><a href="http://mirror1.slitaz.org/awstats.pl?config=ajaxterm.slitaz.org" target="_blank">stats</a></td>
159 </tr>
160 </table>
163 <h2 id="replicas">Tank replicas</h2>
165 <!-- p><a href="http://mirror1.slitaz.org/awstats.pl?config=replicas.mirror.slitaz.org" target="_blank">stats</a></p -->
167 <table class="list">
168 <thead>
169 <tr>
170 <th>Host name</th>
171 <th>Description</th>
172 <th>Original</th>
173 </tr>
174 </thead>
175 <tr>
176 <td class="server"><a href="http://mirror1.slitaz.org/www/">www.slitaz.org</a></td>
177 <td>SliTaz Website</td>
178 <td><a href="http://www.slitaz.org/" target="_blank">main</a></td>
179 </tr>
180 <tr>
181 <td class="server"><a href="http://mirror1.slitaz.org/doc/">doc.slitaz.org</a></td>
182 <td>Documentation</td>
183 <td><a href="http://doc.slitaz.org/" target="_blank">main</a></td>
184 </tr>
185 <tr>
186 <td class="server"><a href="http://mirror1.slitaz.org/pkgs/">pkgs.slitaz.org</a></td>
187 <td>Packages Web interface</td>
188 <td><a href="http://pkgs.slitaz.org/" target="_blank">main</a></td>
189 </tr>
190 <tr>
191 <td class="server"><a href="http://mirror1.slitaz.org/hg/">hg.slitaz.org</a></td>
192 <td>Mercurial repositories (read only)</td>
193 <td><a href="http://hg.slitaz.org/" target="_blank">main</a>,
194 <a href="http://hg.tuxfamily.org/mercurialroot/slitaz/" target="_blank">tuxfamily</a>
195 </td>
196 </tr>
197 <tr>
198 <td class="server"><a href="http://mirror1.slitaz.org/webboot/">boot.slitaz.org</a></td>
199 <td>gPXE Web boot</td>
200 <td><a href="http://boot.slitaz.org/" target="_blank">main</a></td>
201 </tr>
202 </table>
205 <h2 id="mirrors">Mirrors</h2>
207 <p>Most mirrors are updated using the URL:
208 <code>rsync://mirror.slitaz.org/slitaz/</code>
209 (<a href="http://mirror1.slitaz.org/awstats.pl?config=rsync">stats</a>)</p>
211 <table class="list">
212 <thead>
213 <tr>
214 <th>Mirror name</th>
215 <th>Access URLs</th>
216 <th>Location</th>
217 </tr>
218 </thead>
219 <tr>
220 <td class="fr">slitaz.org mirror</td>
221 <td>
222 <a href="http://mirror.slitaz.org/">http</a>
223 </td>
224 <td><a href="http://en.utrace.de/?query=mirror.slitaz.org">map</a></td>
225 </tr>
226 <tr>
227 <td class="us">Georgia Tech Software Library (GTlib) mirror</td>
228 <td>
229 <a href="http://www.gtlib.gatech.edu/pub/slitaz/">http</a> ·
230 <a href="ftp://ftp.gtlib.gatech.edu/pub/slitaz/">ftp</a> ·
231 <a href="rsync://www.gtlib.gatech.edu/slitaz/">rsync</a>
232 </td>
233 <td><a href="http://en.utrace.de/?query=www.gtlib.gatech.edu">map</a></td>
234 </tr>
235 <tr>
236 <td class="fr" rowspan="3">TuxFamily mirror</td>
237 <td>
238 <a href="http://download.tuxfamily.org/slitaz/">http</a> ·
239 <a href="ftp://download.tuxfamily.org/slitaz/">ftp</a> ·
240 <a href="rsync://download.tuxfamily.org/pub/slitaz/">rsync</a>
241 </td>
242 <td><a href="http://en.utrace.de/?query=download.tuxfamily.org">map</a></td>
243 </tr>
244 <tr>
245 <!-- td class="fr">TuxFamily mirror</td -->
246 <td>
247 <a href="http://malibu.tuxfamily.net/slitaz/">http</a> ·
248 <a href="ftp://malibu.tuxfamily.net/slitaz/">ftp</a>
249 </td>
250 <td><a href="http://en.utrace.de/?query=malibu.tuxfamily.net">map</a></td>
251 </tr>
252 <tr>
253 <!-- td class="fr">TuxFamily mirror</td -->
254 <td>
255 <a href="http://absinthe.tuxfamily.net/slitaz/">http</a> ·
256 <a href="ftp://absinthe.tuxfamily.net/slitaz/">ftp</a>
257 </td>
258 <td><a href="http://en.utrace.de/?query=absinthe.tuxfamily.net">map</a></td>
259 </tr>
260 <tr>
261 <td class="br">Federal University of Paraná (UFPR) mirror</td>
262 <td>
263 <a href="http://slitaz.c3sl.ufpr.br/">http</a> ·
264 <a href="rsync://slitaz.c3sl.ufpr.br/slitaz/">rsync</a>
265 </td>
266 <td><a href="http://en.utrace.de/?query=slitaz.c3sl.ufpr.br">map</a></td>
267 </tr>
268 <tr>
269 <td class="us">University of North Carolina mirror</td>
270 <td>
271 <a href="http://distro.ibiblio.org/slitaz/">http</a> ·
272 <a href="ftp://distro.ibiblio.org/slitaz/">ftp</a>
273 </td>
274 <td><a href="http://en.utrace.de/?query=distro.ibiblio.org">map</a></td>
275 </tr>
276 <tr>
277 <td class="us">Clarkson University mirror</td>
278 <td>
279 <a href="http://mirror.clarkson.edu/slitaz/">http</a>
280 </td>
281 <td><a href="http://en.utrace.de/?query=mirror.clarkson.edu">map</a></td>
282 </tr>
283 <tr>
284 <td class="de">University of Stuttgart mirror</td>
285 <td>
286 <a href="http://ftp.uni-stuttgart.de/slitaz/">http</a> ·
287 <a href="ftp://ftp.uni-stuttgart.de/slitaz/">ftp</a>
288 </td>
289 <td><a href="http://en.utrace.de/?query=ftp.uni-stuttgart.de">map</a></td>
290 </tr>
291 <tr>
292 <td class="de">Technische Universität Darmstadt mirror</td>
293 <td>
294 <a href="ftp://fb04272.mathematik.tu-darmstadt.de/pub/linux/distributions/slitaz/">ftp</a> ·
295 <a href="ftp://linux.mathematik.tu-darmstadt.de/pub/linux/distributions/misc/slitaz/">ftp</a>
296 </td>
297 <td><a href="http://en.utrace.de/?query=linux.mathematik.tu-darmstadt.de">map</a></td>
298 </tr>
299 <tr>
300 <td class="pl">University of Warsaw mirror</td>
301 <td>
302 <a href="ftp://ftp.icm.edu.pl/vol/rzm5/linux-ibiblio/distributions/slitaz/">ftp</a>
303 </td>
304 <td><a href="http://en.utrace.de/?query=ftp.icm.edu.pl">map</a></td>
305 </tr>
306 <tr>
307 <td class="us">Princeton University mirror</td>
308 <td>
309 <a href="http://mirror.math.princeton.edu/pub/slitaz/">http</a>
310 </td>
311 <td><a href="http://en.utrace.de/?query=mirror.math.princeton.edu">map</a></td>
312 </tr>
313 <tr>
314 <td class="fr">Aurora FOSS mirror</td>
315 <td>
316 <a href="http://dl.aurorafoss.org/slitaz/">http</a>
317 </td>
318 <td><a href="http://en.utrace.de/?query=dl.aurorafoss.org">map</a></td>
319 </tr>
320 </table>
321 <!--
322 Old mirrors:
323 http://www.linuxembarque.com/slitaz/mirror/ (fr)
324 http://mirror.lupaworld.com/slitaz/ (cn)
325 http://mirror.drustvo-dns.si/slitaz/ (si)
326 ftp://ftp.pina.si/slitaz/ (si)
327 http://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/ (nl)
328 http://ftp.ch.xemacs.org/ftp/pool/2/mirror/slitaz/ (ch)
329 ftp://ftp.ch.xemacs.org/pool/2/mirror/slitaz/ (ch)
330 http://mirror.switch.ch/ftp/mirror/slitaz/ (ch)
331 ftp://mirror.switch.ch/mirror/slitaz/ (ch)
332 ftp://slitaz.c3sl.ufpr.br/slitaz/ (br)
333 ftp://opensuse.c3sl.ufpr.br/slitaz/ (br)
334 ftp://ftp.br.debian.org/slitaz/ (br)
335 http://slitaz.mirror.garr.it/mirrors/slitaz/ (it)
336 ftp://slitaz.mirror.garr.it/mirrors/slitaz/ (it)
337 rsync://slitaz.mirror.garr.it/mirrors/slitaz/ (it)
338 ftp://ftp.rz.uni-kiel.de/pub2/linux/slitaz/ (de)
339 http://f.archlinuxvn.org/slitaz/ (vi)
341 Outdated mirror:
342 http://ftp.vim.org/ftp/os/Linux/distr/slitaz/ (2012)
343 -->
346 <h2 id="builds">Weekly builds</h2>
348 <?php
349 function display_log($file,$anchor,$url)
350 {
351 echo "<p><a name=\"$anchor\" href=\"$url\">";
352 system("stat -c '%y %n' ".$file." | sed -e 's/.000000000//' -e 's|/var/log/\(.*\).log|\\1.iso|'");
353 echo "</a></p>";
354 echo "<pre class=\"hard\">";
355 system("cat ".$file." | sed -e 's/.\[[0-9][^mG]*.//g' | awk '".
356 '{ if (/\[/) { n=index($0,"["); printf("%s%s%s\n",substr($0,1,n-1),'.
357 'substr("\t\t\t\t\t\t\t",1,9-(n/8)),substr($0,n)); } else print }'."'");
358 echo "</pre>";
359 }
361 display_log("/var/log/packages-stable.log", "buildstable", "/iso/stable/packages-4.0.iso");
362 display_log("/var/log/packages-cooking.log","buildcooking","/iso/cooking/packages-cooking.iso");
363 ?>
365 <p>Last update : <?php echo date('r'); ?></p>
366 <!-- End of content -->
367 </main>
369 <script>
370 function QRCodePNG(str, obj) {
371 try {
372 obj.height = obj.width += 300;
373 return QRCode.generatePNG(str, {ecclevel: 'H'});
374 }
375 catch (any) {
376 var element = document.createElement("script");
377 element.src = "/static/qrcode.min.js";
378 element.type = "text/javascript";
379 element.onload = function() {
380 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'});
381 };
382 document.body.appendChild(element);
383 }
384 }
385 </script>
387 <footer>
388 <div>
389 Copyright © <?php echo date('Y'); ?>
390 <a href="http://www.slitaz.org/">SliTaz</a>
391 </div>
392 <div>
393 Network:
394 <a href="http://scn.slitaz.org/">Community</a> ·
395 <a href="http://doc.slitaz.org/">Doc</a> ·
396 <a href="http://forum.slitaz.org/">Forum</a> ·
397 <a href="http://pkgs.slitaz.org/">Packages</a> ·
398 <a href="http://bugs.slitaz.org">Bugs</a> ·
399 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
400 </div>
401 <div>
402 SliTaz @
403 <a href="http://twitter.com/slitaz">Twitter</a> ·
404 <a href="http://www.facebook.com/slitaz">Facebook</a> ·
405 <a href="http://distrowatch.com/slitaz">Distrowatch</a> ·
406 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> ·
407 <a href="http://flattr.com/profile/slitaz">Flattr</a>
408 </div>
409 <img src="/static/qr.png" alt="#" onmouseover="this.title = location.href"
410 onclick="this.src = QRCodePNG(location.href, this)"/>
411 </footer>
413 </body>
414 </html>