rev |
line source |
pascal@6076
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
pascal@6076
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
pascal@6076
|
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
pascal@6076
|
4 <head>
|
pascal@6076
|
5 <title>SliTaz Mirror</title>
|
pascal@6076
|
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
|
pascal@6076
|
7 <meta name="description" content="slitaz mirror server" />
|
pascal@6076
|
8 <meta name="robots" content="index, nofollow" />
|
pascal@6076
|
9 <meta name="author" content="SliTaz Contributors" />
|
pascal@6076
|
10 <link rel="shortcut icon" href="favicon.ico" />
|
pascal@6076
|
11 <link rel="stylesheet" type="text/css" href="slitaz.css" />
|
pascal@6076
|
12 </head>
|
pascal@6076
|
13
|
pascal@6076
|
14 <body bgcolor="#ffffff">
|
pascal@6076
|
15 <!-- Header -->
|
pascal@6076
|
16 <div id="header">
|
pascal@6076
|
17 <a name="top"></a>
|
pascal@6076
|
18 <a href="http://mirror-info.slitaz.org/"><img id="logo"
|
pascal@6076
|
19 src="pics/website/logo.png" title="mirror-info.slitaz.org" alt="mirror-info.slitaz.org"
|
pascal@6076
|
20 style="border: 0px solid ; width: 200px; height: 74px;" /></a>
|
pascal@7595
|
21 <p id="titre">#!/project/<?php echo preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]); ?></p>
|
pascal@6076
|
22 </div>
|
pascal@6076
|
23
|
pascal@6076
|
24 <!-- Navigation menu -->
|
pascal@6076
|
25 <div id="nav">
|
pascal@6076
|
26
|
pascal@6076
|
27 <div class="nav_box">
|
pascal@6076
|
28 <h4>About Mirror</h4>
|
pascal@6076
|
29 <p>
|
pascal@6076
|
30 This is the SliTaz GNU/Linux main mirror. The server runs naturally SliTaz
|
pascal@6076
|
31 (stable) in an lguest virtual machine provided by
|
pascal@6076
|
32 <a href="http://www.ads-lu.com/">Allied Data Sys. (ADS)</a>.
|
pascal@6076
|
33 </p>
|
pascal@6076
|
34
|
pascal@6076
|
35 </div>
|
pascal@6076
|
36
|
pascal@6076
|
37 <div class="nav_box">
|
pascal@6076
|
38 <h4>SliTaz Network</h4>
|
pascal@6076
|
39 <ul>
|
pascal@6076
|
40 <li><a href="http://www.slitaz.org/">Main Website</a></li>
|
pascal@7324
|
41 <li><a href="http://doc.slitaz.org/">Documentation</a></li>
|
pascal@6076
|
42 <li><a href="http://forum.slitaz.org/">Community Forum</a></li>
|
pascal@7604
|
43 <li><a href="http://scn.slitaz.org/">Community Platform</a></li>
|
pascal@6076
|
44 <li><a href="http://labs.slitaz.org/">SliTaz Laboratories</a></li>
|
pascal@6076
|
45 <li><a href="http://pkgs.slitaz.org/">Packages Database</a></li>
|
pascal@6076
|
46 <li><a href="http://boot.slitaz.org/">SliTaz Web Boot</a></li>
|
pascal@6076
|
47 <li><a href="http://tank.slitaz.org/">SliTaz main server</a></li>
|
pascal@6076
|
48 <li><a href="http://bb.slitaz.org/">SliTaz Build Bot</a></li>
|
pascal@6076
|
49 <li><a href="http://hg.slitaz.org/">SliTaz Repositories</a></li>
|
pascal@6076
|
50 <li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
|
pascal@6076
|
51 <li><a href="http://www.distrowatch.com/slitaz">SliTaz on DistroWatch</a></li>
|
pascal@6076
|
52 </ul>
|
pascal@6076
|
53 </div>
|
pascal@6076
|
54
|
pascal@6076
|
55 <!-- End navigation menu -->
|
pascal@6076
|
56 </div>
|
pascal@6076
|
57
|
pascal@6076
|
58 <!-- Content top. -->
|
pascal@6076
|
59 <div id="content_top">
|
pascal@6076
|
60 <div class="top_left"></div>
|
pascal@6076
|
61 <div class="top_right"></div>
|
pascal@6076
|
62 </div>
|
pascal@6076
|
63
|
pascal@6076
|
64 <!-- Content -->
|
pascal@6076
|
65 <div id="content">
|
pascal@6076
|
66
|
pascal@6076
|
67 <h1><font color="#3E1220">Server</font></h1>
|
pascal@7595
|
68 <h2><font color="#DF8F06">Codename:
|
pascal@7595
|
69 <?php echo preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]); ?></font></h2>
|
pascal@6076
|
70
|
pascal@6076
|
71 <p>
|
pascal@6076
|
72 Mirror CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" .
|
pascal@6076
|
73 "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" .
|
pascal@6076
|
74 " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
|
pascal@6076
|
75 "if (n == 4) printf \"quad \"; print s }' ")?> -
|
pascal@6076
|
76 <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
|
pascal@6076
|
77 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ".
|
pascal@6076
|
78 "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> -
|
pascal@6076
|
79 Located in France next to Roubaix. This page has real time statistics
|
pascal@6076
|
80 provided by PHP <code>system()</code>. Mirror is also monitored by RRDtool
|
pascal@6076
|
81 which provides <a href="graphs.php">graphical stats</a>.
|
pascal@6076
|
82 </p>
|
pascal@6076
|
83
|
pascal@6076
|
84 <h3><a href="graphs.php">
|
pascal@6076
|
85 <img title="Mirror RRDtool graphs" src="pics/website/monitor.png" alt="graphs" />
|
pascal@6076
|
86 </a>System stats</h3>
|
pascal@6076
|
87
|
pascal@6076
|
88 <h4>Uptime</h4>
|
pascal@6076
|
89
|
pascal@6076
|
90 <pre class="package">
|
pascal@6076
|
91 <?php
|
pascal@6076
|
92 system("uptime | sed 's/^\s*//'");
|
pascal@6076
|
93 ?>
|
pascal@6076
|
94 </pre>
|
pascal@6076
|
95
|
pascal@6076
|
96 <h4>Disk usage</h4>
|
pascal@6076
|
97 <pre class="package">
|
pascal@6076
|
98 <?php
|
pascal@6076
|
99 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'");
|
pascal@6076
|
100 ?>
|
pascal@6076
|
101 </pre>
|
pascal@6076
|
102
|
pascal@6076
|
103 <h4>Network</h4>
|
pascal@6076
|
104 <pre class="package">
|
pascal@6076
|
105 <?php
|
pascal@6076
|
106 system("ifconfig eth0 | awk '{ if (/X packet/ || /X byte/) print }' | sed 's/^\s*//'");
|
pascal@6076
|
107 ?>
|
pascal@6076
|
108 </pre>
|
pascal@6076
|
109
|
pascal@6076
|
110 <?php if (isset($_GET["all"])) { ?>
|
pascal@6076
|
111 <h4>Logins</h4>
|
pascal@6076
|
112 <pre class="package">
|
pascal@6076
|
113 <?php
|
pascal@6076
|
114 system("last");
|
pascal@6076
|
115 ?>
|
pascal@6076
|
116 </pre>
|
pascal@6076
|
117
|
pascal@6076
|
118 <h4>Processes</h4>
|
pascal@6076
|
119 <pre class="package">
|
pascal@6076
|
120 <?php
|
pascal@6076
|
121 system("top -n1 -b");
|
pascal@6076
|
122 ?>
|
pascal@6076
|
123 </pre>
|
pascal@6076
|
124 <?php } ?>
|
pascal@6076
|
125
|
pascal@6076
|
126 <a name="vhosts"></a>
|
pascal@6076
|
127 <h3><a href="http://mirror.slitaz.org/awstats.pl?config=info.mirror.slitaz.org" target="_blank">
|
pascal@6076
|
128 <img title="Mirror Virtual hosts" alt="vhosts"
|
pascal@6076
|
129 src="pics/website/vhosts.png" /></a>Virtual hosts</h3>
|
pascal@6076
|
130
|
pascal@6076
|
131 <ul>
|
pascal@6076
|
132 <li><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a> - SliTaz Mirror.
|
pascal@6076
|
133 (<a href="http://mirror.slitaz.org/stats" target="_blank">stats</a>)</li>
|
pascal@7595
|
134 <li><a href="http://scn.slitaz.org/">scn.slitaz.org</a> - SliTaz Community Network.
|
pascal@7595
|
135 (<a href="http://mirror.slitaz.org/awstats.pl?config=scn.slitaz.org" target="_blank">stats</a>)</li>
|
pascal@6076
|
136 <li><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a> - SliTaz Flavor builder.
|
pascal@6076
|
137 (<a href="http://mirror.slitaz.org/awstats.pl?config=pizza.mirror.slitaz.org" target="_blank">stats</a>)</li>
|
pascal@6076
|
138 <li><a href="https://ajaxterm.slitaz.org/">ajaxterm.slitaz.org</a> - Slitaz Web Console.
|
pascal@6076
|
139 (<a href="http://mirror.slitaz.org/awstats.pl?config=ajaxterm.slitaz.org" target="_blank">stats</a>)</li>
|
pascal@6076
|
140 </ul>
|
pascal@6076
|
141
|
pascal@6076
|
142 <a name="replicas"></a>
|
pascal@6076
|
143 <h3><a href="http://mirror.slitaz.org/awstats.pl?config=replicas.mirror.slitaz.org" target="_blank">
|
pascal@6076
|
144 <img title="Tank replicas" alt="replicas"
|
pascal@6076
|
145 src="pics/website/vhosts.png" /></a>Tank replicas</h3>
|
pascal@6076
|
146
|
pascal@6076
|
147 <ul>
|
pascal@6076
|
148 <li><a href="http://mirror.slitaz.org/www/">www.slitaz.org</a> - SliTaz Website.
|
pascal@6076
|
149 (<a href="http://www.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@7324
|
150 <li><a href="http://mirror.slitaz.org/doc/">doc.slitaz.org</a> - Documentation.
|
pascal@7324
|
151 (<a href="http://doc.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@6076
|
152 <li><a href="http://mirror.slitaz.org/pkgs/">pkgs.slitaz.org</a> - Packages Web interface.
|
pascal@6076
|
153 (<a href="http://pkgs.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@6076
|
154 <li><a href="http://mirror.slitaz.org/hg/">hg.slitaz.org</a> - Mercurial repositories (read only).
|
pascal@6076
|
155 (<a href="http://hg.slitaz.org/" target="_blank">main</a>
|
pascal@6076
|
156 <a href="http://hg.tuxfamily.org/mercurialroot/slitaz/" target="_blank">tuxfamily</a>)</li>
|
pascal@6076
|
157 <li><a href="http://mirror.slitaz.org/webboot/">boot.slitaz.org</a> - gPXE Web boot.
|
pascal@6076
|
158 (<a href="http://boot.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@6076
|
159 </ul>
|
pascal@6076
|
160
|
pascal@6076
|
161 <a name="mirrors"></a>
|
pascal@6076
|
162 <h3><a href="http://mirror.slitaz.org/awstats.pl?config=rsync" target="_blank">
|
pascal@6076
|
163 <img title="Secondary mirrors" src="pics/website/vhosts.png"
|
pascal@6076
|
164 alt="mirrors" /></a>Mirrors</h3>
|
pascal@7324
|
165 Most mirrors are updated using the url: <b>rsync://mirror.slitaz.org/slitaz/</b>
|
pascal@6076
|
166 (<a href="http://mirror.slitaz.org/awstats.pl?config=rsync">stats</a>)
|
pascal@6076
|
167 <ul>
|
pascal@6076
|
168 <li><a href="http://en.utrace.de/?query=mirror.switch.ch">
|
pascal@6077
|
169 <img title="map" src="pics/website/ch.png" alt="map" /></a>
|
pascal@6076
|
170 <a href="http://mirror.switch.ch/ftp/mirror/slitaz/">
|
pascal@6076
|
171 http://mirror.switch.ch/ftp/mirror/slitaz/</a> or
|
pascal@7324
|
172 <a href="ftp://mirror.switch.ch/mirror/slitaz/">ftp</a></li>
|
pascal@6076
|
173 <li><a href="http://en.utrace.de/?query=www.gtlib.gatech.edu">
|
pascal@6077
|
174 <img title="map" src="pics/website/us.png" alt="map" /></a>
|
pascal@6076
|
175 <a href="http://www.gtlib.gatech.edu/pub/slitaz/">
|
pascal@6076
|
176 http://www.gtlib.gatech.edu/pub/slitaz/</a> or
|
pascal@7324
|
177 <a href="ftp://ftp.gtlib.gatech.edu/pub/slitaz/">ftp</a> or
|
pascal@7324
|
178 <a href="rsync://www.gtlib.gatech.edu/slitaz/">rsync</a></li>
|
pascal@6076
|
179 <li><a href="http://en.utrace.de/?query=download.tuxfamily.org">
|
pascal@6077
|
180 <img title="map" src="pics/website/fr.png" alt="map" /></a>
|
pascal@6076
|
181 <a href="http://download.tuxfamily.org/slitaz/">
|
pascal@7324
|
182 http://download.tuxfamily.org/slitaz/</a> or
|
pascal@7324
|
183 <a href="ftp://download.tuxfamily.org/slitaz/">ftp</a> or
|
pascal@7324
|
184 <a href="rsync://download.tuxfamily.org/pub/slitaz/">rsync</a></li>
|
pascal@6076
|
185 <!-- li><a href="http://www.linuxembarque.com/slitaz/mirror/">
|
pascal@7324
|
186 <img title="map" src="pics/website/fr.png" alt="map" /></a>
|
pascal@7324
|
187 <a href="http://www.linuxembarque.com/slitaz/mirror/">
|
pascal@6076
|
188 http://www.linuxembarque.com/slitaz/mirror/</a></li -->
|
pascal@6076
|
189 <li><a href="http://en.utrace.de/?query=mirror.lupaworld.com">
|
pascal@6077
|
190 <img title="map" src="pics/website/cn.png" alt="map" /></a>
|
pascal@6076
|
191 <a href="http://mirror.lupaworld.com/slitaz/">
|
pascal@6076
|
192 http://mirror.lupaworld.com/slitaz/</a></li>
|
pascal@6077
|
193 <li><a href="http://en.utrace.de/?query=slitaz.c3sl.ufpr.br">
|
pascal@6077
|
194 <img title="map" src="pics/website/br.png" alt="map" /></a>
|
pascal@6076
|
195 <a href="http://slitaz.c3sl.ufpr.br/">
|
pascal@6076
|
196 http://slitaz.c3sl.ufpr.br/</a> or
|
pascal@7324
|
197 <a href="ftp://slitaz.c3sl.ufpr.br/slitaz/">ftp</a> or
|
pascal@7324
|
198 <a href="rsync://slitaz.c3sl.ufpr.br/slitaz/">rsync</a></li>
|
pascal@6076
|
199 <li><a href="http://en.utrace.de/?query=slitaz.mirror.garr.it">
|
pascal@6077
|
200 <img title="map" src="pics/website/it.png" alt="map" /></a>
|
pascal@6076
|
201 <a href="http://slitaz.mirror.garr.it/mirrors/slitaz/">
|
pascal@7324
|
202 http://slitaz.mirror.garr.it/mirrors/slitaz/</a> or
|
pascal@7324
|
203 <a href="ftp://slitaz.mirror.garr.it/mirrors/slitaz/">ftp</a> or
|
pascal@7324
|
204 <a href="rsync://slitaz.mirror.garr.it/mirrors/slitaz/">rsync</a></li>
|
pascal@6076
|
205 <!-- li><a href="http://mirror.drustvo-dns.si/slitaz/">
|
pascal@6076
|
206 http://mirror.drustvo-dns.si/slitaz/</a></li -->
|
pascal@6076
|
207 <li><a href="http://en.utrace.de/?query=ftp.pina.si">
|
pascal@6077
|
208 <img title="map" src="pics/website/si.png" alt="map" /></a>
|
pascal@6076
|
209 <a href="ftp://ftp.pina.si/slitaz/">
|
pascal@6076
|
210 ftp://ftp.pina.si/slitaz/</a></li>
|
pascal@6077
|
211 <li><a href="http://en.utrace.de/?query=distro.ibiblio.org">
|
pascal@6077
|
212 <img title="map" src="pics/website/us.png" alt="map" /></a>
|
pascal@6076
|
213 <a href="http://distro.ibiblio.org/pub/linux/distributions/slitaz/">
|
pascal@7324
|
214 http://distro.ibiblio.org/pub/linux/distributions/slitaz/</a> or
|
pascal@7324
|
215 <a href="ftp://distro.ibiblio.org/pub/linux/distributions/slitaz/">ftp</a></li>
|
pascal@6076
|
216 <li><a href="http://en.utrace.de/?query=ftp.vim.org">
|
pascal@6077
|
217 <img title="map" src="pics/website/nl.png" alt="map" /></a>
|
pascal@6076
|
218 <a href="http://ftp.vim.org/ftp/os/Linux/distr/slitaz/">
|
pascal@7324
|
219 http://ftp.vim.org/ftp/os/Linux/distr/slitaz/</a> or
|
pascal@7324
|
220 <a href="ftp://ftp.vim.org/mirror/os/Linux/distr/slitaz/">
|
pascal@7324
|
221 ftp</a></li>
|
pascal@7324
|
222 <li><a href="http://en.utrace.de/?query=ftp.nedit.org">
|
pascal@7324
|
223 <img title="map" src="pics/website/nl.png" alt="map" /></a>
|
pascal@7324
|
224 <a href="http://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/">
|
pascal@7324
|
225 http://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/</a> or
|
pascal@7324
|
226 <a href="ftp://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/">
|
pascal@7324
|
227 ftp</a></li>
|
pascal@7324
|
228 <li><a href="http://en.utrace.de/?query=ftp.ch.xemacs.org">
|
pascal@7324
|
229 <img title="map" src="pics/website/ch.png" alt="map" /></a>
|
pascal@7324
|
230 <a href="http://ftp.ch.xemacs.org/ftp/pool/2/mirror/slitaz/" />
|
pascal@7324
|
231 http://ftp.ch.xemacs.org/ftp/pool/2/mirror/slitaz/</a> or
|
pascal@7324
|
232 <a href="ftp://ftp.ch.xemacs.org//pool/2/mirror/slitaz/" />
|
pascal@7324
|
233 ftp</a></li>
|
pascal@6076
|
234 </ul>
|
pascal@6076
|
235
|
pascal@6076
|
236 <a name="builds"></a>
|
pascal@6076
|
237 <h3><img title="Daily builds" src="pics/website/monitor.png" alt="builds" />
|
pascal@6076
|
238 Daily builds</h3>
|
pascal@6076
|
239
|
pascal@6076
|
240 <?php
|
pascal@7324
|
241 function display_log($file,$anchor,$url)
|
pascal@6076
|
242 {
|
pascal@6076
|
243 echo '<a name="'.$anchor.'"></a>';
|
pascal@7324
|
244 echo "<a href=\"$url\">";
|
pascal@6076
|
245 system("stat -c '<h4>%y %n</h4>' ".$file." | sed -e 's/.000000000//' -e 's|/var/log/\(.*\).log|\\1.iso|'");
|
pascal@7324
|
246 echo "</a>";
|
pascal@6076
|
247 echo "<pre>";
|
pascal@6076
|
248 system("cat ".$file." | sed -e 's/.\[[0-9][^mG]*.//g' | awk '".
|
pascal@6076
|
249 '{ if (/\[/) { n=index($0,"["); printf("%s%s%s\n",substr($0,1,n-1),'.
|
pascal@6076
|
250 'substr("\t\t\t\t\t\t\t",1,9-(n/8)),substr($0,n)); } else print }'."'");
|
pascal@6076
|
251 echo "</pre>";
|
pascal@6076
|
252 }
|
pascal@6076
|
253
|
pascal@7324
|
254 display_log("/var/log/packages-stable.log", "buildstable", "/iso/stable/packages-3.0.iso");
|
pascal@7324
|
255 display_log("/var/log/packages-cooking.log","buildcooking","/iso/cooking/packages-cooking.iso");
|
pascal@6076
|
256 ?>
|
pascal@6076
|
257 <!-- End of content with round corner -->
|
pascal@6076
|
258 </div>
|
pascal@6076
|
259 <div id="content_bottom">
|
pascal@6076
|
260 <div class="bottom_left"></div>
|
pascal@6076
|
261 <div class="bottom_right"></div>
|
pascal@6076
|
262 </div>
|
pascal@6076
|
263
|
pascal@6076
|
264 <!-- Start of footer and copy notice -->
|
pascal@6076
|
265 <div id="copy">
|
pascal@6076
|
266 <p>
|
pascal@6076
|
267 Last update : <?php echo date('r'); ?>
|
pascal@6076
|
268 </p>
|
pascal@6076
|
269 <p>
|
pascal@6076
|
270 Copyright © <?php echo date('Y'); ?> <a href="http://www.slitaz.org/">SliTaz</a> -
|
pascal@6076
|
271 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
|
pascal@6076
|
272 </p>
|
pascal@6076
|
273 <!-- End of copy -->
|
pascal@6076
|
274 </div>
|
pascal@6076
|
275
|
pascal@6076
|
276 <!-- Bottom and logo's -->
|
pascal@6076
|
277 <div id="bottom">
|
pascal@6076
|
278 <p>
|
pascal@6076
|
279 <a href="http://validator.w3.org/check?uri=referer"><img
|
pascal@6076
|
280 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
|
pascal@6076
|
281 title="Code validé XHTML 1.0"
|
pascal@6076
|
282 style="width: 80px; height: 15px;" /></a>
|
pascal@6076
|
283 </p>
|
pascal@6076
|
284 </div>
|
pascal@6076
|
285
|
pascal@6076
|
286 </body>
|
pascal@6076
|
287 </html>
|