tiny-slitaz annotate index.php @ rev 5

refresh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 07 23:37:02 2015 +0200 (2015-10-07)
parents d203aafad141
children ac214416e736
rev   line source
pascal@0 1 <?php
pascal@0 2 include "download.php";
pascal@0 3 $static = "http://mirror.slitaz.org/static/";
pascal@0 4 ?>
pascal@0 5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
pascal@0 6 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
pascal@0 7 <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
pascal@0 8 <head>
pascal@0 9 <title>Tiny SliTaz - Builder</title>
pascal@0 10 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
pascal@0 11 <meta name="description" content="Tiny SliTaz Linux" />
pascal@0 12 <meta name="keywords" lang="en" content="tiny slitaz, uclibx, tcc" />
pascal@0 13 <meta name="robots" content="index, follow, all" />
pascal@0 14 <meta name="revisit-after" content="7 days" />
pascal@0 15 <meta name="expires" content="never" />
pascal@0 16 <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" />
pascal@0 17 <meta name="author" content="SliTaz Contributors" />
pascal@0 18 <meta name="publisher" content="www.slitaz.org" />
pascal@0 19 <link rel="shortcut icon" href="<?php echo "$static"; ?>favicon.ico" />
pascal@0 20 <link rel="stylesheet" type="text/css" href="<?php echo "$static"; ?>slitaz.css" />
pascal@0 21 <link rel="stylesheet" type="text/css" href="tiny.css" />
pascal@0 22 </head>
pascal@0 23 <body>
pascal@0 24
pascal@0 25 <!-- Header -->
pascal@0 26 <div id="header">
pascal@0 27 <a name="top"></a>
pascal@0 28 <div id="logo"></div>
pascal@0 29 <div id="network">
pascal@0 30 <a href="http://www.slitaz.org/">
pascal@0 31 <img src="<?php echo "$static"; ?>/home.png" alt="[ Home ]" /></a>
pascal@0 32 <!-- Get static files from Mirror Files vhost -->
pascal@0 33 <!-- <img src="http://mf.slitaz.org/images/people.png" alt="[ Group ]" /> -->
pascal@0 34 Tiny:
pascal@0 35 <a href="http://scn.slitaz.org/groups/tiny">Group</a>
pascal@0 36 <a href="http://forum.slitaz.org/forum/tiny">Forum</a>
pascal@0 37 Screenshots:
pascal@0 38 <a href="tinyslitaz.png" title="Tiny SliTaz Manager">main</a>
pascal@0 39 <a href="tinyslitaz-boot.png" title="Tiny SliTaz Manager: boot.log">boot log</a>
pascal@0 40 <a href="tinyslitaz-httpinfo.png" title="Tiny SliTaz Manager: httpd info">httpd info</a>
pascal@0 41 </div>
pascal@0 42 <h1><a href="http://tiny.slitaz.org/">Tiny SliTaz</a></h1>
pascal@0 43 </div>
pascal@0 44
pascal@0 45
pascal@0 46 <!-- Content -->
pascal@0 47 <div id="content">
pascal@0 48
pascal@5 49 <?php if (!empty($error)) echo "
pascal@0 50 <div class=\"nav_box\">
pascal@0 51 <h4>Error :</h4>
pascal@0 52 <p>$error</p>
pascal@0 53 </div>
pascal@0 54 "; ?>
pascal@0 55
pascal@0 56 <h2>Build your configuration from binary packages</h2>
pascal@0 57
pascal@0 58 <?php
pascal@1 59 proc_nice(10);
pascal@0 60 include "step1.php";
pascal@0 61 include "step2.php";
pascal@0 62 include "step3.php";
pascal@0 63 include "step4.php";
pascal@0 64 include "step5.php";
pascal@0 65 ?>
pascal@0 66
pascal@0 67
pascal@0 68 <div class="box">
pascal@0 69 <h4>Tiny SliTaz goals</h4>
pascal@0 70 <p>
pascal@0 71 Useful software, expansible, easy to configure, runs fully in RAM,
pascal@0 72 simple, light and fast for minimum hardware resources: ie fits on
pascal@0 73 one floppy disk (IDE disk optional), runs on a 386sx processor and
pascal@5 74 needs as little memory as possible (currently 4 MB with a 2.6.14
pascal@0 75 kernel).
pascal@0 76 <a href="http://doc.slitaz.org/en:guides:pxe#why-use-pxe-the-vnc-example">
pascal@0 77 Example</a>
pascal@0 78 </p>
pascal@0 79 </div>
pascal@0 80
pascal@0 81 <div class="box">
pascal@0 82 <h4>Why this builder ?</h4>
pascal@0 83 <p>
pascal@0 84 Tiny SliTaz should be as small as possible. Only the necessary
pascal@0 85 software is kept. The package manager is run using this website.
pascal@0 86 </p>
pascal@0 87 </div>
pascal@0 88
pascal@0 89 <div class="box">
pascal@0 90 <h4>How is it built ?</h4>
pascal@0 91 <p>
pascal@0 92 Tiny SliTaz uses a Linux kernel
pascal@0 93 with an <a href="dist/rootfs.cpio" title="See CONFIG_INITRAMFS_SOURCE">
pascal@0 94 embedded filesystem</a>. An extra initramfs can also be loaded with
pascal@0 95 the configuration and extra packages.
pascal@0 96 </p>
pascal@0 97 <p>
pascal@0 98 The initramfs is based on <a href="http://uclibc.org/"
pascal@0 99 title="Instead of glibc">uClibc</a> and
pascal@0 100 busybox with its <a href="dist/busybox.config.txt">config</a>
pascal@5 101 files and this
pascal@5 102 <a href="http://hg.slitaz.org/wok-tiny/file/tip/base-tiny/stuff">
pascal@5 103 filesystem tree</a>.
pascal@0 104 </p>
pascal@0 105 </div>
pascal@0 106
pascal@0 107 <!-- End of content -->
pascal@0 108 </div>
pascal@0 109
pascal@0 110 <!-- Footer -->
pascal@0 111 <div id="footer">
pascal@0 112 Copyright &copy; <span class="year"></span>
pascal@0 113 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
pascal@0 114 <a href="http://scn.slitaz.org/">Community</a>
pascal@0 115 <a href="http://doc.slitaz.org/">Doc</a>
pascal@0 116 <a href="http://forum.slitaz.org/">Forum</a>
pascal@0 117 <a href="http://pkgs.slitaz.org/">Packages</a>
pascal@0 118 <a href="http://bugs.slitaz.org">Bugs</a>
pascal@0 119 <a href="http://hg.slitaz.org/">Hg</a>
pascal@0 120 <p>
pascal@0 121 SliTaz @
pascal@0 122 <a href="http://twitter.com/slitaz">Twitter</a>
pascal@0 123 <a href="http://www.facebook.com/slitaz">Facebook</a>
pascal@0 124 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
pascal@0 125 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
pascal@0 126 <a href="http://flattr.com/profile/slitaz">Flattr</a>
pascal@0 127 </p>
pascal@5 128 <p>
pascal@5 129 <script type="text/javascript">
pascal@5 130 function QRCodePNG(str, obj) {
pascal@5 131 try {
pascal@5 132 obj.height = obj.width += 200;
pascal@5 133 return QRCode.generatePNG(str, {ecclevel: 'H'});
pascal@5 134 }
pascal@5 135 catch (any) {
pascal@5 136 var element = document.createElement("script");
pascal@5 137 element.src = "/static/qrcode.js";
pascal@5 138 element.type ="text/javascript";
pascal@5 139 element.onload = function() {
pascal@5 140 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'});
pascal@5 141 };
pascal@5 142 document.body.appendChild(element);
pascal@5 143 }
pascal@5 144 }
pascal@5 145 </script>
pascal@5 146 <img src="/static/qr.png" alt="#" onmouseover="this.title = location.href"
pascal@5 147 onclick="this.src = QRCodePNG(location.href, this)" />
pascal@5 148 </p>
pascal@0 149 </div>
pascal@0 150
pascal@0 151 </body>
pascal@0 152 </html>