tiny-slitaz view index.php @ rev 35

helper: fix /etc/packages.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 13 15:37:38 2021 +0000 (2021-07-13)
parents d968049fa2bd
children
line source
1 <?php // needs 'www ALL=NOPASSWD: /path/to/helper' in /etc/sudoers
2 include "download.php";
3 $static = "http://mirror1.slitaz.org/static/";
4 ?>
5 <!DOCTYPE html>
6 <html lang="en">
7 <head>
8 <meta charset="UTF-8">
9 <title>Tiny SliTaz - Builder</title>
10 <meta name="description" content="Tiny SliTaz Linux">
11 <meta name="keywords" lang="en" content="tiny slitaz, uclibc, tcc">
12 <meta name="robots" content="index, follow, all">
13 <meta name="revisit-after" content="7 days">
14 <meta name="expires" content="never">
15 <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>">
16 <meta name="viewport" content="width=device-width, initial-scale=1">
17 <meta name="author" content="SliTaz Contributors">
18 <meta name="publisher" content="www.slitaz.org">
19 <link rel="shortcut icon" href="favicon.ico">
20 <link rel="stylesheet" href="slitaz.min.css">
21 <link rel="stylesheet" href="tiny.css">
22 <style>pre, tt, code { font-size: 0.9rem; }</style>
23 </head>
24 <body>
26 <script>de=document.documentElement;de.className+=(("ontouchstart" in de)?' touch':' no-touch');</script>
28 <header>
29 <h1 id="top"><a href="http://tiny.slitaz.org/">Tiny SliTaz</a></h1>
30 <div class="network">
31 <a href="http://www.slitaz.org/" class="home"></a>
32 <!-- Get static files from Mirror Files vhost -->
33 <!-- <img src="http://mf.slitaz.org/images/people.png" alt="[ Group ]" /> -->
34 Tiny:
35 <!-- a href="http://scn.slitaz.org/groups/tiny">Group</a -->
36 <a href="http://forum.slitaz.org/forum/tiny">Forum</a>
37 Screenshots:
38 <a href="tinyslitaz.png" title="Tiny SliTaz Manager">main</a>
39 <a href="tinyslitaz-boot.png" title="Tiny SliTaz Manager: boot.log">boot log</a>
40 <a href="tinyslitaz-httpinfo.png" title="Tiny SliTaz Manager: httpd info">httpd info</a>
41 </div>
42 </header>
45 <!-- Content -->
46 <main>
48 <?php if (!empty($error)) echo "
49 <div class=\"nav_box\">
50 <h4>Error:</h4>
51 <p>$error</p>
52 </div>
53 "; ?>
55 <h2>Build your configuration from binary packages</h2>
57 <?php
58 proc_nice(10);
59 include "step1.php";
60 include "step2.php";
61 include "step3.php";
62 include "step4.php";
63 include "step5.php";
64 ?>
66 <h3>Tiny SliTaz goals</h3>
68 <p>Useful software, expansible, easy to configure, runs fully in RAM, simple,
69 light and fast for minimum hardware resources, i.e. fits on one floppy disk (IDE
70 disk optional), runs on a 386SX processor and needs as little memory as possible
71 (currently 4MB with a 2.6.14 Kernel).
72 <a href="http://doc.slitaz.org/en:guides:pxe#why-use-pxe-the-vnc-example">Example</a>
73 </p>
76 <h3>Why this builder?</h3>
78 <p>Tiny SliTaz should be as small as possible. Only the necessary software is
79 kept. The package manager is run using this website.</p>
82 <h3>How is it built?</h3>
84 <p>The initramfs is based on <a href="http://uclibc.org/"
85 title="Instead of glibc">uClibc</a> and busybox with its <a
86 href="dist/busybox.config.txt">config</a> files and this <a
87 href="http://hg.slitaz.org/wok-tiny/file/tip/base-tiny/stuff">filesystem tree</a>.
88 The selected packages, modules and configuration files are stored in this
89 initramfs.
90 </p>
93 <!-- End of content -->
94 </main>
96 <script>
97 function QRCodePNG(str, obj) {
98 try {
99 obj.height = obj.width += 300;
100 return QRCode.generatePNG(str, {ecclevel: 'H'});
101 }
102 catch (any) {
103 var element = document.createElement("script");
104 element.src = "qrcode.min.js";
105 element.type = "text/javascript";
106 element.onload = function() {
107 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'});
108 };
109 document.body.appendChild(element);
110 }
111 }
112 </script>
114 <footer>
115 <div>
116 Copyright © <?php echo date ('Y') ?> <a href="http://www.slitaz.org/">SliTaz</a>
117 </div>
118 <div>
119 Network:
120 <a href="http://scn.slitaz.org/">Community</a> ·
121 <a href="http://doc.slitaz.org/">Doc</a> ·
122 <a href="http://forum.slitaz.org/">Forum</a> ·
123 <a href="http://pkgs.slitaz.org/">Packages</a> ·
124 <a href="http://bugs.slitaz.org">Bugs</a> ·
125 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
126 </div>
127 <div>
128 SliTaz @
129 <a href="http://twitter.com/slitaz">Twitter</a> ·
130 <a href="http://www.facebook.com/slitaz">Facebook</a> ·
131 <a href="http://distrowatch.com/slitaz">Distrowatch</a> ·
132 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> ·
133 <a href="http://flattr.com/profile/slitaz">Flattr</a>
134 </div>
135 <img src="qr.png" alt="#" onmouseover="this.title = location.href"
136 onclick="this.src = QRCodePNG(location.href, this)"/>
137 </footer>
139 </body>
140 </html>