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@6076
|
21 <p id="titre">#!/project/mirror</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@6076
|
43 <li><a href="http://community.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@6076
|
68 <h2><font color="#DF8F06">Codename: mirror</font></h2>
|
pascal@6076
|
69
|
pascal@6076
|
70 <p>
|
pascal@6076
|
71 Mirror CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" .
|
pascal@6076
|
72 "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" .
|
pascal@6076
|
73 " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
|
pascal@6076
|
74 "if (n == 4) printf \"quad \"; print s }' ")?> -
|
pascal@6076
|
75 <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
|
pascal@6076
|
76 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ".
|
pascal@6076
|
77 "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> -
|
pascal@6076
|
78 Located in France next to Roubaix. This page has real time statistics
|
pascal@6076
|
79 provided by PHP <code>system()</code>. Mirror is also monitored by RRDtool
|
pascal@6076
|
80 which provides <a href="graphs.php">graphical stats</a>.
|
pascal@6076
|
81 </p>
|
pascal@6076
|
82
|
pascal@6076
|
83 <h3><a href="graphs.php">
|
pascal@6076
|
84 <img title="Mirror RRDtool graphs" src="pics/website/monitor.png" alt="graphs" />
|
pascal@6076
|
85 </a>System stats</h3>
|
pascal@6076
|
86
|
pascal@6076
|
87 <h4>Uptime</h4>
|
pascal@6076
|
88
|
pascal@6076
|
89 <pre class="package">
|
pascal@6076
|
90 <?php
|
pascal@6076
|
91 system("uptime | sed 's/^\s*//'");
|
pascal@6076
|
92 ?>
|
pascal@6076
|
93 </pre>
|
pascal@6076
|
94
|
pascal@6076
|
95 <h4>Disk usage</h4>
|
pascal@6076
|
96 <pre class="package">
|
pascal@6076
|
97 <?php
|
pascal@6076
|
98 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'");
|
pascal@6076
|
99 ?>
|
pascal@6076
|
100 </pre>
|
pascal@6076
|
101
|
pascal@6076
|
102 <h4>Network</h4>
|
pascal@6076
|
103 <pre class="package">
|
pascal@6076
|
104 <?php
|
pascal@6076
|
105 system("ifconfig eth0 | awk '{ if (/X packet/ || /X byte/) print }' | sed 's/^\s*//'");
|
pascal@6076
|
106 ?>
|
pascal@6076
|
107 </pre>
|
pascal@6076
|
108
|
pascal@6076
|
109 <?php if (isset($_GET["all"])) { ?>
|
pascal@6076
|
110 <h4>Logins</h4>
|
pascal@6076
|
111 <pre class="package">
|
pascal@6076
|
112 <?php
|
pascal@6076
|
113 system("last");
|
pascal@6076
|
114 ?>
|
pascal@6076
|
115 </pre>
|
pascal@6076
|
116
|
pascal@6076
|
117 <h4>Processes</h4>
|
pascal@6076
|
118 <pre class="package">
|
pascal@6076
|
119 <?php
|
pascal@6076
|
120 system("top -n1 -b");
|
pascal@6076
|
121 ?>
|
pascal@6076
|
122 </pre>
|
pascal@6076
|
123 <?php } ?>
|
pascal@6076
|
124
|
pascal@6076
|
125 <a name="vhosts"></a>
|
pascal@6076
|
126 <h3><a href="http://mirror.slitaz.org/awstats.pl?config=info.mirror.slitaz.org" target="_blank">
|
pascal@6076
|
127 <img title="Mirror Virtual hosts" alt="vhosts"
|
pascal@6076
|
128 src="pics/website/vhosts.png" /></a>Virtual hosts</h3>
|
pascal@6076
|
129
|
pascal@6076
|
130 <ul>
|
pascal@6076
|
131 <li><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a> - SliTaz Mirror.
|
pascal@6076
|
132 (<a href="http://mirror.slitaz.org/stats" target="_blank">stats</a>)</li>
|
pascal@6076
|
133 <li><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a> - SliTaz Flavor builder.
|
pascal@6076
|
134 (<a href="http://mirror.slitaz.org/awstats.pl?config=pizza.mirror.slitaz.org" target="_blank">stats</a>)</li>
|
pascal@6076
|
135 <li><a href="https://ajaxterm.slitaz.org/">ajaxterm.slitaz.org</a> - Slitaz Web Console.
|
pascal@6076
|
136 (<a href="http://mirror.slitaz.org/awstats.pl?config=ajaxterm.slitaz.org" target="_blank">stats</a>)</li>
|
pascal@6076
|
137 </ul>
|
pascal@6076
|
138
|
pascal@6076
|
139 <a name="replicas"></a>
|
pascal@6076
|
140 <h3><a href="http://mirror.slitaz.org/awstats.pl?config=replicas.mirror.slitaz.org" target="_blank">
|
pascal@6076
|
141 <img title="Tank replicas" alt="replicas"
|
pascal@6076
|
142 src="pics/website/vhosts.png" /></a>Tank replicas</h3>
|
pascal@6076
|
143
|
pascal@6076
|
144 <ul>
|
pascal@6076
|
145 <li><a href="http://mirror.slitaz.org/www/">www.slitaz.org</a> - SliTaz Website.
|
pascal@6076
|
146 (<a href="http://www.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@7324
|
147 <li><a href="http://mirror.slitaz.org/doc/">doc.slitaz.org</a> - Documentation.
|
pascal@7324
|
148 (<a href="http://doc.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@6076
|
149 <li><a href="http://mirror.slitaz.org/pkgs/">pkgs.slitaz.org</a> - Packages Web interface.
|
pascal@6076
|
150 (<a href="http://pkgs.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@6076
|
151 <li><a href="http://mirror.slitaz.org/hg/">hg.slitaz.org</a> - Mercurial repositories (read only).
|
pascal@6076
|
152 (<a href="http://hg.slitaz.org/" target="_blank">main</a>
|
pascal@6076
|
153 <a href="http://hg.tuxfamily.org/mercurialroot/slitaz/" target="_blank">tuxfamily</a>)</li>
|
pascal@6076
|
154 <li><a href="http://mirror.slitaz.org/webboot/">boot.slitaz.org</a> - gPXE Web boot.
|
pascal@6076
|
155 (<a href="http://boot.slitaz.org/" target="_blank">main</a>)</li>
|
pascal@6076
|
156 </ul>
|
pascal@6076
|
157
|
pascal@6076
|
158 <a name="mirrors"></a>
|
pascal@6076
|
159 <h3><a href="http://mirror.slitaz.org/awstats.pl?config=rsync" target="_blank">
|
pascal@6076
|
160 <img title="Secondary mirrors" src="pics/website/vhosts.png"
|
pascal@6076
|
161 alt="mirrors" /></a>Mirrors</h3>
|
pascal@7324
|
162 Most mirrors are updated using the url: <b>rsync://mirror.slitaz.org/slitaz/</b>
|
pascal@6076
|
163 (<a href="http://mirror.slitaz.org/awstats.pl?config=rsync">stats</a>)
|
pascal@6076
|
164 <ul>
|
pascal@6076
|
165 <li><a href="http://en.utrace.de/?query=mirror.switch.ch">
|
pascal@6077
|
166 <img title="map" src="pics/website/ch.png" alt="map" /></a>
|
pascal@6076
|
167 <a href="http://mirror.switch.ch/ftp/mirror/slitaz/">
|
pascal@6076
|
168 http://mirror.switch.ch/ftp/mirror/slitaz/</a> or
|
pascal@7324
|
169 <a href="ftp://mirror.switch.ch/mirror/slitaz/">ftp</a></li>
|
pascal@6076
|
170 <li><a href="http://en.utrace.de/?query=www.gtlib.gatech.edu">
|
pascal@6077
|
171 <img title="map" src="pics/website/us.png" alt="map" /></a>
|
pascal@6076
|
172 <a href="http://www.gtlib.gatech.edu/pub/slitaz/">
|
pascal@6076
|
173 http://www.gtlib.gatech.edu/pub/slitaz/</a> or
|
pascal@7324
|
174 <a href="ftp://ftp.gtlib.gatech.edu/pub/slitaz/">ftp</a> or
|
pascal@7324
|
175 <a href="rsync://www.gtlib.gatech.edu/slitaz/">rsync</a></li>
|
pascal@6076
|
176 <li><a href="http://en.utrace.de/?query=download.tuxfamily.org">
|
pascal@6077
|
177 <img title="map" src="pics/website/fr.png" alt="map" /></a>
|
pascal@6076
|
178 <a href="http://download.tuxfamily.org/slitaz/">
|
pascal@7324
|
179 http://download.tuxfamily.org/slitaz/</a> or
|
pascal@7324
|
180 <a href="ftp://download.tuxfamily.org/slitaz/">ftp</a> or
|
pascal@7324
|
181 <a href="rsync://download.tuxfamily.org/pub/slitaz/">rsync</a></li>
|
pascal@6076
|
182 <!-- li><a href="http://www.linuxembarque.com/slitaz/mirror/">
|
pascal@7324
|
183 <img title="map" src="pics/website/fr.png" alt="map" /></a>
|
pascal@7324
|
184 <a href="http://www.linuxembarque.com/slitaz/mirror/">
|
pascal@6076
|
185 http://www.linuxembarque.com/slitaz/mirror/</a></li -->
|
pascal@6076
|
186 <li><a href="http://en.utrace.de/?query=mirror.lupaworld.com">
|
pascal@6077
|
187 <img title="map" src="pics/website/cn.png" alt="map" /></a>
|
pascal@6076
|
188 <a href="http://mirror.lupaworld.com/slitaz/">
|
pascal@6076
|
189 http://mirror.lupaworld.com/slitaz/</a></li>
|
pascal@6077
|
190 <li><a href="http://en.utrace.de/?query=slitaz.c3sl.ufpr.br">
|
pascal@6077
|
191 <img title="map" src="pics/website/br.png" alt="map" /></a>
|
pascal@6076
|
192 <a href="http://slitaz.c3sl.ufpr.br/">
|
pascal@6076
|
193 http://slitaz.c3sl.ufpr.br/</a> or
|
pascal@7324
|
194 <a href="ftp://slitaz.c3sl.ufpr.br/slitaz/">ftp</a> or
|
pascal@7324
|
195 <a href="rsync://slitaz.c3sl.ufpr.br/slitaz/">rsync</a></li>
|
pascal@6076
|
196 <li><a href="http://en.utrace.de/?query=slitaz.mirror.garr.it">
|
pascal@6077
|
197 <img title="map" src="pics/website/it.png" alt="map" /></a>
|
pascal@6076
|
198 <a href="http://slitaz.mirror.garr.it/mirrors/slitaz/">
|
pascal@7324
|
199 http://slitaz.mirror.garr.it/mirrors/slitaz/</a> or
|
pascal@7324
|
200 <a href="ftp://slitaz.mirror.garr.it/mirrors/slitaz/">ftp</a> or
|
pascal@7324
|
201 <a href="rsync://slitaz.mirror.garr.it/mirrors/slitaz/">rsync</a></li>
|
pascal@6076
|
202 <!-- li><a href="http://mirror.drustvo-dns.si/slitaz/">
|
pascal@6076
|
203 http://mirror.drustvo-dns.si/slitaz/</a></li -->
|
pascal@6076
|
204 <li><a href="http://en.utrace.de/?query=ftp.pina.si">
|
pascal@6077
|
205 <img title="map" src="pics/website/si.png" alt="map" /></a>
|
pascal@6076
|
206 <a href="ftp://ftp.pina.si/slitaz/">
|
pascal@6076
|
207 ftp://ftp.pina.si/slitaz/</a></li>
|
pascal@6077
|
208 <li><a href="http://en.utrace.de/?query=distro.ibiblio.org">
|
pascal@6077
|
209 <img title="map" src="pics/website/us.png" alt="map" /></a>
|
pascal@6076
|
210 <a href="http://distro.ibiblio.org/pub/linux/distributions/slitaz/">
|
pascal@7324
|
211 http://distro.ibiblio.org/pub/linux/distributions/slitaz/</a> or
|
pascal@7324
|
212 <a href="ftp://distro.ibiblio.org/pub/linux/distributions/slitaz/">ftp</a></li>
|
pascal@6076
|
213 <li><a href="http://en.utrace.de/?query=ftp.vim.org">
|
pascal@6077
|
214 <img title="map" src="pics/website/nl.png" alt="map" /></a>
|
pascal@6076
|
215 <a href="http://ftp.vim.org/ftp/os/Linux/distr/slitaz/">
|
pascal@7324
|
216 http://ftp.vim.org/ftp/os/Linux/distr/slitaz/</a> or
|
pascal@7324
|
217 <a href="ftp://ftp.vim.org/mirror/os/Linux/distr/slitaz/">
|
pascal@7324
|
218 ftp</a></li>
|
pascal@7324
|
219 <li><a href="http://en.utrace.de/?query=ftp.nedit.org">
|
pascal@7324
|
220 <img title="map" src="pics/website/nl.png" alt="map" /></a>
|
pascal@7324
|
221 <a href="http://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/">
|
pascal@7324
|
222 http://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/</a> or
|
pascal@7324
|
223 <a href="ftp://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/">
|
pascal@7324
|
224 ftp</a></li>
|
pascal@7324
|
225 <li><a href="http://en.utrace.de/?query=ftp.ch.xemacs.org">
|
pascal@7324
|
226 <img title="map" src="pics/website/ch.png" alt="map" /></a>
|
pascal@7324
|
227 <a href="http://ftp.ch.xemacs.org/ftp/pool/2/mirror/slitaz/" />
|
pascal@7324
|
228 http://ftp.ch.xemacs.org/ftp/pool/2/mirror/slitaz/</a> or
|
pascal@7324
|
229 <a href="ftp://ftp.ch.xemacs.org//pool/2/mirror/slitaz/" />
|
pascal@7324
|
230 ftp</a></li>
|
pascal@6076
|
231 </ul>
|
pascal@6076
|
232
|
pascal@6076
|
233 <a name="builds"></a>
|
pascal@6076
|
234 <h3><img title="Daily builds" src="pics/website/monitor.png" alt="builds" />
|
pascal@6076
|
235 Daily builds</h3>
|
pascal@6076
|
236
|
pascal@6076
|
237 <?php
|
pascal@7324
|
238 function display_log($file,$anchor,$url)
|
pascal@6076
|
239 {
|
pascal@6076
|
240 echo '<a name="'.$anchor.'"></a>';
|
pascal@7324
|
241 echo "<a href=\"$url\">";
|
pascal@6076
|
242 system("stat -c '<h4>%y %n</h4>' ".$file." | sed -e 's/.000000000//' -e 's|/var/log/\(.*\).log|\\1.iso|'");
|
pascal@7324
|
243 echo "</a>";
|
pascal@6076
|
244 echo "<pre>";
|
pascal@6076
|
245 system("cat ".$file." | sed -e 's/.\[[0-9][^mG]*.//g' | awk '".
|
pascal@6076
|
246 '{ if (/\[/) { n=index($0,"["); printf("%s%s%s\n",substr($0,1,n-1),'.
|
pascal@6076
|
247 'substr("\t\t\t\t\t\t\t",1,9-(n/8)),substr($0,n)); } else print }'."'");
|
pascal@6076
|
248 echo "</pre>";
|
pascal@6076
|
249 }
|
pascal@6076
|
250
|
pascal@7324
|
251 display_log("/var/log/packages-stable.log", "buildstable", "/iso/stable/packages-3.0.iso");
|
pascal@7324
|
252 display_log("/var/log/packages-cooking.log","buildcooking","/iso/cooking/packages-cooking.iso");
|
pascal@6076
|
253 ?>
|
pascal@6076
|
254 <!-- End of content with round corner -->
|
pascal@6076
|
255 </div>
|
pascal@6076
|
256 <div id="content_bottom">
|
pascal@6076
|
257 <div class="bottom_left"></div>
|
pascal@6076
|
258 <div class="bottom_right"></div>
|
pascal@6076
|
259 </div>
|
pascal@6076
|
260
|
pascal@6076
|
261 <!-- Start of footer and copy notice -->
|
pascal@6076
|
262 <div id="copy">
|
pascal@6076
|
263 <p>
|
pascal@6076
|
264 Last update : <?php echo date('r'); ?>
|
pascal@6076
|
265 </p>
|
pascal@6076
|
266 <p>
|
pascal@6076
|
267 Copyright © <?php echo date('Y'); ?> <a href="http://www.slitaz.org/">SliTaz</a> -
|
pascal@6076
|
268 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
|
pascal@6076
|
269 </p>
|
pascal@6076
|
270 <!-- End of copy -->
|
pascal@6076
|
271 </div>
|
pascal@6076
|
272
|
pascal@6076
|
273 <!-- Bottom and logo's -->
|
pascal@6076
|
274 <div id="bottom">
|
pascal@6076
|
275 <p>
|
pascal@6076
|
276 <a href="http://validator.w3.org/check?uri=referer"><img
|
pascal@6076
|
277 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
|
pascal@6076
|
278 title="Code validé XHTML 1.0"
|
pascal@6076
|
279 style="width: 80px; height: 15px;" /></a>
|
pascal@6076
|
280 </p>
|
pascal@6076
|
281 </div>
|
pascal@6076
|
282
|
pascal@6076
|
283 </body>
|
pascal@6076
|
284 </html>
|