- From: Purodha B Blissenbach <publi@web.de>
- Date: Thu, 7 Aug 2003 14:54:28 +0200
- To: www-validator@w3.org
- Cc: "studioasl.com Verteiler" <studioasl@purodha.net>
Hi www-validator folks,
Thanks for your service, anyway!
My Problem.
-----------
Validator does not like 'colspacing=' and 'colpadding=' in the
first table in the document, see line 69, while in lines 77, 91,
and 183 it accepts tables having identical attribute lists.
Details.
--------
I am sending this to the list without being subscribed,
following the recommendation in the last sentence on page:
http://validator.w3.org/feedback.html
There seems to be a problem with a XHTML 1.0 Transitional Page,
currently here:
http://phpmyadmin.hostsharing.net/doku/index.php
I include its source below since it's a dynamic page under
development. It may chance & loose it's ability to trigger
the problem.
The remainder of this e-mail is a copy of (most of) validators
output page including the input page source. Hopefully that
helps. If you need more info, just e-mail me, <publi@web.de>,
or <phpmyadmin (@) hostsharing.net> .
Data.
-----
Address: http://phpmyadmin.hostsharing.net/doku/index.php
Encoding: iso-8859-1
Doctype: XHTML 1.0 Transitional
Errors: 2
Note: The Validator XML support has some limitations.
This page is not Valid XHTML 1.0 Transitional!
Below are the results of attempting to parse this document with an SGML parser.
Line 69, column 32: there is no attribute "colspacing" (explain...).
<table align="right" colspacing="0" colpadding="0" border="0"><tr><td><a href="h
^
Line 69, column 47: there is no attribute "colpadding" (explain...).
...gn="right" colspacing="0" colpadding="0" border="0"><tr><td><a href="http://w
^
Source Listing
Below is the source input I used for this validation:
1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3: <html>
4: <head>
5: <title>phpMyAdmin bei Hostsharing </title>
6: <meta name="description" http-equiv="description" content="Das Werkzeug phpMyAdmin bei Hostsharing: Installation, Konfiguration, Versionen, Updates, Pflege, Hintergrund." />
7: <meta name="abstract" http-equiv="abstract" content="Das Werkzeug phpMyAdmin bei Hostsharing: Installation, Konfiguration, Versionen, Updates, Pflege, Hintergrund." />
8: <meta name="keywords" http-equiv="keywords" content="phpMyAdmin,Hostsharing,mySQL,Datenbank,SQL,Zugang,Installation,Versionen,Updates,Update,Download,Downloads,Pflege,Pflegen,Hintergrund,Hintergründe,Hintergrundinformation,intern,Internes,Interna,Konfiguration" />
9: <meta name="author" http-equiv="author" content="Purodha Blissenbach, Hostsharing eG" />
10: <meta name="copyright" content="Copyright: GPL, see http://www.gnu.org/copyleft/gpl.html#SEC1" />
11: <link rel="start" href="http://www.hostsharing.net/" hreflang="de" />
12: <link rel="copyright" href="http://www.gnu.org/copyleft/gpl.html" hreflang="en" />
13: <style type="text/css" media="screen">
14: <!--
15: p {
16: margin-bottom : 0.4em;
17: }
18: li {
19: margin-bottom : 1%;
20: }
21: table {
22: padding : 0;
23: margin-bottom : 0.4em;
24: }
25: .kleinkursiv {
26: font-style : italic ;
27: font-size : 75%;
28: }
29: .filedata
30: {
31: font-family : monospace;
32: padding : 0;
33: white-space : nowrap;
34: line-break : strict;
35: word-break : keep-all;
36: word-wrap : break-word;
37: }
38: td.filedata
39: {
40: padding : 0.5em;
41: color : #111100;
42: background-color : #dddddd;
43: font-size : 0.85em;
44: }
45: h4.filedata
46: {
47: margin-top : 0.5em;
48: margin-left : 3em;
49: margin-right : 0;
50: margin-bottom : 0.5em;
51: font-weight : bold;
52: }
53: li td.filedata
54: {
55: margin-left : 0;
56: }
57: li h4.filedata
58: {
59: margin-top : 0.5em;
60: margin-left : 0;
61: margin-right : 0;
62: margin-bottom : 0.5em;
63: }
64: //-->
65: </style>
66: </head>
67: <body>
68:
69: <table align="right" colspacing="0" colpadding="0" border="0"><tr><td><a href="http://www.mysql.com/" target="_blank" title=" Zur MySQL Home Page "><img src="http://www.mysql.com/images/interface-logo.png" align="right" border="0" vspace="8" hspace="8" alt="MySQL Logo" /></a></td></tr></table>
70:
71: <h1> Das Werkzeug
72: <strong> phpMyAdmin </strong>
73: bei Hostsharing.
74: <!-- x-p><a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage "><img src="/current/images/pma_logo.png" x-align="right" border="0" vspace="0" hspace="8" alt="phpMyAdmin Logo" /></a></x-p -->
75: </h1>
76:
77: <table align="right" colspacing="0" colpadding="0" border="0"><tr><td><a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage "><img src="http:/current/images/pma_logo.png" align="right" border="0" vspace="8" hspace="16" alt="phpMyAdmin Logo" /></a></td></tr></table>
78:
79: <p> Hier entsteht die Dokumentation der allgemeinen
80: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>-Installation
81: bei der
82: <a href="http://hostsharing.net" target="_blank" title=" Zur Homepage der Hostsharig eG ">Hostsharing eG</a>,
83: ein
84: <a href="http://www.php.net" target="_blank" title=" Zur offiziellen Startseite von php, der Programmiersprache fü dynamische Webseiten ">php4</a>-Programm-System,
85: mit dem sich
86: <a href="http://www.mysql.com/" target="_blank" title=" Zur MySQL Home Page">MySQL</a>-Datenbanken
87: auf unsern Servern per Web-Interface anlegen, inspizieren und verwalten lassen.</p>
88:
89: <h2>Nutzbare Versionen.</h2>
90:
91: <table align="right" colspacing="0" colpadding="0" border="0"><tr><td> </td></tr><tr bgcolor="#9999cc"><td><a href="http://www.php.net/" target="_blank" title=" Zur php Home Page "><img src="http://static.php.net/www.php.net/images/php.gif" align="right" border="1" vspace="8" hspace="8" alt="php Logo" /></a></td></tr></table>
92:
93: <p> Wir halten einige Versionen von
94: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
95: bereit:</p>
96:
97: <ul>
98: <li>
99: <a href="https://phpmyadmin.hostsharing.net/current/">Die neueste freigegebene Version</a>.
100: Sie sollte normalerweise stabil laufen und vorzugsweise benutzt werden.
101: <span class="kleinkursiv"><br />(Stand: 2003-08-06)</span>
102: </li>
103:
104: <li>
105: Die <a href="https://phpmyadmin.hostsharing.net/dev/">tagesaktuelle Entwicklungsversion</a> aus dem
106: <a href="#cvs">cvs</a> der Entwickler - Achtung: Funktionieren kann nicht immer garantiert werden.
107: Das hat mehrere <a href="#cvs">Ursachen</a>.
108: <span class="kleinkursiv"><br />(Stand: 2003-08-07)</span>
109: </li>
110:
111: <li>
112: Ältere Versionen und weitere Versionen, einschließlich der Aktuellen:
113: <div style="width: 96%; white-space: nowrap;" align="left">
114: <div align="left" style="float: left; margin-right: 12 px;">
115: <a href="https://phpmyadmin.hostsharing.net/2.2.4">Version 2.2.4</a>
116: <span class="kleinkursiv"><br />(Stand: 2003-05-14)</span>
117: </div>
118: <div align="left" style="float: left; margin-right: 12 px;">
119: <a href="https://phpmyadmin.hostsharing.net/2.2.5">Version 2.2.5</a>
120: <span class="kleinkursiv"><br />(Stand: 2003-05-21)</span>
121: </div>
122: <div align="left" style="float: left; margin-right: 12 px;">
123: <a href="https://phpmyadmin.hostsharing.net/2.2.6">Version 2.2.6</a>
124: <span class="kleinkursiv"><br />(Stand: 2003-05-16)</span>
125: </div>
126: <div align="left" style="float: left; margin-right: 12 px;">
127: <a href="https://phpmyadmin.hostsharing.net/2.2.7">Version 2.2.7</a>
128: <span class="kleinkursiv"><br />(Stand: 2003-05-09)</span>
129: </div>
130: <div align="left" style="float: left; margin-right: 12 px;">
131: <a href="https://phpmyadmin.hostsharing.net/2.3.0">Version 2.3.0</a>
132: <span class="kleinkursiv"><br />(Stand: 2003-05-09)</span>
133: </div>
134: <div align="left" style="float: left; margin-right: 12 px;">
135: <a href="https://phpmyadmin.hostsharing.net/2.3.1">Version 2.3.1</a>
136: <span class="kleinkursiv"><br />(Stand: 2003-05-09)</span>
137: </div>
138: <div align="left" style="float: left; margin-right: 12 px;">
139: <a href="https://phpmyadmin.hostsharing.net/2.3.2">Version 2.3.2</a>
140: <span class="kleinkursiv"><br />(Stand: 2003-05-09)</span>
141: </div>
142: <div align="left" style="float: left; margin-right: 12 px;">
143: <a href="https://phpmyadmin.hostsharing.net/2.3.3">Version 2.3.3</a>
144: <span class="kleinkursiv"><br />(Stand: 2003-05-09)</span>
145: </div>
146: <div align="left" style="float: left; margin-right: 12 px;">
147: <a href="https://phpmyadmin.hostsharing.net/2.4.0">Version 2.4.0</a>
148: <span class="kleinkursiv"><br />(Stand: 2003-05-22)</span>
149: </div>
150: <div align="left" style="float: left; margin-right: 12 px;">
151: <a href="https://phpmyadmin.hostsharing.net/2.5.0">Version 2.5.0</a>
152: <span class="kleinkursiv"><br />(Stand: 2003-06-23)</span>
153: </div>
154: <div align="left" style="float: left; margin-right: 12 px;">
155: <a href="https://phpmyadmin.hostsharing.net/2.5.1">Version 2.5.1</a>
156: <span class="kleinkursiv"><br />(Stand: 2003-06-23)</span>
157: </div>
158: <div align="left" style="float: left; margin-right: 12 px;">
159: <a href="https://phpmyadmin.hostsharing.net/2.5.2">Version 2.5.2</a>
160: <span class="kleinkursiv"><br />(Stand: 2003-08-01)</span>
161: </div>
162: <div align="left" style="float: left; margin-right: 12 px;">
163: <a href="https://phpmyadmin.hostsharing.net/2.5.2-pl1">Version 2.5.2-pl1</a>
164: <span class="kleinkursiv"><br />(Stand: 2003-08-06)</span>
165: </div>
166: </div>
167: </li>
168: </ul>
169:
170: <p> Wir entfernen von Zeit zu Zeit zu alte Versionen vom Server.
171: Die Verzeichnisse und URLs zum Einstieg bleiben erhalten und
172: geben einen Hinweis aus, bitte eine der neueren Versionen zu benutzen.
173: Wird eine vergangene Version wirklich noch einmal gefordert,
174: kann sie wiederhergestellt werden, eine e-mail an
175: <tt><a href="mailto:hostmaster@">hostmaster@</a></tt>
176: beziehungsweise an
177: <tt><a href="mailto:phpmyadmin@">phpmyadmin@</a></tt> reicht.</p>
178:
179: <p> <a href="http://www.mysql.com/" target="_blank" title=" Zur mySQL Home Page"></a></p>
180:
181: <h2>Administration der Installation.</h2>
182:
183: <table align="right" colspacing="0" colpadding="0" border="0"><tr><td bgcolor="#e6e6e6"><a href="http://hostsharing.net/" target="_blank" title=" Zur Home Page der Hostsharing eG "><img src="http://hostsharing.net/images/hs_web_top_b.gif" align="right" border="0" vspace="8" hspace="8" alt="Hostsharing Logo" /></a></td></tr></table>
184:
185: <p> Die gesamte Administration der Installation auf dem <a href="#subdomain">Server</a>
186: <tt><a href="ssh2://hsh00-phpmyadmin@phpmyadmin.hostsharing.net?login=hsh00-phpmyadmin">phpmyadmin.hostsharing.net</a></tt>
187: der
188: <a href="http://hostsharing.net/" target="_blank" title=" Zur Home Page der Hostsharing eG ">Hostsharing eG</a>
189: erfolgt durch einen eigens dazu eingerichteten
190: <a href="#shelluser">Shell-User</a> mit dem Namen
191: <a href="#shelluser"><tt>hsh00-phpmyadmin</tt></a>, der die
192: <a href="#subdomain">Subdomain <tt>phpmyadmin.hostsharing.net</tt></a>, mit zwei
193: <a href="#webserver">virtuellen Webservers</a>, den
194: <a href="#webspace">Webspace</a>, einige
195: <a href="#scripte">shell scripte</a> und einige
196: <a href="#files">weitere Dateien</a>, einen
197: <a href="#cron"><tt>cron</tt> Job</a>, ein
198: <a href="#cvs">lokales <tt>cvs</tt> repository</a> und einen
199: <a href="#dbuser">Datenbank-user</a> verwaltet.
200: </p>
201:
202: <h3 id="shelluser">Der Shell User.</h3>
203:
204: <p> Der user <tt>hsh00-phpmyadmin</tt> ist auf dem host
205: <tt>phpmyadmin.hostsharing.net</tt> für die Betreuung von
206: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
207: zuständig.</p>
208:
209: <p> Seine wichtigsten regelmäßigen Aufgaben sind
210: die Überwachung der Meldungen des
211: <a href="#cron"><tt>cron</tt> Jobs</a>, und wenn nötig, die
212: <a href="#konfiguration">Konfiguration</a> anzupassen, wenn Änderungen
213: im <tt>cvs</tt> der Entwickler es notwendig machen, und immer wenn eine neue aktuelle
214: <a href="#wersionswechsel">Version</a> installiert werden muß.</p>
215:
216: <p> Eingehende e-mail des users <tt>hsh00-phpmyadmin</tt>
217: wird an den oder die aktuellen Maintainer des Projekts weitergeleitet,
218: derzeit durch die Datei <tt>~/.forward</tt> im Home-Verzeichnis des users
219: <tt>hsh00-phpmyadmin</tt> mit folgendem Inhalt:</p>
220:
221: <h4 id="dot_forward" class="filedata"><tt> ~/.forward :</tt></h4>
222: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>purodha@hostsharing.net</tt></td><td></td></tr></table>
223: <h3 id="konfiguration">Die Konfiguration von PhpMyAdmin.</h3>
224:
225: <p> Wir fahren
226: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
227: im 'offenen Mehrnutzerbetrieb' und nutzen das Rechtesystem von
228: <a href="http://www.mysql.com/" target="_blank" title=" Zur MySQL Home Page">MySQL</a>
229: dazu, die Rechte der Nutzer im Web zu prüfen. Ein speziell für
230: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
231: angelegter
232: <a href="http://www.mysql.com/" target="_blank" title=" Zur MySQL Home Page">MySQL</a>-user
233: kann diese Prüfungen vornehmen; weitergehende Rechte hat er
234: nicht, so daß mit ihm kein Zugriff auf Informationen möglich
235: ist, an die später die Nutzer nur mit Hilfe ihrer Passworte herankommen.
236: Genaueres findet man in der
237: <a href="/current/Documentation.html" target="_blank" title=" Zur PhpMyAdmin-Installationsanleitung ">Dokumentation</a>
238: zu
239: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
240: unter
241: "<a href="/current/Documentation.html#setup" target="_blank" title=" Zur PhpMyAdmin-Installationsanleitung ">Using authentication modes</a>".</p>
242:
243: <p> Die Konfigurationsfiles der verschiedenen installierten Versionen von
244: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
245: enthalten auch eine vertrauliche Information und sind deshalb nur Mitgliedern
246: zugänglich.</p>
247:
248: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.2.4_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.2.4">~/subs/phpmyadmin.hostsharing.net/2.2.4/config.inc.php</a></tt></h4>
249: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.2.5_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.2.5">~/subs/phpmyadmin.hostsharing.net/2.2.5/config.inc.php</a></tt></h4>
250: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.2.6_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.2.6">~/subs/phpmyadmin.hostsharing.net/2.2.6/config.inc.php</a></tt></h4>
251: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.2.7_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.2.7">~/subs/phpmyadmin.hostsharing.net/2.2.7/config.inc.php</a></tt></h4>
252: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.3.0_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.3.0">~/subs/phpmyadmin.hostsharing.net/2.3.0/config.inc.php</a></tt></h4>
253: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.3.1_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.3.1">~/subs/phpmyadmin.hostsharing.net/2.3.1/config.inc.php</a></tt></h4>
254: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.3.2_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.3.2">~/subs/phpmyadmin.hostsharing.net/2.3.2/config.inc.php</a></tt></h4>
255: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.3.3_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.3.3">~/subs/phpmyadmin.hostsharing.net/2.3.3/config.inc.php</a></tt></h4>
256: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.4.0_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.4.0">~/subs/phpmyadmin.hostsharing.net/2.4.0/config.inc.php</a></tt></h4>
257: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.5.0_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.5.0">~/subs/phpmyadmin.hostsharing.net/2.5.0/config.inc.php</a></tt></h4>
258: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.5.1_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.5.1">~/subs/phpmyadmin.hostsharing.net/2.5.1/config.inc.php</a></tt></h4>
259: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.5.2_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.5.2">~/subs/phpmyadmin.hostsharing.net/2.5.2/config.inc.php</a></tt></h4>
260: <h4 id="datei_subs_phpmyadmin.hostsharing.net_2.5.2-pl1_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=2.5.2-pl1">~/subs/phpmyadmin.hostsharing.net/2.5.2-pl1/config.inc.php</a></tt></h4>
261: <h4 id="datei_subs_phpmyadmin.hostsharing.net_current_config.inc.php" class="filedata"><tt><a href="/doku/config.php?config=current">~/subs/phpmyadmin.hostsharing.net/current/config.inc.php</a></tt></h4>
262: <h4 id="datei_subs_phpmyadmin.hostsharing.net_dev_config.inc.php3" class="filedata"><tt><a href="/doku/config.php?config=dev">~/subs/phpmyadmin.hostsharing.net/dev/config.inc.php3</a></tt></h4>
263: <p> Die Konfigurationsdateien der installierten freigegebenen Versionen
264: (also ohne Entwicklungsversion) und auch der wieder gelöschten
265: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
266: Versionen werden in einer Archivatei gesammelt:</p>
267: <h4 class="filedata"><a href="/doku/config.php?download=~/config.inc.php.collection.tar">~/config.inc.php.collection.tar</a></h4>
268: <p> Die <a href="#scripte">shell scripte</a>
269: <tt><a href="#bin_setcurrent">setcurrent</a></tt>,
270: <tt><a href="#bin_warnold">warnold</a></tt>
271: und
272: <tt><a href="#bin_setremoved">setremoved</a></tt>
273: sammeln die Dateien automatisch, das
274: <a href="#scripte">shell script</a>
275: <tt><a href="#bin_archiveconfig">archiveconfig</a></tt>
276: wird dazu intern gerufen und tut die eigentliche Arbeit.</p>
277:
278: <h3 id="wersionswechsel">Versionswechsel.</h3>
279: <p> Bei einem Versionswechsel sind in der Regel folgende Schritte notwendig:</p>
280: <ol>
281: <li>
282: <p> <strong>Info.</strong><br />
283: Durch eine Mitteilung der Entwickler, die bei uns auch aotmatisch auf der
284: technik@
285: Mailingliste erscheint
286: kommt die Information, daß eine neue Version zum Downloaden
287: bereitsteht. (Meist ist einen Tag vorher beim automatischen Update
288: aus dem
289: <a href="#cvs">cvs</a>
290: der Entwickler bereits ein Versionskonflikt
291: in der Datei <tt>config.inc.php3</tt> aufgetreten)</p>
292: </li>
293: <li>
294: <p> <strong>Downloaden.</strong><br />
295: </p>
296: </li>
297: <li>
298: <p> <strong>Konfigurieren.</strong><br />
299: </p>
300: </li>
301: <li>
302: <p> <strong>Prüfen.</strong><br />
303: </p>
304: </li>
305: <li>
306: <p> <strong>Aktuelle Version setzen.</strong><br />
307: </p>
308: </li>
309: <li>
310: <p> <strong>Mitteilung an Mailingliste schicken.</strong><br />
311: </p>
312: </li>
313: <li>
314: <p> <strong>Alte Version auslaufen lassen und löschen.</strong><br />
315: Wenn sinnvoll, sollte noch eine ältere Version auf
316: "Auslauf"
317: gesetzt und die älteste gelöscht werden, so daß
318: immer etwa zehn Versionen oder alle seit etwa einem Jahr zugänglich
319: bleiben und die älteren fünf davon eine Warnung ausgeben.
320: Dazu dienen die beiden
321: <a href="#scripte">shell scripte</a>
322: <tt><a href="#bin_warnold">warnold</a></tt>
323: und
324: <tt><a href="#bin_setremoved">setremoved</a></tt>.
325:
326:
327: </p>
328: </li>
329: </ol>
330: <p> <tt>... wird ergänzt ...</tt></p>
331:
332: <h3 id="subdomain">Die Domain.</h3>
333: <p> <tt>... wird ergänzt ...</tt></p>
334:
335: <h3 id="webserver">Die Webserver.</h3>
336: <p> Die Website kann über zwei Server angesprochen werden,
337: der eine per <tt>http</tt>, der andere per <tt>https</tt>.
338: Weil man immer zuerst ein Passwort eingeben muß,
339: das beim <tt>http</tt>-Protokoll unverschüsselt über's
340: Netz geht, sollte nur der <tt>https</tt>-Server benutzt werden.</p>
341: <p> Installationsseitig gibt es keinen Unterschied zwischen den
342: Servern, sie verwenden die gleichen Dateien und Scripte.
343: Man beachte aber die Notwendigkeit, diese Zwei-Protokoll/Server-Installation
344: in der
345: <a href="#konfiguration">Konfiguration</a>
346: von
347: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
348: zu berücksichtigen.</p>
349: <p> <tt>... wird ergänzt ...</tt></p>
350:
351: <h3 id="webspace">Web Space und Verzeichnisse.</h3>
352: <p> <tt>... wird ergänzt ...</tt></p>
353:
354: <h3 id="cvs">Cvs und Repositories.</h3>
355: <p> <tt>... wird ergänzt ...</tt></p>
356:
357: <h3 id="scripte">Shell Scripte.</h3>
358: <p> Für alle standardmäßigen Aufgaben des users
359: <tt>hsh00-phpmyadmin</tt>
360: sind scripte vorhanden.
361: Das betrifft das Einrichten und Anlegen der von
362: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
363: . . .</p>
364: <p> <tt>... wird ergänzt ...</tt></p>
365:
366: <p> Diese Scripte sind im Verzeichnis
367: <tt>~/bin/</tt>
368: des users
369: <tt>hsh00-phpmyadmin</tt>
370: gespeichert:</p>
371: <h4 id="bin_s2" class="filedata"><tt> ~/bin/s2 :</tt></h4>
372: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>mysql -S/var/run/mysqld-ext/mysqld.sock $1 $2 $3 $4 $5 $6 $7 $8 $9 </tt></td><td></td></tr></table><h4 id="bin_stduser" class="filedata"><tt> ~/bin/stduser :</tt></h4>
373: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
374: # Author: Prodha Blissenbach, Hostsharing eG, 2002.<br />
375: # License: GPL 2.<br />
376: #<br />
377: # Create a phpMyAdmin Standard User in a mySQL Data Base.<br />
378: <br />
379: stduser=hsh00_phpMyAdmin<br />
380: stdpass=public<br />
381: bookmark_db=<br />
382: bookmark_table=<br />
383: sock=<br />
384: sock=-S/var/run/mysqld/mysqld.sock<br />
385: sock=-S/var/run/mysqld-ext/mysqld.sock<br />
386: <br />
387: mysql $sock -u root -p <<EOF<br />
388: GRANT USAGE ON mysql.* TO '$stduser'@'localhost' IDENTIFIED BY '$stdpass';<br />
389: GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv, <br />
390: Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, <br />
391: File_priv, Grant_priv, References_priv, Index_priv, Alter_priv) <br />
392: ON mysql.user TO '$stduser'@'localhost';<br />
393: GRANT SELECT ON mysql.db TO '$stduser'@'localhost';<br />
394: GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) <br />
395: ON mysql.tables_priv TO '$stduser'@'localhost';<br />
396: # GRANT SELECT, INSERT, DELETE <br />
397: ON $bookmark_db.$bookmark_table TO '$stduser'@'localhost';<br />
398: FLUSH PRIVILEGES;<br />
399: # QUIT;<br />
400: EOF</tt></td><td></td></tr></table><h4 id="bin_upd.sh" class="filedata"><tt> ~/bin/upd.sh :</tt></h4>
401: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
402: # Author: Purodha Blissenbach, Hostharing eG, 2002.<br />
403: # License: GPL 2.<br />
404: #<br />
405: # Aktualisiere unser lokales cvs aus dem der Entwickler.<br />
406: <br />
407: cvs -z3 -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmyadmin update -d phpMyAdmin </tt></td><td></td></tr></table><h4 id="bin_download" class="filedata"><tt> ~/bin/download :</tt></h4>
408: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
409: # Author: Purodha Blissenbach, Hostharing eG, 2002.<br />
410: # License: GPL 2.<br />
411: #<br />
412: # Download and Unpack a phpMyAdmin Version.<br />
413: <br />
414: # Name dieses Programms:<br />
415: NAM=`basename $0`<br />
416: ### Temporaeres Verzeichnis zum Dowloaden und Auspacken<br />
417: ##TMP=/tmp/$$<br />
418: # Document Root des Web Servers:<br />
419: DCR=~/subs/phpmyadmin.hostsharing.net<br />
420: # Verzeichnis des ausgepackten Archivs:<br />
421: DIR=phpMyAdmin-$1<br />
422: # Name des downgeloadeden Archivs:<br />
423: ARC=$DIR-php.tar.gz<br />
424: # Name of configuration file:<br />
425: CFG=config.inc.php<br />
426: <br />
427: # Beginn des URL (ftp/http) des downzuloadenden Archivs bis ausschliesslich des Archivdatei-Namens<br />
428: # (nur Protokoll, Access-Data, Server, Port, Pfad) (muss mit "/" enden):<br />
429: URLPREFIX="http://prdownloads.sourceforge.net/phpmyadmin/"<br />
430: URLPREFIX="http://belnet.dl.sourceforge.net/sourceforge/phpmyadmin/"<br />
431: <br />
432: # Ende des URL (ftp/http) des downzuloadenden Archivs ab ausschliesslich Archivdatei-Namen selber <br />
433: # (normalerweise leer, oder "?parameters" oder aehnlich)<br />
434: URLSUFFIX="" #"?use_mirror=belnet"<br />
435: <br />
436: if [ ! -f $DCR/$ARC ]; then<br />
437: cd $DCR<br />
438: wget "$URLPREFIX$ARC$URLSUFIX" <br />
439: # wget http://belnet.dl.sourceforge.neti/sourceforge/phpmyadmin/$ARC<br />
440: else<br />
441: echo "$NAM - Datei $DCR/$ARC bereits vorhanden."<br />
442: fi<br />
443: if [ -f $DCR/$ARC ]; then <br />
444: if [ ! -d $DCR/$DIR ]; then<br />
445: cd $DCR<br />
446: tar xvzf $DCR/$ARC<br />
447: else<br />
448: echo "$NAM - Verzeichnis $DCR/$DIR ist bereits vorhanden."<br />
449: fi<br />
450: else<br />
451: echo "$NAM - Datei $DCR/$ARC konnte nicht downloaded werden."<br />
452: fi<br />
453: if [ -d $DCR/$DIR ]; then<br />
454: if [ ! -d $DCR/$1 ]; then<br />
455: mv $DCR/$DIR $DCR/$1<br />
456: ln ~/phpMyAdmin/.htaccess $DCR/$1/.htaccess<br />
457: else<br />
458: echo "$NAM - Verzeichnis $DCR/$1 ist bereits vorhanden."<br />
459: fi<br />
460: else<br />
461: echo "$NAM - Verzeichnis $DCR/$DIR ist nicht vorhanden."<br />
462: fi<br />
463: if [ -f $DCR/$1/$CFG ]; then<br />
464: vi ~/$CFG.template $DCR/$1/$CFG<br />
465: else<br />
466: echo "$NAM - Datei $DCR/$1/$CFG ist nicht vorhanden."<br />
467: fi</tt></td><td></td></tr></table><h4 id="bin_bookmark" class="filedata"><tt> ~/bin/bookmark :</tt></h4>
468: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
469: # Author: Prodha Blissenbach, Hostsharing eG, 2002.<br />
470: # License: GPL 2.<br />
471: #<br />
472: # Create a phpMyAdmin Standard User in a mySQL Data Base.<br />
473: <br />
474: stduser="hsh00_phpMyAdmin"<br />
475: stdpass="public"<br />
476: PMA_database="hsh00_db6"<br />
477: PMA_bookmark="bookmarksphpmyadmin"<br />
478: PMA_relation="PMA_relation"<br />
479: PMA_table_info="PMA_table_info"<br />
480: PMA_table_coords="PMA_table_coords"<br />
481: PMA_pdf_pages="PMA_pdf_pages"<br />
482: sock=<br />
483: sock="-S/var/run/mysqld-ext/mysqld.sock"<br />
484: sock="-S/var/run/mysqld/mysqld.sock"<br />
485: <br />
486: mysql $sock -u root -p <<EOF<br />
487: GRANT USAGE ON mysql.* TO '$stduser'@'localhost' IDENTIFIED BY '$stdpass';<br />
488: GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, <br />
489: Delete_priv, Create_priv, Drop_priv, Reload_priv, <br />
490: Shutdown_priv, Process_priv, File_priv, Grant_priv, <br />
491: References_priv, Index_priv, Alter_priv) <br />
492: ON mysql.user TO '$stduser'@'localhost';<br />
493: GRANT SELECT ON mysql.db TO '$stduser'@'localhost';<br />
494: GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) <br />
495: ON mysql.tables_priv TO '$stduser'@'localhost';<br />
496: #<br />
497: CREATE DATABASE IF NOT EXISTS \`$PMA_database\`;<br />
498: USE $PMA_database;<br />
499: CREATE TABLE IF NOT EXISTS \`$PMA_bookmark\` (<br />
500: \`id\` INT(11) DEFAULT '0' NOT NULL AUTO_INCREMENT PRIMARY KEY,<br />
501: \`dbase\` VARCHAR(255) NOT NULL,<br />
502: \`user\` VARCHAR(255) NOT NULL,<br />
503: \`label\` VARCHAR(255) NOT NULL,<br />
504: \`query\` TEXT NOT NULL<br />
505: ) TYPE=MyISAM<br />
506: COMMENT = 'Bookmark Table fuer phpMyAdmin'; <br />
507: GRANT SELECT, INSERT, DELETE ON $PMA_database.$PMA_bookmark <br />
508: TO '$stduser'@'localhost';<br />
509: #<br />
510: CREATE TABLE IF NOT EXISTS \`$PMA_relation\` (<br />
511: \`master_db\` varchar(64) NOT NULL default \'\',<br />
512: \`master_table\` varchar(64) NOT NULL default \'\',<br />
513: \`master_field\` varchar(64) NOT NULL default \'\',<br />
514: \`foreign_db\` varchar(64) NOT NULL default \'\',<br />
515: \`foreign_table\` varchar(64) NOT NULL default \'\',<br />
516: \`foreign_field\` varchar(64) NOT NULL default \'\',<br />
517: PRIMARY KEY (\`master_db\`, \`master_table\`, \`master_field\`),<br />
518: KEY foreign_field (foreign_db, foreign_table)<br />
519: ) TYPE=MyISAM<br />
520: COMMENT=\'Relation table fuer phpMyAdmin\';<br />
521: GRANT SELECT, INSERT, UPDATE, DELETE ON $PMA_database.$PMA_relation <br />
522: TO '$stduser'@'localhost';<br />
523: #<br />
524: # \$cfg[\'Servers\'][\$i][\'table_info\'] <br />
525: CREATE TABLE IF NOT EXISTS \`$PMA_table_info\` (<br />
526: \`db_name\` varchar(64) NOT NULL default \'\',<br />
527: \`table_name\` varchar(64) NOT NULL default \'\',<br />
528: \`display_field\` varchar(64) NOT NULL default \'\',<br />
529: PRIMARY KEY (\`db_name\`, \`table_name\`)<br />
530: ) TYPE=MyISAM <br />
531: COMMENT=\'Table information for phpMyAdmin';<br />
532: GRANT SELECT, INSERT, UPDATE, DELETE ON $PMA_database.$PMA_table_info <br />
533: TO \'$stduser\'@\'localhost\';<br />
534: #<br />
535: # \$cfg[\'Servers\'][\$i][\'table_coords\']<br />
536: CREATE TABLE IF NOT EXISTS \`$PMA_table_coords\` (<br />
537: \`db_name\` varchar(64) NOT NULL default \'\',<br />
538: \`table_name\` varchar(64) NOT NULL default \'\',<br />
539: \`pdf_page_number\` int NOT NULL default \'0\',<br />
540: \`x\` float unsigned NOT NULL default \'0\',<br />
541: \`y\` float unsigned NOT NULL default \'0\',<br />
542: PRIMARY KEY (\`db_name\`, \`table_name\`, \`pdf_page_number\`)<br />
543: ) TYPE=MyISAM <br />
544: COMMENT=\'Table coordinates for phpMyAdmin PDF output\';<br />
545: GRANT SELECT, INSERT, UPDATE, DELETE ON $PMA_database.$PMA_table_coords <br />
546: TO \'$stduser\'@\'localhost\';<br />
547: #<br />
548: # \$cfg[\'Servers\'][\$i][\'pdf_pages\']<br />
549: CREATE TABLE IF NOT EXISTS \`$PMA_pdf_pages\` (<br />
550: \`db_name\` varchar(64) NOT NULL default \'\',<br />
551: \`page_nr\` int(10) unsigned NOT NULL auto_increment,<br />
552: \`page_descr\` varchar(50) NOT NULL default \'\',<br />
553: PRIMARY KEY (page_nr),<br />
554: KEY (db_name)<br />
555: ) TYPE=MyISAM<br />
556: COMMENT=\'PDF Relationpages for phpMyAdmin\';<br />
557: GRANT SELECT, INSERT, UPDATE, DELETE ON $PMA_database.$PMA_pdf_pages <br />
558: TO \'$stduser\'@\'localhost\';<br />
559: # <br />
560: FLUSH PRIVILEGES;<br />
561: # QUIT;<br />
562: EOF</tt></td><td></td></tr></table><h4 id="bin_addmysqluser" class="filedata"><tt> ~/bin/addmysqluser :</tt></h4>
563: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
564: # Author: Prodha Blissenbach, Hostsharing eG, 2002.<br />
565: # License: GPL 2.<br />
566: #<br />
567: # Correction history-<br />
568: # 2002-Feb-15 Purodha Blissenbach Original Writing.<br />
569: #<br />
570: # Purpose -<br />
571: # See help info below.<br />
572: <br />
573: VER=1.00<br />
574: NAM=`basename $0`<br />
575: PAC=`whoami`_<br />
576: tmp=${PAC:6}<br />
577: echo $VER $NAM $PAC $tmp<br />
578: if [ -n $PAC ]; then<br />
579: echo "$NAM - create mysql user. Ver. $VER"<br />
580: echo " You are not authorized to use $NAM"<br />
581: # exit 1<br />
582: fi<br />
583: ERR=0<br />
584: if [ -z $2 ]; then<br />
585: host=loalhost<br />
586: else<br />
587: host=$2<br />
588: fi<br />
589: if [ -z $3 ]; then<br />
590: port=3306<br />
591: else<br />
592: case $3 in<br />
593: 1)<br />
594: port=3306<br />
595: ;;<br />
596: 3306)<br />
597: port=3306<br />
598: ;;<br />
599: local)<br />
600: port=3306<br />
601: ;;<br />
602: internal)<br />
603: port=3306<br />
604: ;;<br />
605: 2)<br />
606: port=3307<br />
607: ;;<br />
608: 3307)<br />
609: port=3307<br />
610: ;;<br />
611: external)<br />
612: port=3307<br />
613: ;;<br />
614: *)<br />
615: ERR=3<br />
616: ;;<br />
617: esac<br />
618: fi<br />
619: case $port in<br />
620: 3306)<br />
621: sock=-S/var/run/mysqld/mysqld.sock<br />
622: ;;<br />
623: 3307)<br />
624: sock=-S/var/run/mysqld-ext/mysqld.sock<br />
625: ;;<br />
626: *)<br />
627: sock=<br />
628: ERR=4<br />
629: ;;<br />
630: esac<br />
631: if [ \( $# = 0 \) -o \( $# >= 4 \) ]; then<br />
632: ERR=2<br />
633: fi<br />
634: if [ $ERR ]; then<br />
635: echo "$NAM - create mysql user. Ver. $VER"<br />
636: echo " "<br />
637: echo "usage -"<br />
638: echo " $0 -h"<br />
639: echo " $0 --help"<br />
640: echo " $0 user-name [source-domain] [server-port]"<br />
641: echo " "<br />
642: echo " user-name = user to be added. Will be prefixed with $PAC"<br />
643: echo " source-domain = localhost | % | domain(s) | ip-or-range"<br />
644: echo " default: localhost see documentation!"<br />
645: echo " server-port = 1 | 2 | 3306 | 3307 | local | external"<br />
646: echo " identifies the mysql-server."<br />
647: echo " "<br />
648: echo " server = 1 | 2 | 3306 | 3307"<br />
649: echo " "<br />
650: echo " creates user 'xyz00_name' @ 'source-domain' on mysql-server 'server'"<br />
651: echo " "<br />
652: exit $ERR<br />
653: fi<br />
654: cat <<EOF<br />
655: user=$1<br />
656: host=$host<br />
657: port=$port<br />
658: sock=$sock<br />
659: <br />
660: if [ -l $PAC != 5 ]; then<br />
661: echo "$0 - create mysql user. Ver. $VER"<br />
662: fi<br />
663: <br />
664: stduser=hsh00_phpMyAdmin<br />
665: stdpass=public<br />
666: bookmark_db=<br />
667: bookmark_table=<br />
668: sock=<br />
669: sock=-S/var/run/mysqld/mysqld.sock<br />
670: sock=-S/var/run/mysqld-ext/mysqld.sock<br />
671: <br />
672: mysql $sock -u root -p <<EOF<br />
673: GRANT USAGE ON mysql.* TO '$stduser'@'localhost' IDENTIFIED BY '$stdpass';<br />
674: GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, <br />
675: Delete_priv, Create_priv, Drop_priv, Reload_priv, <br />
676: Shutdown_priv, Process_priv, File_priv, Grant_priv, <br />
677: References_priv, Index_priv, Alter_priv) <br />
678: ON mysql.user TO '$stduser'@'localhost';<br />
679: GRANT SELECT ON mysql.db TO '$stduser'@'localhost';<br />
680: GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) <br />
681: ON mysql.tables_priv TO '$stduser'@'localhost';<br />
682: # GRANT SELECT, INSERT, DELETE ON $bookmark_db.$bookmark_table <br />
683: TO '$stduser'@'localhost';<br />
684: FLUSH PRIVILEGES;<br />
685: # QUIT;<br />
686: EOF<br />
687: </tt></td><td></td></tr></table><h4 id="bin_s22" class="filedata"><tt> ~/bin/s22 :</tt></h4>
688: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>mysql -h mysql.hostsharing.net -P 3307 $1 $2 $3 $4 $5 $6 $7 $8 $9 </tt></td><td></td></tr></table><h4 id="bin_s1" class="filedata"><tt> ~/bin/s1 :</tt></h4>
689: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>mysql </tt></td><td></td></tr></table><h4 id="bin_s12" class="filedata"><tt> ~/bin/s12 :</tt></h4>
690: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>mysql -h mysql.hostsharing.net $1 $2 $3 $4 $5 $6 $7 $8 $9</tt></td><td></td></tr></table><h4 id="bin_setcurrent" class="filedata"><tt> ~/bin/setcurrent :</tt></h4>
691: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
692: # Author: Prodha Blissenbach, Hostsharing eG, 2002, 2003.<br />
693: # License: GPL 2.<br />
694: #<br />
695: # Correction history-<br />
696: # 2003-Feb-21 Purodha Blissenbach Original Writing.<br />
697: # 2003-Aug-01 Purodha Blissenbach Minor corrections and enhancements.<br />
698: # 2003-Aug-06 Purodha Blissenbach Add config file to archive.<br />
699: # 2003-Aug-06 Purodha Blissenbach Temp directory creation error resolved.<br />
700: #<br />
701: # Purpose -<br />
702: # Make version $1 the current.<br />
703: <br />
704: VER=1.20<br />
705: NAM=`basename $0`<br />
706: <br />
707: cd ~/subs/phpmyadmin.hostsharing.net/<br />
708: if [ "$#" != "1" ]; then<br />
709: echo "$NAM - Current Version (directory name) parameter missing."<br />
710: exit 2<br />
711: fi<br />
712: if [ -d "$1" ]; then<br />
713: ver="$1"<br />
714: if [ ${ver:${#ver}-1:1} = "/" ]; then<br />
715: ver=${ver:0:${#ver}-1}<br />
716: fi<br />
717: if [ -L current ]; then<br />
718: TMP=/tmp/`whoami`.$$.phpMyAdmin-$ver.$NAM<br />
719: mkdir "$TMP"<br />
720: chmod 700 "$TMP"<br />
721: mv current "$TMP"/<br />
722: fi<br />
723: ln -s "$ver" ./current<br />
724: ~/bin/archiveconfig "$ver"<br />
725: else<br />
726: echo "$NAM - Version '$1' directory missing."<br />
727: exit 1<br />
728: fi</tt></td><td></td></tr></table><h4 id="bin_warnold" class="filedata"><tt> ~/bin/warnold :</tt></h4>
729: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
730: # Author: Prodha Blissenbach, Hostsharing eG, 2002, 2003.<br />
731: # License: GPL 2.<br />
732: #<br />
733: # Correction history-<br />
734: # 2003-Jul-31 Purodha Blissenbach Original Writing.<br />
735: # 2003-Aug-06 Purodha Blissenbach Temp directory creation error resolved.<br />
736: # 2003-Aug-07 Purodha Blissenbach Call to archiveconfig added.<br />
737: #<br />
738: # Purpose -<br />
739: # Link a "Maybe outdated" warning page in phpMyAdmin Version $1's directory.<br />
740: <br />
741: VER=1.00<br />
742: NAM=`basename $0`<br />
743: <br />
744: cd ~/subs/phpmyadmin.hostsharing.net/<br />
745: if [ "$#" != "1" ]; then<br />
746: echo "$NAM - Version (directory name) parameter missing."<br />
747: exit 2<br />
748: fi<br />
749: if [ -d "$1" ]; then<br />
750: ver="$1"<br />
751: if [ ${ver:${#ver}-1:1} = "/" ]; then<br />
752: ver=${ver:0:${#ver}-1}<br />
753: fi<br />
754: if [ -L "$ver" ]; then<br />
755: echo "$NAM - Version '$ver' directory is a symlink, left unchanged for security reasons."<br />
756: exit 0<br />
757: fi<br />
758: ~/bin/archiveconfig "$ver"<br />
759: if [ -e "$ver"/index.html ]; then<br />
760: TMP=/tmp/`whoami`.$$.phpMyAdmin-$ver.$NAM<br />
761: mkdir "$TMP"<br />
762: chmod 700 "$TMP"<br />
763: mv "$ver"/index.html "$TMP"/<br />
764: fi<br />
765: ln removed/index.html "$ver"/<br />
766: else<br />
767: echo "$NAM - Version '$1' directory missing."<br />
768: exit 1<br />
769: fi</tt></td><td></td></tr></table><h4 id="bin_setremoved" class="filedata"><tt> ~/bin/setremoved :</tt></h4>
770: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
771: # Author: Prodha Blissenbach, Hostsharing eG, 2002, 2003.<br />
772: # License: GPL 2.<br />
773: #<br />
774: # Correction history-<br />
775: # 2003-Aug-01 Purodha Blissenbach Original Writing.<br />
776: # 2003-Aug-06 Purodha Blissenbach Add config file to archive.<br />
777: # 2003-Aug-06 Purodha Blissenbach Temp directory creation error resolved.<br />
778: #<br />
779: # Purpose -<br />
780: # PhpMyAdmin Version $1 is deleted from the server, and<br />
781: # a symlink to the 'removed' directory is substituted.<br />
782: <br />
783: VER=1.00<br />
784: NAM=`basename $0`<br />
785: <br />
786: cd ~/subs/phpmyadmin.hostsharing.net/<br />
787: if [ "$#" != "1" ]; then<br />
788: echo "$NAM - Version (directory name) parameter missing."<br />
789: exit 2<br />
790: fi<br />
791: if [ -d "$1" ]; then<br />
792: ver="$1"<br />
793: if [ ${ver:${#ver}-1:1} = "/" ]; then<br />
794: ver=${ver:0:${#ver}-1}<br />
795: fi<br />
796: ~/bin/archiveconfig "$ver"<br />
797: if [ -L "$ver" ]; then<br />
798: echo "$NAM - Version '$ver' directory is a symlink, left unchanged for security reasons."<br />
799: exit 0<br />
800: fi<br />
801: TMP=/tmp/`whoami`.$$.phpMyAdmin-$ver.$NAM<br />
802: mkdir "$TMP"<br />
803: chmod 700 "$TMP"<br />
804: mv "$ver" "$TMP"<br />
805: ln -s removed "$ver"<br />
806: else<br />
807: echo "$NAM - Version '$1' directory missing."<br />
808: exit 1<br />
809: fi</tt></td><td></td></tr></table><h4 id="bin_archiveconfig" class="filedata"><tt> ~/bin/archiveconfig :</tt></h4>
810: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>#! /bin/bash<br />
811: # Author: Prodha Blissenbach, Hostsharing eG, 2003.<br />
812: # License: GPL 2.<br />
813: #<br />
814: # Correction history-<br />
815: # 2003-Aug-06 Purodha Blissenbach Original Writing.<br />
816: #<br />
817: # Purpose -<br />
818: # Add phpMyAdmin config file(s) to archive, or freshen them in the archive<br />
819: # whose directories (version numbers) are given as arguments.<br />
820: <br />
821: VER=1.10<br />
822: NAM=`basename $0`<br />
823: ARC=~/config.inc.php.collection.tar<br />
824: <br />
825: cd ~/subs/phpmyadmin.hostsharing.net/<br />
826: if [ "$#" -lt "1" ]; then<br />
827: echo "$NAM - Current Version (directory name) parameter(s) missing."<br />
828: exit 2<br />
829: fi<br />
830: while [ -n "$1" ]; do <br />
831: if [ -d "$1" ]; then<br />
832: if [ -f "$ARC" ]; then<br />
833: opt=u<br />
834: else<br />
835: opt=c<br />
836: fi <br />
837: echo $nam - archiving.<br />
838: /bin/tar "$opt"vf "$ARC" "$1"/config.inc.php*<br />
839: else<br />
840: echo "$NAM - Version '$1' directory missing."<br />
841: fi<br />
842: shift<br />
843: done</tt></td><td></td></tr></table>
844: <h3 id="files">Sonstige Dateien.</h3>
845: <p> Das home Verzeichnis des users
846: <tt>hsh00-phpmyadmin</tt> enthält:</p>
847: <p> <tt>... wird noch ergänzt ...</tt></p>
848:
849: <h3 id="cron">Cron Jobs.</h3>
850: <p> Die aktuelle
851: <tt>crontab</tt>
852: des users
853: <tt>hsh00-phpmyadmin</tt> enthält:</p>
854: <h4 id="crontab" class="filedata"><tt> crontab :</tt></h4>
855: <table width="100%" align="center" colspacing="0" colpadding="0" border="0"><tr><td width="1"><tt> </tt></td><td class="filedata" nowrap="nowrap"><tt>MAILTO=bli00<br />
856: <br />
857: 13 9 * * * ~/bin/upd.sh</tt></td><td></td></tr></table><p> Das
858: <a href="#scripte">shell script</a> namens
859: <tt><a href="#bin_upd.sh">~/bin/upd.sh</a></tt>
860: aktualisiert unsere lokale Kopie des
861: <a href="#cvs"><tt>cvs</tt> repository</a>
862: aus dem <tt>cvs</tt> der Entwickler auf unserem host
863: <tt><a href="ssh2://hsh00-phpmyadmin@phpmyadmin.hostsharing.net?login=hsh00-phpmyadmin">phpmyadmin.hostsharing.net</a></tt>.
864: Details und Hintergründe sind
865: <a href="#cvs">hier unter <tt>cvs</tt></a>
866: erklärt.
867: </p>
868:
869: <h3 id="dbuser">Datenbank-Zugriff und Datenbank-User.</h3>
870: <p> Für
871: <a href="http://www.phpmyadmin.net/" target="_blank" title=" Zur offiziellen phpMyAdmin Homepage ">phpMyAdmin</a>
872: ist in den Datenbankservern der user
873: <tt>hsh00_phpmyadmin</tt>
874: eingerichtet.</p>
875:
876: <p> <tt>... wird noch ergänzt ...</tt></p>
877:
878: <hr />
879: <font size="-1"> Page
880: <a href="/intern/show_php_source.php'.(dirname($SCRIPT_NAME).'/'.basename($SCRIPT_FILENAME)).'" target="_blank">Source</a>
881: last modified
882: 2003-08-7 14:06 by ©
883: <a href="mailto:'.$email.'">Purodha Blissenbach</a>
884: and available under the
885: <a href="http://www.gnu.org/copyleft/gpl.html#SEC1" target="_blank">GPL</a>
886: </font>
887: </body>
888: </html>
Gruesse von Purodha Blissenbach - e-mail: <publi@web.de>
Received on Thursday, 7 August 2003 09:35:40 UTC