/[cvs]/joko/doc/SampleTasks/joko_2003-01.html
ViewVC logotype

Contents of /joko/doc/SampleTasks/joko_2003-01.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.61 - (show annotations)
Sun Jan 26 23:05:03 2003 UTC (21 years, 9 months ago) by joko
Branch: MAIN
Changes since 1.60: +19 -6 lines
File MIME type: text/html
+ AUTOCOMMIT: updated/added content

1 <html>
2 <head>
3 <title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title>
4 <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />
5 </head>
6 <body>
7
8 <pre>
9
10 joko@netfrag.org - sample stack:
11
12 o [task by joko] introduced "dispatchmail" to add mail2news-functionality to "recieveMail" (collector@netfrag.org)
13 x [task by joko] migrated joko_mail from "receiveMail" to "dispatchmail"
14 x [bug from joko] what about mailing from the cli / mails sent from the system (e.g. via CVSSpam):
15 mail is sent out coming from <username>@quepasa.netfrag.org
16 --> how to configure just having <username>@netfrag.org right here???
17 x [resolved by jonen] CVSSpam: janosch@netfrag.org:
18 x cd /etc/mail
19 x nano sendmail.mc
20 x add/replace line: MASQUERADE_AS(`netfrag.org')
21 x make
22 x /etc/init.d/sendmail reload
23 o [bug from joko] "su root" is needed sometimes
24 else PATH is not set correctly
25 and maybe something other
26 compiling fails always
27 x [task by joko] these items already have been refactored into other Tasks, Notes and/or Bug Requests - this Note is just FYI.
28 o [task by joko] dispatchmail - project work
29 x README.pod -> README.html
30 x link with "topics.html" properly
31 x write something about data-/control-flow to README.pod
32
33 o look (in detail) at Cyrus Netnews
34 [...]
35 The IMAP server can export netnews newsgroups as IMAP mailboxes.
36 [...]
37 o collectnews, rmnews, syncnews
38 x seems to make an external web-based newsreader unneccessary!!!
39
40 o tie together mail, news and html
41 c write mini-howto
42
43 o link with erfrakon
44
45 o sieve?
46
47 o post some old mails to news.netfrag.org!
48
49 o what about "dev@netfrag.org"?
50
51 o nfo/perl/libs
52 x ts
53 x outlook2ldap
54 x dispatchmail
55 o get the essence (project- and development work - the whole workflow) out of it! write it down! in detail!
56
57 o netfrag.org-workflow:
58 o technical questions to support@netfrag.org?
59 o publish them via news!
60 o queue them into / integrate with TUTOS somehow!!!
61
62 o new threads@news.netfrag.org:
63 x ctlinnd newgroup nfo.support.queue
64 x ctlinnd newgroup nfo.support.faq
65
66 x new account for janosch@news.netfrag.org
67 x nano /etc/news/nnrp.access
68 x added line: *:Read Post:janosch:janosch:*
69
70 o check out from cvs-repository:
71 o joko/doc -> /home/joko/public_html/computing/overview/topics/
72 o leaded to (A, B and C): see <a href="../topics/home2web.html">home2web</a>
73
74 o added user@netfrag.org:
75 x adduser: collector/colĀ§$
76
77 o about: some sample items occoured 2003-01-17 until 2003-01-26.
78 what to do with that?
79 o have all items stored in other applications conveniently.
80 o be able to have items or references to them *archived* centrally
81 o be able to access informations via *one* interface.
82 actually *multiple* interfaces should be possible
83 - the aim here is to get everything together (INTEGRATE!) (mnoGoSearch first! Torus::Archive later?)
84
85 o refactor topics:
86 o make global-accessible@netfrag.org
87 o introduce subtopics
88 o sysadmin tasks
89 o janosch's, jonen's and joko's tasks
90
91 o start project "admintools" @ nfo/perl/scripts - including
92 o getip.pl
93 o notify.pl
94 x on uml-event: up/down/reboot
95 o on news-post (dispatchmail: mail2news)
96 o on cvs-checkout (done on interval with joko/doc - see above)
97 o on build (build.pl)
98 o some tools from dispatchmail
99 o dispatchmail itself!
100 o
101
102 o [idea] ;-) for symbols (in general)
103 - o = Open Task
104 - x = Closed Task
105 (- [<TopicName>] = name of topic - fixed/proposed)
106 - [<TopicType> by|for <UserName>] =
107 - type of topic - fixed/proposed
108 - username who submitted this item / should this item be assigned to
109 - this could become a language for describing the workflow
110 - this proposal should be the shortcut-form in wiki-style: (e.g. make 'tiki-workflow' from that?)
111 - more verbose (e.g. XML) - forms could/should become possible (e.g. 'WFML') (WorkFlow Markup|Modeling Language)
112 - TODO: refactor this document after further commits to show off refactoring process through cvs-revisioning!
113 o required for this: link to a page which shows the history of a document not as verbose as (e.g.) chora does
114 - d = from 'tbd': to-be-discussed
115 - c = cancelled
116
117 o [idea] ;-) for symbols (in _this_ document here) (parser|engine behaviour modification)
118 - R = from 'tbr': to-be-refactored
119 - r = already refactored elsewhere
120 - an "r" may also mean "reference" ;-)
121 - make 'r-http://netfrag.org/to/another/reference/wrapped/via/http/' possible in documentation
122 - also the shortcut form: [r:/to/another/reference/wrapped/via/http/]
123 - this - and only this - should be the minimalst requried definition of a "reference"
124 - an internet "link" - however needs some more metadata around it: an "url" and a "caption" - what about these?
125 - either fetch them from archive-metadata of this reference ...
126 - ... or use the name directly as caption and build the url against a known redirector handler which
127 accesses the archive-metadata
128
129 o rename "thread" to "newsgroup" in all scripts!
130
131 o what about:
132 Torus::Xyz - solution to reuse concepts of Apache 2 and Cyrus 2!!! (and OpenLDAP???) for building an open collaboration server?
133
134 o word-search: "identify" and "search" for
135
136 o establish global "logs/" - like at http://moose.qx.net/logs/
137
138 o add redirecting page when someone wants to access
139 o http://netfrag.org/~joko/phpChoPro/ or
140 o http://netfrag.org/~joko/w2hfax/
141
142 o update mail-dispatching-rules - aim: a more flat structure!!!
143 o look at ilo.de/Inbox
144 o marked message to Spam? Newsletters?
145 x move: logs/cvs/quepasa.netfrag.org -> logs/netfrag.org
146 x look at netfrag.org/Inbox
147 x if subject matches "Cron <joko@quepasa>" set target "logs/netfrag.org/joko/cron" [push over cron]
148 x mkdir Mail/SORTED/netfrag.org/joko
149 x touch Mail/SORTED/netfrag.org/joko/cron
150 x if subject matches "quepasa daily usenet report" at begin set target "logs/netfrag.org/system/applications" [push over inn]
151 x if subject matches "[CVS" at begin set target "logs/netfrag.org/cvs" [push over CVSSpam]
152 x if mail is from myself set target "me2myself"
153 x moved some folders
154 x move already existing file to folder
155 x mv logs/netfrag.org/system logs/netfrag.org/system.tmp
156 x mkdir logs/netfrag.org/system
157 x mv logs/netfrag.org/system.tmp logs/netfrag.org/system/applications
158 x mv netfrag.org/Status/h1.service.netfrag.org logs/netfrag.org/system/
159 x mv netfrag.org/Status/TWikiChanges logs/twiki.org/ChangeLog
160 x mkdir logs/twiki.org
161 x do changes in .dispatchmailrc - always - ;-)
162 x mv netfrag.org/Status/quepasa.netfrag.org logs/netfrag.org/system/
163 x blocked email-partition *partition*! - email-partition(!) -> WordFinder
164 x mkdir ../FILTERED
165 x mv netfrag.org/Status/Spam ../FILTERED
166 x mv netfrag.org/Status/Test misc/
167 x mv netfrag.org/Status/Postmaster\ Routing misc/Postmaster
168 x rmdir netfrag.org/Status/
169 x look at netfrag.org/Inbox - again
170
171
172 o look at quepasa.netfrag.org/Inbox
173 o [Multisync-users]
174 o [Kroupware]
175 x tested the rules from above
176 x echo This is a testmail. Please ignore it. | mail -s "[CVS hello]" joko
177 o move old mails to MailHistory
178
179 o write parser and engine to handle above declaration: Mail::Audit::Dispatch::Interface::Script
180 o add "X-"-field (X-Dispatched-By: dispatchmail-0.06 - http://netfrag.org/~joko/computing/dispatchmail/)
181
182 o release mail from above from joko - introduce another email-address
183 - e.g. work@netfrag.org, event@netfrag.org or tracker@netfrag.org (like collector@netfrag.org)
184
185 o Multisync & SyncML
186 o post something to mailing-list...!?
187
188 o the '.cvslink'-mechanism:
189 o type: ln -s /home/joko/public_html/_web/_cvs.php .
190
191 o LinkContainer
192 - insert via drag & drop
193 - shows links hierarchically
194
195 o (Self)Info - mails to yourself
196 o convert all "(Self)Info" mails to
197 news-messages - use "formail" and ...?
198
199 o h1.service.netfrag.org
200 o base os-upgrade: suse X -> debian 3.0
201
202 o dispatchmail
203 o are Mail-Headers already added?
204
205 o workflow (PostThisLink)
206 o drag link from done google-search ...
207 o ... to container (at the current Task)
208 o a news-post is created automagically
209 o use this:
210 [smtp-header-fields]
211 From: expanded email-address resolved from Name|Nickname in Addressbook (via LDAP!)
212 Subject: googled for "<search-request>"
213 [body]
214 o include into mime-part if not already included
215 o fetch from web on demand
216
217 o ssl/tls for inn?
218
219 o dispatchmail
220 o re-link as sub-/module-project under Torus::Content::Gateway (mail2news, mail2fax)
221 o -> Torus::Content - a content delivery engine
222 o -> additional idea: Torus::Content::Gateway is "just" the API to "Torus::Item::Router" in this case
223 o 'Torus::Content::Gateway' would then route 'Torus::Item::RFC822'-objects using 'Torus::Item::Router'
224 o look at sieve - jonen posted to nfo.links.computing: [r:Message-ID: <b0ppj7$7gv$1@quepasa.netfrag.org>]
225 o re-link as sub-/module-project under Torus::Virtual (mail2folder, mail2mail)
226 o here it acts as a dispatcher from incoming mails - TARGET gets resolved via ldap-resolvement
227 o make possible: MAIL-IN -> mail2mail (via ldap-query) -> mail2fax|mail2news
228 o mail2news
229 x the "via-fetchmail"-solution
230 x su collector
231 x cd ~
232 x chmod og-rwx .fetchmailrc
233
234 o finally: do actually establish 'Torus' at 'nfo/perl/libs'
235
236 o pod: checkout how to make references which expand to html-urls
237 o does pod handle this or do we need external link-expansion for this task?
238 o how to make references to news-messages?
239 e.g.:
240 o Message-ID: <b0ppj7$7gv$1@quepasa.netfrag.org>
241 o news://news.netfrag.org/nfo.links.computing
242 o proposal(s) for "news2http" (Torus::Content::Gateway/Torus::Item::???):
243 o http://news.netfrag.org/id=b0ppj7$7gv$1@quepasa.netfrag.org
244 o http://news.netfrag.org/nfo.links.computing/subject=FilteringMailWithSieve of wiki
245 o http://news.netfrag.org/nfo.links.computing/id=b0ppj7$7gv$1@quepasa.netfrag.org
246
247 o what about the '.nws'-files on ms? (for news-messages)
248
249 o display-mode: everything strictly hierarchical to get maximum overview!!!
250
251 x Inventory: cleaned up local and master code repositories
252
253 o add "last-updated" to "README.html"
254
255 o search.netfrag.org
256
257 o tool for the "DoThis", "DoHere", "DoAll" - series
258 o FaxThis (joko/ToolBox/Windows/FaxThis)
259 o tool "WinSync": (WinSync All)
260 x RsyncHere
261 o Contacts2Ldap
262
263 o statistics-page:
264 o for cvs.netfrag.org: cvs-statistics (activeness, ...), sloccount
265
266 x home2web
267 x finally - added complete /home/joko/ to cvs-repository in order to get a revisioned ".dispatchmailrc"
268 x ~/.bashrc - added line: export CVSROOT=/var/lib/cvs
269 x relogin: logout/login
270 x cd ~
271 x joko@quepasa:~$ cvs checkout -d . joko (Fri Jan 24 00:43:18 CET 2003)
272 x cvs add TODO
273 x cvs add .bashrc .cronrc-hourly .forward
274 x added /home/joko/virtual/joko_mail
275 [as joko]
276 x cvs add virtual
277 x chmod g+w virtual/CVS/*
278 [as joko_mail
279 o shortcut for (e.g.): cvs commit -m "initial check-in" .bashrc .cronrc-hourly .forward
280 o cvsadd <abc> <def>
281 o add /home/root (and maybe include there some other things "lying around")
282
283 o alternative to all that Cyrus-stuff: just use the very "normal" imapd together with kerberos
284
285 o make screenshots of log-output of dispatchmail when it's ready
286
287 o base logging of 'dispatchmail' on DesignPattern::Object::Logger
288
289 o dispatchmail-mail2folder: add feature to create folders recursively
290
291 x archive mails
292 x su joko_mail
293 x cd ~
294 x mv ilo.de/Inbox ~/MailHistory/ARCHIVED/ilo.de/2002-05-30\ -\ 2003-01-24
295 x mkdir ~/MailHistory/ARCHIVED/netfrag.org/2003-01
296 x mv netfrag.org/Info ~/MailHistory/ARCHIVED/netfrag.org/2003-01/
297 x changed rule which formerly targeted to 'netfrag.org/Info' into 'me2myself'
298 x mv netfrag.org/Inbox ~/MailHistory/ARCHIVED/netfrag.org/2003-01/
299 x mkdir ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status
300 x mv netfrag.org/Status/cashew.netfrag.org ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status/
301 x mv netfrag.org/Status/h1.service.netfrag.org ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status/
302 x mv Sent ~/MailHistory/ARCHIVED/Sent/Sent_2002-11-13_-_2003-01-24
303
304
305 o investigate LDAP-entry "mailForwardingAddress"
306
307 o establish "Mini-HowTo"
308
309 o search (allover): /^.*\.netfrag\.org/ => find all hostnames to register
310 (they are scattered around in to-be-installed (web-)applications)
311
312 o Mail::Audit::Dispatch::Lookup (csv-file, ::NetLDAP, => Data::Storage::Handler::Xyz => Data::Map)
313
314 x switched mailing completely in outlook
315 o Evolution!
316 x now talking to 'wu-imapd' via ssl, too! - thanks to jonen!
317 Jan 24 04:55:17 quepasa imapd[11508]: connect from 217.231.123.57
318 Jan 24 04:55:17 quepasa imapd[11508]: imaps SSL service init from 217.231.123.57
319 Jan 24 04:55:18 quepasa imapd[11508]: Login user=joko_mail host=pD9E77B39.dip.t-dialin.net [217.231.123.57]
320 x now my outlook sends via 'mail.netfrag.org' using 'TLS' - thanks to jonen!
321 Jan 24 04:53:09 quepasa sm-mta[11499]: STARTTLS=server, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], version=TLSv1/SSLv3, verify=NO, cipher=RC4-MD5, bits=128/128
322 Jan 24 04:53:10 quepasa sm-mta[11499]: h0O3r91D011499: from=<andreas.motl@ilo.de>, size=435, class=0, nrcpts=1, msgid=<008c01c2c35c$5701d2a0$240aa8c0@grasshopper>, proto=ESMTP, daemon=MTA, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57]
323
324 o use <a href="http://imapfilter.hellug.gr">IMAPFilter</a>!!!
325
326 o refactor old TODOs using 'home2web'
327
328 o webgate (like dispatchmail)
329
330 o zeit anhalten! (alle grauen mƤnner umbringen!)
331
332 o add to cvs:
333 o /home/service/
334 o /home/service/virtual/collector
335 o /home/service/virtual/tracker
336 o /home/service/virtual/fetcher
337 o /home/service/virtual/archiver
338
339 o use 'wCron' to automagically do a 'cvs commit -m "+ updated/added content" joko/doc'
340 x mkdir -p C:\Programme\WCron
341 x unzip -j "C:\home\amo\develop\netfrag.org\rabit\wCron\releases\WCron-0.62-pre.zip" -d C:\Programme\WCron
342 o win2000: change/check permissions: right-click/Properties/Security Settings/Read, Execute = enabled
343 x run it
344 x add task
345 x implement shortcut-script: joko/Scripts/shortcuts/cvs_commit_joko-doc.bat
346 x add lines:
347 x cd C:\home\amo\develop\netfrag.org\joko
348 x cvs commit -m "+ updated/added content" doc
349
350
351 o on Windows it's called "QuickLaunch" ....
352
353 o plugins for nautilus/gnome/kde:
354 show arbitrary data-structures (from anywhere): here we may get the drag & drop - functionality "on-the-fly"
355
356 o new user "gateway":
357 x adduser --home /home/service/virtual/gateway gateway (pass: gw%R%)
358 x mkdir /var/lib/cvs/gateway
359 x chown -R gateway.gateway /var/lib/cvs/gateway
360 x su gateway
361 x cvs -d /var/lib/cvs checkout -d ~ gateway
362
363 x error on quepasa:
364 Jan 24 19:00:09 quepasa sm-mta[17960]: STARTTLS=server, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], version=TLSv1/SSLv3, verify=NO, cipher=RC4-MD5, bits=128/128
365 Jan 24 19:00:09 quepasa sm-mta[17960]: h0OI081D017960: ruleset=check_rcpt, arg1=<janosch@ultrajan.de>, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], reject=550 5.7.1 <janosch@ultrajan.de>... Relaying denied. Proper authentication required.
366 x add to /etc/mail/default-auth-info
367 sendmail
368 sendmail
369 sendmailpwd
370 quepasa.netfrag.org
371 x /etc/init.d/sendmail restart
372
373 o Torus::Publish::Research::Web
374 o googling for something automagically opens a new task
375 o all links directly or indirectly coming out of this are sorted below this task
376 o the user can end this task on demand: timetracking is done automagically as well
377
378 o register tutos.netfrag.org
379
380 o qpopper with tls, sasl and kerberos5?
381
382 o off realtime! the only thing that happens at realtime is MailMiltering.
383 x cvs checkout of joko/doc is done via cron
384 x mail2news-dispatching is now done via cron (would be possible "in realtime" via '.forward'ing the mail *directly* to dispatchmail)
385
386 o ctlinnd newgroup nfo.csm (Collaborative System Management)
387
388 o make possible:
389 o after "cvs update" make question: "Found new items in "" while scanning. Should i add them to the repository?"
390 o drag & drop arbitrary items out of outlook (.msg, .nws, etc.) - search for them while scanning the fs and sync them
391 against *original* source. (e.g. 'Message-ID: <b0s5v9$j7d$1@quepasa.netfrag.org>')
392
393 x CVSSpam -> nfo.log.cvs
394 x su root
395 x cd /etc/mail
396 x nano virtusertable
397 x add line:
398 x cvs-log@netfrag.org gateway
399 x make virtusertable
400 x su gateway
401 x cd ~
402 x nano .dispatchmailrc
403 x add lines:
404 $self->copy('Newsgate', 'nfo.log.cvs')
405 if $to =~ m/cvs-log/;
406 x exit (to logout)
407 x cvs update CVSROOT/loginfo
408 x add to CVSROOT/loginfo (to the end of the line starting with '^nfo '):
409 --to cvs-log@netfrag.org
410 x cvs commit -m "+ added new notification target: 'cvs-log@netfrag.org'" CVSROOT/loginfo
411 x tested with some mini-howto
412 x removed '--to joko@netfrag.org --to jonen@netfrag.org --to bareface@netfrag.org --to janosch@netfrag.org '
413 from CVSROOT/loginfo for module 'nfo'
414 x announce this
415 x added to '/etc/news/nnrp.access':
416 *:Read Post:bareface:bareface:*
417 x /etc/init.d/inn reload
418
419 x add 'gateways'-repository to chora
420 x nano /data/www/doc/horde/chora/config/cvsroots.php
421 x add lines:
422 # 2003-01-24, joko
423 $cvsroots['gateway'] = array(
424 'name' => 'gateway',
425 'location' => '/var/lib/cvs/gateway',
426 'title' => "$titlePrefix gateway's CVS Repository",
427 'cvsusers' => $cvsusers,
428 );
429
430 x configured Apache for serving news.netfrag.org
431 x cleaned up /data/www/virtual/netfrag/conf/httpd.conf
432 x ./test.conf
433 x comments
434 x /etc/init.d/apache reload
435 x test: http://news.netfrag.org/
436
437 o new module for cvs-repository?
438 o nfo/layouts/fs/skel/data2
439 o checkout to /data on quepasa.netfrag.org
440 x done:
441 x su root
442 x cd /var/lib/cvs
443 x mkdir -p nfo/layouts/fs/skel/data
444 x mkdir -p nfo/layouts/fs/skel/data2
445 x mkdir -p nfo/hosts/quepasa.netfrag.org/data
446 x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data
447 x *mungle everything and commit!* look at the repository!
448 x add special group with access to this repository: 'rootsrc'
449 x groupadd rootsrc
450 x usermod -G src,staff,rootsrc joko
451 x usermod -G src,staff,rootsrc jonen
452 x usermod -G rootsrc root
453 x change permissions
454 x cd /var/lib/cvs/nfo/
455 x chown -R .rootsrc hosts
456 x chmod -R g+w hosts
457
458
459 x add to system-conf-repository:
460 x /etc/mail
461 x php: cvs-redirect
462 x
463
464 o extend WCron
465 x show (per-task) if it's currently running or not: provide buttons to (start, stop, pause, resume or cancel a task...)
466 x use as a frontend for administering nfo/libs/perl/ - backend - tasks(???)
467
468 x install Horde/Troll
469 x install troll
470 x cd /home/service/download
471 x mkdir horde
472 x cd horde
473 x wget ftp://ftp.horde.org/pub/troll/troll-0.0.2.tar.gz
474 x tar -xzf troll-0.0.2.tar.gz --directory=/data/www/doc/horde/
475 x configure horde
476 x cd /data/www/doc/horde/
477 x nano config/registry.php
478 x add lines:
479 $this->applications['troll'] = array(
480 'fileroot' => dirname(__FILE__) . '/../troll',
481 'webroot' => $this->applications['horde']['webroot'] . '/troll',
482 'icon' => $this->applications['horde']['webroot'] . '/troll/graphics/troll.gif',
483 'name' => _("News"),
484 'allow_guests' => true,
485 'show' => true
486 );
487 x configure Troll
488 x cd troll/config
489 x conf.php
490 x cp conf.php.dist conf.php
491 x nano conf.php
492 x edit:
493 x $conf['news']['server'] = 'news.netfrag.org';
494 x $conf['news']['mailserver'] = 'mail.netfrag.org';
495 x servers.php
496 x cp servers.php.dist servers.php
497 x add:
498 $servers['netfrag.org'] = array(
499 'name' => 'news.netfrag.org',
500 'server' => 'news.netfrag.org',
501 'port' => 119,
502 );
503 x prefs.php
504 x cp prefs.php.dist prefs.php
505 x html.php
506 x cp html.php.dist html.php
507 x permissions
508 x chmod o+r *.php
509
510
511 x test: http://netfrag.org/horde/
512 o another (more bright) skin for horde@netfrag.org!!!
513
514 o Warum nicht Ć¼berall Horde? Sondern TUTOS?
515 o Horde ist sehr breit angelegt, dafĆ¼r fehlt es jedoch an vielen Stellen noch ein wenig im Detail.
516 o mittlerweile: mit Hermes & Co.? nochmal ansehen!
517
518 o just do automated operations (like cvs commit) only if system is idle
519
520 o automagically redirect http://netfrag.org/horde/ to https://netfrag.org/horde/
521 o with an Apache - rewrite-rule?
522
523 x how to map TUTOS-groups to newsgroups?
524 x ctlinnd newgroup nfo.tutos.sysadmin
525 x add dispatching for sysadmin@netfrag.org
526 x add to /home/service/virtual/gateway/.dispatchmailrc
527 $self->copy('Newsgate', 'nfo.tutos.sysadmin') if $to =~ m/sysadmin/;
528 x add to /etc/mail/virtusertable:
529 # --- news.netfrag.org - joko, 2003-01-24
530 sysadmin@netfrag.org gateway
531 make virtusertable!
532 x write welcome-mail
533 root@quepasa:~$ mail sysadmin@netfrag.org
534 Subject: Welcome to the sysadmin-newsgroup at netfrag.org!
535 Have fun!
536 greets, joko.
537
538 .
539 Cc:
540 x test: do "refresh newsgroups" at your favourite news-reader
541 x this has been refactored to: <a href="http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org">[news:id=b0shbj$l9s$1@quepasa.netfrag.org]</a>
542 x HEADERS:
543 x Message-ID: <b0shbj$l9s$1@quepasa.netfrag.org>
544 x Subject: Re: Welcome to the sysadmin-newsgroup at netfrag.org!
545 o newsgate
546 o http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org
547 o http://news.netfrag.org/nfo.tutos.sysadmin/subject/Re: Welcome to the sysadmin-newsgroup at netfrag.org!
548
549 o Erkenntnis aus UML (Kernel 2.4): schwierig mit gleichzeitigem Zugriff
550
551 o gave up trying to get Troll running
552
553 x setup alternatives to Horde for public access
554 o viewcvs
555 x apt-get install libapache-mod-python
556
557 o WebNewsViewer
558
559 o release the user from having to send email-messages to actually post urls with content (e.g. "FirstPage")
560
561 o parse .url-files!
562
563 o have newsgroup-structure backed in ldap-container (ou) somehow (Data::Map!)
564
565 x new email-addresses@netfrag.org:
566 x sysadmin@netfrag.org
567 x faq@netfrag.org
568
569 x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for!
570
571 x --setup|*setting up*-- newsportal (by Florian Amrhein)
572 x url: http://florian-amrhein.de/newsportal/
573 x cd /home/service/download
574 x mkdir newsportal
575 x cd newsportal
576 x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz
577 x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/
578 x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/
579 x add to /data/www/virtual/netfrag/conf/applications.conf
580 Alias /webnews/ /data/www/global/apps/newsportal/
581 x configure in /data/www/global/apps/newsportal/config.inc
582 // newsserver setup
583 $server="news.netfrag.org";
584 $server_auth_user="webnews";
585 $server_auth_pass="web123";
586 x add to /etc/news/nnrp.access:
587 # 2003-01-26, joko
588 *:Read Post:webnews:web123:*
589 x modify groups.txt
590 <nfo.* - add all groups here>
591 o TODO: AUTOUPDATE here!
592 x add to the index-page:
593 xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />"
594 x grep -rin "<head" *
595 doc/readme-deutsch.html:4:</head>
596 doc/faq.html:4:</head>
597 doc/history.txt:234:- fehlender </head> Tag ergaenzt
598 doc/readme-english.html:4:</head>
599 doc/history.txt~:233:- fehlender </head> Tag ergaenzt
600 extras/frames/thread_frameset.php:10:</head>
601 head.inc:5:</head>
602 x cvs add head.inc
603 x cvs commit -m "+ initial commit" head.inc
604 x <modify head.inc>
605 x nano head.inc
606 x <jump to line 5> STRG+W + T: 5
607 xR <insert INSERTION>
608 xR <insert [ENTER]>
609 x <save file> STRG+O + [ENTER]
610 x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>>
611 o TODO: RefactorThisHtmlRef to WebNews
612 o view message in some MimeViewer or HtmlViewer (Horde?)
613 o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities
614 x Why newsportal and no other?
615 x directly connects to nntp-daemon
616 x has local spool (o TODO: purge regularly?)
617 x highly customizable
618 x added custom css-stylesheet and changed something at content-rendering-level without any problems
619 x visit cvs.netfrag.org to look at the changes made to the newsportal codebase:
620 x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a>
621 o TODO: RefactorThisLink
622 x it's just easy!
623 x setup dispatchrequest for http://news.netfrag.org
624 x cd /data/www/virtual/netfrag/sites/news/
625 x create symlink
626 x ./.symlinkrc
627 x copy over from webcvs
628 x cp ../webcvs/index.php .
629 x mkdir .dispatch
630 x cd .dispatch
631 x cp ../webcvs/.dispatch/config.php .
632 x cp ../webcvs/.dispatch/index.php .
633 x cvs add ...
634 x cvs commit ...
635 x added|*adding* dispatcher at http://news.netfrag.org
636 x used and mungled DispatchRequest(->cvs, ->doc, ->search) for this purpose
637 o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor
638 x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a>
639 x tested http://cvs.netfrag.org/ - still working...
640 o AddedFeatures to DispatchRequest:
641 x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/
642 o JumpToThread: NotYetImplemented! DoWeReallyNeedThis?
643 o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org
644 x JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/44
645
646
647 o NfoWeb
648 o add WikiPages:
649 o Overview
650 o Projects
651 o MiniHowTo
652 (o Search)
653 o modify HomePage
654 o change Projects to Overview
655
656 o yakka & pod
657 o convert pod to tavi
658 o perl first (pod2tavi)
659 o php afterwards (pod2tavi-php)
660 o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?)
661 o address "files" outside the normal/configured default YakkaRepository
662 o introduce: "ExplicitAddressingOfArbitraryTargets"
663 o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField)
664 o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository"
665
666 o viewcvs & yakka
667 o a filesystem-adapter for yakka's storage-handler-system
668 o show "view in yakka" if document-type eq 'tavi|tavi,v|pod'
669
670 o IconForNetfrag.Org?
671 o fav.ico?
672
673 x --*installed*|install-- viewcvs
674 x apt-get install viewcvs
675 x configured:
676 x /var/lib/cvs
677 x email-address (new): cvs-admin@netfrag.org -> dev@netfrag.org
678 x no forbidden modules (do this via unix permissions!)
679 x allow tarball generation? yes!
680 x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons
681 x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case
682 x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt'
683
684 o rendering *proposals* for TaviWorkflow
685 o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)
686 o Coloring
687 o [o=red, x=green, R=red, r=green]
688
689 o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)
690
691 x web-based newsreader? twig!
692 x apt-get install twig
693
694 o shutdown horde (for now: "pause")
695
696 o viewcvs & apache-mod-python?
697
698 o home2web, .home2webrc
699 --before: buildhtml --source=pod|tavi
700 --after: say "ready"
701
702 x added root of quepasa to cvs
703 x su root
704 x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org
705 x mkdir root
706 x chown -R .rootsrc root/
707 x chmod -R g+w root/
708 x cd /tmp
709 x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root
710 x start with /etc
711 x cd /etc
712 x cvs add etc
713 x cvs add viewcvs
714 x cd viewcvs
715 x cvs add ....
716 x cvs commit -m "+ initial commit"
717
718 x How to get a single file from cvs for download: (e.g.)
719 wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2
720
721 x cvsgraph still missing: apt-get install cvsgraph
722
723 x chora -> viewcvs
724 o change logo at /usr/share/viewcvs/images
725 x removed from template
726 x cvsview-query.cgi didn't work yet!
727 x error was:
728 x tail -f /data/www/virtual/netfrag/log/error_log
729 Traceback (most recent call last):
730 File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ?
731 import query
732 File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ?
733 import cvsdb
734 File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ?
735 import dbi
736 File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ?
737 import MySQLdb
738 ImportError: No module named MySQLdb
739 [Sat Jan 25 11:16:55 2003] [error] [client 217.231.127.85] Premature end of script headers: /usr/lib/cgi-bin/viewcvs-query.cgi
740 x solution is:
741 x apt-get install python-mysqldb
742 x use mysql;
743 x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
744 x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
745 x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs'));
746 x flush privileges;
747 x cd /usr/lib/viewcvs
748 x ./make-database
749 x
750 o mail to author of viewcvs
751
752
753 o docu about uml and filesystem-layer running on gharb for MiniHowTo?
754
755 o search.php?wiki=1&cvs=1&index=1
756
757 o get mnoGoSearch running
758 e apt-get install mnoGoSearch
759
760 o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done)
761
762 o ScanToWeb
763
764 o look at Mailman: http://www.list.org/features.html
765
766 o use cvsup!?
767
768 o alien.netfrag.org - (package-conversion) --> alien.packages.netfrag.org
769
770 o chora2viewcvs - How to migrate from Horde/Chora to viewcvs.
771
772 o LinuxInCvs (linux2cvs)
773
774 o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course!
775
776 o through "viewcvs" we loose the ability to "publish" documents via former chora:
777 viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain
778
779 o re-integrate .cvslink/JumpToCvs with dispatchurl
780
781 o WikiWords in CvsCommitMessages? (via yakka?)
782
783 x http://cvs.netfrag.org/bareface/yakka/?tarball=1
784
785 o [source:/link/to/source-code] (most times a '.cvslink' - hmmm?)
786 [source:<projectname>]
787
788 o HelpMe
789
790 o [snapshot:/link/to/snapshot]
791 [snapshot:<projectname>]
792
793 o dispatchrequest - a multipurpose request dispatcher
794 o integrate:
795 x redirector at cvs.netfrag.org ...
796 o ... and news.netfrag.org
797 o JumpToCvs (.cvslink-mechanism)
798 o how was it done?
799 x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch
800 x ln -s /data/www/global/apps/dispatchrequest .
801
802
803 o buildhtml -> makedoc
804
805 o TWIG & yakka?
806
807 o rename: dispatchmail -> dispatchmessage
808
809 c rename: dispatchrequest -> forwardrequest?
810
811 o readrc of bashrc|perlrc|xmlrc
812
813 x setup TWIG
814 x cd /usr/share/doc/twig
815 x cd /data/www/virtual/netfrag/conf/
816 x nano applications.conf
817 x add line: Alias /twig/ /usr/share/twig/
818 x had to modify /etc/apache/conf/httpd.conf:
819 x added: 'index.php3'
820 <IfModule mod_dir.c>
821 DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3
822 </IfModule>
823 x added: '.php3'
824 AddType application/x-httpd-php .php .php3
825 x /etc/init.d/apache reload
826 x cd /etc/twig
827 x modify config.inc.php3
828 x cd /usr/share/twig/setup
829 x mysql
830 x use mysql
831 x insert into user (host, user, password) values ('localhost', 'www-data', password(''));
832 x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
833 x create database twig;
834 x flush privileges;
835 x database-schema
836 x gunzip twig.table.mysql.gz
837 x mysql twig < twig.table.mysql
838
839 x setup arbitrary packet and bind to csm-system (Collaborative Software Management)
840 x pinstall twig
841 x apt-get install twig
842 x cd /etc
843 x cvs add twig
844 x cd twig
845 x cvs add *
846 x cvs add .htaccess
847 x cvs commit -m "+ initial commit"
848
849
850 o remove html from phpWiki: ('http://'!!!) (->https!!!)
851 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
852 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
853 <link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
854 <link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" />
855
856 o force https for: (authentication purposes - anonymous is http!)
857 o horde
858 o tutos
859
860 x dpkg -x twig_2.7.5-4_all.deb tmp/
861
862 o TWIG & OpenLDAP!?
863
864 x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
865 x removed /data/www/doc to /data/www/global/apps
866 x test:
867 x cd /data/www/virtual
868 x grep -ri "/data/www/doc" *
869 x cd /data/www/global
870 x grep -ri "/data/www/doc" *
871 x apps/twiki/
872 x lib/TWiki.cfg
873 x bin/.htaccess
874 x conf/twiki-httpd
875 ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes ;-)
876 ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!!
877 x conf/virtualdomains-httpd/
878 x doc/twiki/
879 x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public
880 x cd virtual/netfrag/conf
881 x grep -ri "/pub" *
882 x modify httpd.conf and applications.conf
883 x apachectl configtest
884 Syntax error on line 345 of /etc/apache/httpd.conf:
885 DocumentRoot must be a directory
886 x disabled there completely
887 x now in /data/www/global/conf/httpd.conf
888 DocumentRoot /data/www/virtual/netfrag/sites/public
889 x apachectl configtest
890 fopen: No such file or directory
891 apache: could not open document config file /data/www/conf/twiki-httpd.conf
892 x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/
893 x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
894 x apachectl configtest
895 fopen: No such file or directory
896 apache: could not open document config file /data/www/conf/tutos-httpd.conf
897 x cd virtual/netfrag
898 x grep -rin "www/conf" *
899 x edit applications.conf:21
900 x was: Include /data/www/conf/tutos-httpd.conf
901 x is: Include /data/www/global/conf/tutos-httpd.conf
902 x apachectl configtest
903 Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist
904 fopen: No such file or directory
905 apache: could not open document config file /data/www/conf/dynamic.conf
906 x grep -rin webnews *
907 x edit applications.conf:30
908 x was: Alias /webnews/ /data/www/global/apps/newsportal/
909 x is: Alias /webnews/ /data/www/global/apps/newsportal/
910 x edit httpd.conf:74
911 x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews
912 x is: DocumentRoot /data/www/virtual/netfrag/sites/news
913 x cd global/conf
914 x grep -rin www/conf *
915 x STDOUT-PARSE:
916 httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf
917 httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf
918 httpd.conf:29:Include /data/www/conf/dynamic.conf
919 ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf
920 x apachectl configtest
921 root@quepasa:/data/www/global/conf# apachectl configtest
922 configuring dynamic domain "golf5.de"
923 configuring dynamic domain "smartmen.de"
924 configuring dynamic domain "ballonflug.de"
925 Syntax OK
926 x /etc/init.d/apache restart
927 x testing "http://netfrag.org/" fails
928 x testing "http://netfrag.org/index.php"
929 x makes redirect to "http://netfrag.org/nfoweb/" but fails there
930 x tail -f tail -f /data/www/virtual/netfrag/log/error_log
931 [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
932 [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
933 [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
934 [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
935 [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
936
937
938 o register:
939 public.netfrag.org -> http://netfrag.org
940 secure.netfrag.org -> https://netfrag.org
941
942 o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
943 o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
944
945 o IntroduceMergePoint at http://netfrag.org/doc/
946 o MiniHowto
947 o faqs (e.g. from news://news.netfrag.org/nfo.faq.users
948
949 o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or
950 o an AUTOCOMMIT on that very event (maybe integrated with a counter)
951
952 o write scripts to iterate recursively through directories under specified path ...
953 o ... and do some actions on each directory, e.g.
954 o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc)
955
956 x CVSSpam in action:
957 10146 ? S 0:00 /usr/sbin/sshd
958 10148 ? S 0:00 /usr/sbin/sshd
959 10149 ? S 0:00 cvs server
960 10150 ? S 0:00 cvs server
961 10151 ? S 0:00 /bin/login
962 10155 ? S 0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag
963 10158 ? S 0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10
964
965 x as Chora'sStylesheet has come active (by accident) when viewing this file view web
966 we should include this as a fixed default making horde our default stylesheet delivery engine (for now)
967
968 o link-checker for netfrag.org
969
970 o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />?
971 o styleme.php
972 o brandme.php
973
974
975
976 o mini-howto: "HttpRedirect"
977
978 o how to refactor the MiniHowtos?
979 o into a wiki? wikis seem to miss offline/distributed capabilities! (for now)
980 x into pod
981 x build offline
982 o build online
983 o into DocBook?
984 o into tavi? (or "TaviWorkflow"?)
985 o but: LinkWithWikiAutomagically to get everything together
986 o look at the InterwikiMechanism
987 o look at the various WikiPluginArchitectures
988 o look at YakkaDev!
989
990 o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]!
991
992 o proposal for hierarchical structure (and HomePage) of netfrag.org
993 ~overview -> SomeWiki -> Overview
994 ~projects (include some common text here)
995 ~users (include some common text here)
996 - Page: UserArea
997 - Page: ~users
998 ~projects -> SomeWiki-> Projects
999 ~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?))
1000 ~rabit (raBit's router - psl.no-ip.com)
1001 ~natraj (sam's place - optix)
1002 ~joko (joko's)
1003 ~bareface (->yakka)
1004
1005 o MasterWorkflow:
1006 -> TheThreeGoodThings
1007 -> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences
1008 -> RefactorIdeas -> Categorize -> AddNotes -> AddTasks
1009 -> DoThings -> ReadTasks -> DoTasks
1010 -> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....)
1011
1012 o what do we need / what do we do?
1013 --- researcher
1014 o OnlineReading
1015 (o SelectItemsForDownload) <- want-to-have
1016 (o DownloadItems) <- want-to-have
1017 --- researcher
1018 o OfflineReading
1019 x ClumsyOfflineReading <- status-quo
1020 (o NiceOfflineReading) <- want-to-have
1021 (o OfflineArchiving) <- want-to-have
1022 o OfflineEditing (text, html, pod, tavi)
1023 o OnlinePublishing (<all - everything what has been rendered or archived offline>)
1024 --- engine
1025 o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz)
1026 o OfflineRendering (html, text, pdf, chm)
1027 --- reader
1028 o OnlineReading (<everything that has been published>)
1029 (o SelectItemsForDownload) <- want-to-have
1030 (o DownloadItems) <- want-to-have
1031 o OfflineReading (pdf, chm)
1032
1033 o link to http://teamsonar.no-ip.com
1034
1035 o mail announces to announce@netfrag.org
1036
1037 o no symlinks in webroot anymore? use ApacheAliases?
1038
1039 o MiniHowto: NfoLinkageSystem
1040
1041
1042 </pre>
1043
1044 <hr/>
1045 $Id: joko_2003-01.html,v 1.59 2003/01/26 21:33:40 joko Exp $
1046
1047 </body>
1048 </html>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed