1 |
<html> |
<html> |
2 |
|
<head> |
3 |
|
<title>joko's sample notes - 2003-01</title> |
4 |
|
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
5 |
|
</head> |
6 |
<body> |
<body> |
7 |
|
|
8 |
<pre> |
<pre> |
225 |
o re-link as sub-/module-project under Torus::Virtual (mail2folder, mail2mail) |
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 |
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 |
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' |
o finally: do actually establish 'Torus' at 'nfo/perl/libs' |
235 |
|
|
350 |
|
|
351 |
o on Windows it's called "QuickLaunch" .... |
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 |
|
|
438 |
|
|
439 |
|
o new module for cvs-repository? |
440 |
|
o nfo/layouts/fs/skel/data2 |
441 |
|
o checkout to /data on quepasa.netfrag.org |
442 |
|
x done: |
443 |
|
x su root |
444 |
|
x cd /var/lib/cvs |
445 |
|
x mkdir -p nfo/layouts/fs/skel/data |
446 |
|
x mkdir -p nfo/layouts/fs/skel/data2 |
447 |
|
x mkdir -p nfo/hosts/quepasa.netfrag.org/data |
448 |
|
x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data |
449 |
|
x *mungle everything and commit!* look at the repository! |
450 |
|
x add special group with access to this repository: 'rootsrc' |
451 |
|
x groupadd rootsrc |
452 |
|
x usermod -G src,staff,rootsrc joko |
453 |
|
x usermod -G src,staff,rootsrc jonen |
454 |
|
x usermod -G rootsrc root |
455 |
|
x change permissions |
456 |
|
x cd /var/lib/cvs/nfo/ |
457 |
|
x chown -R .rootsrc hosts |
458 |
|
x chmod -R g+w hosts |
459 |
|
|
460 |
|
|
461 |
|
x add to system-conf-repository: |
462 |
|
x /etc/mail |
463 |
|
x php: cvs-redirect |
464 |
|
x |
465 |
|
|
466 |
|
o extend WCron |
467 |
|
x show (per-task) if it's currently running or not: provide buttons to (start, stop, pause, resume or cancel a task...) |
468 |
|
x use as a frontend for administering nfo/libs/perl/ - backend - tasks(???) |
469 |
|
|
470 |
|
x install Horde/Troll |
471 |
|
x install troll |
472 |
|
x cd /home/service/download |
473 |
|
x mkdir horde |
474 |
|
x cd horde |
475 |
|
x wget ftp://ftp.horde.org/pub/troll/troll-0.0.2.tar.gz |
476 |
|
x tar -xzf troll-0.0.2.tar.gz --directory=/data/www/doc/horde/ |
477 |
|
x configure horde |
478 |
|
x cd /data/www/doc/horde/ |
479 |
|
x nano config/registry.php |
480 |
|
x add lines: |
481 |
|
$this->applications['troll'] = array( |
482 |
|
'fileroot' => dirname(__FILE__) . '/../troll', |
483 |
|
'webroot' => $this->applications['horde']['webroot'] . '/troll', |
484 |
|
'icon' => $this->applications['horde']['webroot'] . '/troll/graphics/troll.gif', |
485 |
|
'name' => _("News"), |
486 |
|
'allow_guests' => true, |
487 |
|
'show' => true |
488 |
|
); |
489 |
|
x configure Troll |
490 |
|
x cd troll/config |
491 |
|
x conf.php |
492 |
|
x cp conf.php.dist conf.php |
493 |
|
x nano conf.php |
494 |
|
x edit: |
495 |
|
x $conf['news']['server'] = 'news.netfrag.org'; |
496 |
|
x $conf['news']['mailserver'] = 'mail.netfrag.org'; |
497 |
|
x servers.php |
498 |
|
x cp servers.php.dist servers.php |
499 |
|
x add: |
500 |
|
$servers['netfrag.org'] = array( |
501 |
|
'name' => 'news.netfrag.org', |
502 |
|
'server' => 'news.netfrag.org', |
503 |
|
'port' => 119, |
504 |
|
); |
505 |
|
x prefs.php |
506 |
|
x cp prefs.php.dist prefs.php |
507 |
|
x html.php |
508 |
|
x cp html.php.dist html.php |
509 |
|
x permissions |
510 |
|
x chmod o+r *.php |
511 |
|
|
512 |
|
|
513 |
|
x test: http://netfrag.org/horde/ |
514 |
|
o another (more bright) skin for horde@netfrag.org!!! |
515 |
|
|
516 |
|
o Warum nicht überall Horde? Sondern TUTOS? |
517 |
|
o Horde ist sehr breit angelegt, dafür fehlt es jedoch an vielen Stellen noch ein wenig im Detail. |
518 |
|
o mittlerweile: mit Hermes & Co.? nochmal ansehen! |
519 |
|
|
520 |
|
o just do automated operations (like cvs commit) only if system is idle |
521 |
|
|
522 |
|
o automagically redirect http://netfrag.org/horde/ to https://netfrag.org/horde/ |
523 |
|
o with an Apache - rewrite-rule? |
524 |
|
|
525 |
|
x how to map TUTOS-groups to newsgroups? |
526 |
|
x ctlinnd newgroup nfo.tutos.sysadmin |
527 |
|
x add dispatching for sysadmin@netfrag.org |
528 |
|
x add to /home/service/virtual/gateway/.dispatchmailrc |
529 |
|
$self->copy('Newsgate', 'nfo.tutos.sysadmin') if $to =~ m/sysadmin/; |
530 |
|
x add to /etc/mail/virtusertable: |
531 |
|
# --- news.netfrag.org - joko, 2003-01-24 |
532 |
|
sysadmin@netfrag.org gateway |
533 |
|
make virtusertable! |
534 |
|
x write welcome-mail |
535 |
|
root@quepasa:~$ mail sysadmin@netfrag.org |
536 |
|
Subject: Welcome to the sysadmin-newsgroup at netfrag.org! |
537 |
|
Have fun! |
538 |
|
greets, joko. |
539 |
|
|
540 |
|
. |
541 |
|
Cc: |
542 |
|
x test: do "refresh newsgroups" at your favourite news-reader |
543 |
|
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> |
544 |
|
x HEADERS: |
545 |
|
x Message-ID: <b0shbj$l9s$1@quepasa.netfrag.org> |
546 |
|
x Subject: Re: Welcome to the sysadmin-newsgroup at netfrag.org! |
547 |
|
o newsgate |
548 |
|
o http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org |
549 |
|
o http://news.netfrag.org/nfo.tutos.sysadmin/subject/Re: Welcome to the sysadmin-newsgroup at netfrag.org! |
550 |
|
|
551 |
|
o Erkenntnis aus UML (Kernel 2.4): schwierig mit gleichzeitigem Zugriff |
552 |
|
|
553 |
|
o gave up trying to get Troll running |
554 |
|
|
555 |
|
x setup alternatives to Horde for public access |
556 |
|
o viewcvs |
557 |
|
x apt-get install libapache-mod-python |
558 |
|
|
559 |
|
o WebNewsViewer |
560 |
|
|
561 |
|
o release the user from having to send email-messages to actually post urls with content (e.g. "FirstPage") |
562 |
|
|
563 |
|
o parse .url-files! |
564 |
|
|
565 |
|
o have newsgroup-structure backed in ldap-container (ou) somehow (Data::Map!) |
566 |
|
|
567 |
|
x new email-addresses@netfrag.org: |
568 |
|
x sysadmin@netfrag.org |
569 |
|
x faq@netfrag.org |
570 |
|
|
571 |
|
x setup 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 |
|
|
624 |
|
x rework apache-layout - check into repository as something root is responsible for! |
625 |
|
|
626 |
|
o NfoWeb |
627 |
|
o add WikiPages: |
628 |
|
o Overview |
629 |
|
o Projects |
630 |
|
o MiniHowTo |
631 |
|
(o Search) |
632 |
|
o modify HomePage |
633 |
|
o change Projects to Overview |
634 |
|
|
635 |
|
o yakka & pod |
636 |
|
o convert pod to tavi |
637 |
|
o perl first (pod2tavi) |
638 |
|
o php afterwards (pod2tavi-php) |
639 |
|
o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?) |
640 |
|
o address "files" outside the normal/configured default YakkaRepository |
641 |
|
o introduce: "ExplicitAddressingOfArbitraryTargets" |
642 |
|
o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField) |
643 |
|
o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository" |
644 |
|
|
645 |
|
o viewcvs & yakka |
646 |
|
o a filesystem-adapter for yakka's storage-handler-system |
647 |
|
o show "view in yakka" if document-type eq 'tavi|tavi,v|pod' |
648 |
|
|
649 |
|
o IconForNetfrag.Org? |
650 |
|
o fav.ico? |
651 |
|
|
652 |
|
x install viewcvs |
653 |
|
x apt-get install viewcvs |
654 |
|
x configured: |
655 |
|
x /var/lib/cvs |
656 |
|
x email-address (new): cvs-admin@netfrag.org -> dev@netfrag.org |
657 |
|
x no forbidden modules (do this via unix permissions!) |
658 |
|
x allow tarball generation? yes! |
659 |
|
x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons |
660 |
|
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
661 |
|
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
662 |
|
|
663 |
|
o rendering proposals for TaviWorkflow |
664 |
|
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
665 |
|
o Coloring |
666 |
|
o [o=red, x=green, R=red, r=green] |
667 |
|
|
668 |
|
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
669 |
|
|
670 |
|
x web-based newsreader? twig! |
671 |
|
x apt-get install twig |
672 |
|
|
673 |
|
o shutdown horde (for now: "pause") |
674 |
|
|
675 |
|
o viewcvs & apache-mod-python? |
676 |
|
|
677 |
|
o home2web, .home2webrc |
678 |
|
--before: buildhtml --source=pod|tavi |
679 |
|
--after: say "ready" |
680 |
|
|
681 |
|
x added root of quepasa to cvs |
682 |
|
x su root |
683 |
|
x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org |
684 |
|
x mkdir root |
685 |
|
x chown -R .rootsrc root/ |
686 |
|
x chmod -R g+w root/ |
687 |
|
x cd /tmp |
688 |
|
x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root |
689 |
|
x start with /etc |
690 |
|
x cd /etc |
691 |
|
x cvs add etc |
692 |
|
x cvs add viewcvs |
693 |
|
x cd viewcvs |
694 |
|
x cvs add .... |
695 |
|
x cvs commit -m "+ initial commit" |
696 |
|
|
697 |
|
x How to get a single file from cvs for download: (e.g.) |
698 |
|
wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2 |
699 |
|
|
700 |
|
x cvsgraph still missing: apt-get install cvsgraph |
701 |
|
|
702 |
|
x chora -> viewcvs |
703 |
|
o change logo at /usr/share/viewcvs/images |
704 |
|
x removed from template |
705 |
|
x cvsview-query.cgi didn't work yet! |
706 |
|
x error was: |
707 |
|
x tail -f /data/www/virtual/netfrag/log/error_log |
708 |
|
Traceback (most recent call last): |
709 |
|
File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ? |
710 |
|
import query |
711 |
|
File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ? |
712 |
|
import cvsdb |
713 |
|
File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ? |
714 |
|
import dbi |
715 |
|
File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ? |
716 |
|
import MySQLdb |
717 |
|
ImportError: No module named MySQLdb |
718 |
|
[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 |
719 |
|
x solution is: |
720 |
|
x apt-get install python-mysqldb |
721 |
|
x use mysql; |
722 |
|
x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
723 |
|
x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
724 |
|
x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs')); |
725 |
|
x flush privileges; |
726 |
|
x cd /usr/lib/viewcvs |
727 |
|
x ./make-database |
728 |
|
x |
729 |
|
o mail to author of viewcvs |
730 |
|
|
731 |
|
|
732 |
|
o docu about uml and filesystem-layer running on gharb for MiniHowTo? |
733 |
|
|
734 |
|
o search.php?wiki=1&cvs=1&index=1 |
735 |
|
|
736 |
|
o get mnoGoSearch running |
737 |
|
e apt-get install mnoGoSearch |
738 |
|
|
739 |
|
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
740 |
|
|
741 |
|
o ScanToWeb |
742 |
|
|
743 |
|
o look at Mailman: http://www.list.org/features.html |
744 |
|
|
745 |
|
o use cvsup!? |
746 |
|
|
747 |
|
o alien.netfrag.org - (package-conversion) --> alien.packages.netfrag.org |
748 |
|
|
749 |
|
o chora2viewcvs - How to migrate from Horde/Chora to viewcvs. |
750 |
|
|
751 |
|
o LinuxInCvs (linux2cvs) |
752 |
|
|
753 |
|
o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course! |
754 |
|
|
755 |
|
o through "viewcvs" we loose the ability to "publish" documents via former chora: |
756 |
|
viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain |
757 |
|
|
758 |
|
o re-integrate .cvslink/JumpToCvs with dispatchurl |
759 |
|
|
760 |
|
o WikiWords in CvsCommitMessages? (via yakka?) |
761 |
|
|
762 |
|
x http://cvs.netfrag.org/bareface/yakka/?tarball=1 |
763 |
|
|
764 |
|
o [source:/link/to/source-code] (most times a '.cvslink' - hmmm?) |
765 |
|
[source:<projectname>] |
766 |
|
|
767 |
|
o HelpMe |
768 |
|
|
769 |
|
o [snapshot:/link/to/snapshot] |
770 |
|
[snapshot:<projectname>] |
771 |
|
|
772 |
|
o dispatchrequest - a multipurpose request dispatcher |
773 |
|
o integrate: |
774 |
|
x redirector at cvs.netfrag.org ... |
775 |
|
o ... and news.netfrag.org |
776 |
|
o JumpToCvs (.cvslink-mechanism) |
777 |
|
o how was it done? |
778 |
|
x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch |
779 |
|
x ln -s /data/www/global/apps/dispatchrequest . |
780 |
|
|
781 |
|
|
782 |
|
o buildhtml -> makedoc |
783 |
|
|
784 |
|
o TWIG & yakka? |
785 |
|
|
786 |
|
o rename: dispatchmail -> dispatchmessage |
787 |
|
|
788 |
|
c rename: dispatchrequest -> forwardrequest? |
789 |
|
|
790 |
|
o readrc of bashrc|perlrc|xmlrc |
791 |
|
|
792 |
|
x setup TWIG |
793 |
|
x cd /usr/share/doc/twig |
794 |
|
x cd /data/www/virtual/netfrag/conf/ |
795 |
|
x nano applications.conf |
796 |
|
x add line: Alias /twig/ /usr/share/twig/ |
797 |
|
x had to modify /etc/apache/conf/httpd.conf: |
798 |
|
x added: 'index.php3' |
799 |
|
<IfModule mod_dir.c> |
800 |
|
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 |
801 |
|
</IfModule> |
802 |
|
x added: '.php3' |
803 |
|
AddType application/x-httpd-php .php .php3 |
804 |
|
x /etc/init.d/apache reload |
805 |
|
x cd /etc/twig |
806 |
|
x modify config.inc.php3 |
807 |
|
x cd /usr/share/twig/setup |
808 |
|
x mysql |
809 |
|
x use mysql |
810 |
|
x insert into user (host, user, password) values ('localhost', 'www-data', password('')); |
811 |
|
x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
812 |
|
x create database twig; |
813 |
|
x flush privileges; |
814 |
|
x database-schema |
815 |
|
x gunzip twig.table.mysql.gz |
816 |
|
x mysql twig < twig.table.mysql |
817 |
|
|
818 |
|
x setup arbitrary packet and bind to csm-system (Collaborative Software Management) |
819 |
|
x pinstall twig |
820 |
|
x apt-get install twig |
821 |
|
x cd /etc |
822 |
|
x cvs add twig |
823 |
|
x cd twig |
824 |
|
x cvs add * |
825 |
|
x cvs add .htaccess |
826 |
|
x cvs commit -m "+ initial commit" |
827 |
|
|
828 |
|
|
829 |
|
o remove html from phpWiki: ('http://'!!!) (->https!!!) |
830 |
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
831 |
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
832 |
|
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" /> |
833 |
|
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" /> |
834 |
|
|
835 |
|
o force https for: (authentication purposes - anonymous is http!) |
836 |
|
o horde |
837 |
|
o tutos |
838 |
|
|
839 |
|
x dpkg -x twig_2.7.5-4_all.deb tmp/ |
840 |
|
|
841 |
|
o TWIG & OpenLDAP!? |
842 |
|
|
843 |
|
x ApacheMasterLayoutRefactoring: quepasa.netfrag.org: |
844 |
|
x removed /data/www/doc to /data/www/global/apps |
845 |
|
x test: |
846 |
|
x cd /data/www/virtual |
847 |
|
x grep -ri "/data/www/doc" * |
848 |
|
x cd /data/www/global |
849 |
|
x grep -ri "/data/www/doc" * |
850 |
|
x apps/twiki/ |
851 |
|
x lib/TWiki.cfg |
852 |
|
x bin/.htaccess |
853 |
|
x conf/twiki-httpd |
854 |
|
---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes ;-) |
855 |
|
---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!! |
856 |
|
x conf/virtualdomains-httpd/ |
857 |
|
x doc/twiki/ |
858 |
|
x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public |
859 |
|
x cd virtual/netfrag/conf |
860 |
|
x grep -ri "/pub" * |
861 |
|
x modify httpd.conf and applications.conf |
862 |
|
x apachectl configtest |
863 |
|
Syntax error on line 345 of /etc/apache/httpd.conf: |
864 |
|
DocumentRoot must be a directory |
865 |
|
x disabled there completely |
866 |
|
x now in /data/www/global/conf/httpd.conf |
867 |
|
DocumentRoot /data/www/virtual/netfrag/sites/public |
868 |
|
x apachectl configtest |
869 |
|
fopen: No such file or directory |
870 |
|
apache: could not open document config file /data/www/conf/twiki-httpd.conf |
871 |
|
x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/ |
872 |
|
x nano /data/www/virtual/netfrag/conf/applications.conf to match new path |
873 |
|
x apachectl configtest |
874 |
|
fopen: No such file or directory |
875 |
|
apache: could not open document config file /data/www/conf/tutos-httpd.conf |
876 |
|
x cd virtual/netfrag |
877 |
|
x grep -rin "www/conf" * |
878 |
|
x edit applications.conf:21 |
879 |
|
x was: Include /data/www/conf/tutos-httpd.conf |
880 |
|
x is: Include /data/www/global/conf/tutos-httpd.conf |
881 |
|
x apachectl configtest |
882 |
|
Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist |
883 |
|
fopen: No such file or directory |
884 |
|
apache: could not open document config file /data/www/conf/dynamic.conf |
885 |
|
x grep -rin webnews * |
886 |
|
x edit applications.conf:30 |
887 |
|
x was: Alias /webnews/ /data/www/global/apps/newsportal/ |
888 |
|
x is: Alias /webnews/ /data/www/global/apps/newsportal/ |
889 |
|
x edit httpd.conf:74 |
890 |
|
x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews |
891 |
|
x is: DocumentRoot /data/www/virtual/netfrag/sites/news |
892 |
|
x cd global/conf |
893 |
|
x grep -rin www/conf * |
894 |
|
x STDOUT-PARSE: |
895 |
|
httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf |
896 |
|
httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf |
897 |
|
httpd.conf:29:Include /data/www/conf/dynamic.conf |
898 |
|
->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf |
899 |
|
x apachectl configtest |
900 |
|
root@quepasa:/data/www/global/conf# apachectl configtest |
901 |
|
configuring dynamic domain "golf5.de" |
902 |
|
configuring dynamic domain "smartmen.de" |
903 |
|
configuring dynamic domain "ballonflug.de" |
904 |
|
Syntax OK |
905 |
|
x /etc/init.d/apache restart |
906 |
|
x testing "http://netfrag.org/" fails |
907 |
|
x testing "http://netfrag.org/index.php" |
908 |
|
x makes redirect to "http://netfrag.org/nfoweb/" but fails there |
909 |
|
x tail -f tail -f /data/www/virtual/netfrag/log/error_log |
910 |
|
[Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
911 |
|
[Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
912 |
|
[Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
913 |
|
[Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
914 |
|
[Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
915 |
|
|
916 |
|
|
917 |
|
o register: |
918 |
|
public.netfrag.org -> http://netfrag.org |
919 |
|
secure.netfrag.org -> https://netfrag.org |
920 |
|
|
921 |
|
o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/! |
922 |
|
o netfrag.org: DispatchRequest for http://netfrag.org/rrr/! |
923 |
|
|
924 |
|
o IntroduceMergePoint at http://netfrag.org/doc/ |
925 |
|
o MiniHowto |
926 |
|
o faqs (e.g. from news://news.netfrag.org/nfo.faq.users |
927 |
|
|
928 |
|
o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or |
929 |
|
o an AUTOCOMMIT on that very event (maybe integrated with a counter) |
930 |
|
|
931 |
|
o write scripts to iterate recursively through directories under specified path ... |
932 |
|
o ... and do some actions on each directory, e.g. |
933 |
|
o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc) |
934 |
|
|
935 |
|
x CVSSpam in action: |
936 |
|
10146 ? S 0:00 /usr/sbin/sshd |
937 |
|
10148 ? S 0:00 /usr/sbin/sshd |
938 |
|
10149 ? S 0:00 cvs server |
939 |
|
10150 ? S 0:00 cvs server |
940 |
|
10151 ? S 0:00 /bin/login |
941 |
|
10155 ? S 0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag |
942 |
|
10158 ? S 0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10 |
943 |
|
|
944 |
|
x as Chora'sStylesheet has come active (by accident) when viewing this file view web |
945 |
|
we should include this as a fixed default making horde our default stylesheet delivery engine (for now) |
946 |
|
|
947 |
|
o link-checker for netfrag.org |
948 |
|
|
949 |
|
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
950 |
|
o styleme.php |
951 |
|
o brandme.php |
952 |
|
|
953 |
|
|
954 |
|
|
955 |
|
o mini-howto: "HttpRedirect" |
956 |
|
|
957 |
|
o how to refactor the MiniHowtos? |
958 |
|
o into a wiki? wikis seem to miss offline/distributed capabilities! (for now) |
959 |
|
x into pod |
960 |
|
x build offline |
961 |
|
o build online |
962 |
|
o into DocBook? |
963 |
|
o into tavi? (or "TaviWorkflow"?) |
964 |
|
o but: LinkWithWikiAutomagically to get everything together |
965 |
|
o look at the InterwikiMechanism |
966 |
|
o look at the various WikiPluginArchitectures |
967 |
|
o look at YakkaDev! |
968 |
|
|
969 |
|
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
970 |
|
|
971 |
|
o proposal for hierarchical structure (and HomePage) of netfrag.org |
972 |
|
~overview -> SomeWiki -> Overview |
973 |
|
~projects (include some common text here) |
974 |
|
~users (include some common text here) |
975 |
|
- Page: UserArea |
976 |
|
- Page: ~users |
977 |
|
~projects -> SomeWiki-> Projects |
978 |
|
~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?)) |
979 |
|
~rabit (raBit's router - psl.no-ip.com) |
980 |
|
~natraj (sam's place - optix) |
981 |
|
~joko (joko's) |
982 |
|
~bareface (->yakka) |
983 |
|
|
984 |
|
o MasterWorkflow: |
985 |
|
-> TheThreeGoodThings |
986 |
|
-> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences |
987 |
|
-> RefactorIdeas -> Categorize -> AddNotes -> AddTasks |
988 |
|
-> DoThings -> ReadTasks -> DoTasks |
989 |
|
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
990 |
|
|
991 |
|
o what do we need / what do we do? |
992 |
|
--- researcher |
993 |
|
o OnlineReading |
994 |
|
(o SelectItemsForDownload) <- want-to-have |
995 |
|
(o DownloadItems) <- want-to-have |
996 |
|
--- researcher |
997 |
|
o OfflineReading |
998 |
|
x ClumsyOfflineReading <- status-quo |
999 |
|
(o NiceOfflineReading) <- want-to-have |
1000 |
|
(o OfflineArchiving) <- want-to-have |
1001 |
|
o OfflineEditing (text, html, pod, tavi) |
1002 |
|
o OnlinePublishing (<all - everything what has been rendered or archived offline>) |
1003 |
|
--- engine |
1004 |
|
o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz) |
1005 |
|
o OfflineRendering (html, text, pdf, chm) |
1006 |
|
--- reader |
1007 |
|
o OnlineReading (<everything that has been published>) |
1008 |
|
(o SelectItemsForDownload) <- want-to-have |
1009 |
|
(o DownloadItems) <- want-to-have |
1010 |
|
o OfflineReading (pdf, chm) |
1011 |
|
|
1012 |
|
o link to http://teamsonar.no-ip.com |
1013 |
|
|
1014 |
|
o mail announces to announce@netfrag.org |
1015 |
|
|
1016 |
|
|
1017 |
|
|
1018 |
|
|
1019 |
</pre> |
</pre> |
1020 |
|
|
1021 |
|
<hr/> |
1022 |
|
$Id$ |
1023 |
|
|
1024 |
</body> |
</body> |
1025 |
</html> |
</html> |