1 |
<html> |
<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> |
<body> |
7 |
|
|
8 |
<pre> |
<pre> |
379 |
|
|
380 |
o qpopper with tls, sasl and kerberos5? |
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 setup newsportal (by Florian Amrhein) |
570 |
|
x url: http://florian-amrhein.de/newsportal/ |
571 |
|
x cd /home/service/download |
572 |
|
x mkdir newsportal |
573 |
|
x cd newsportal |
574 |
|
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
575 |
|
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
576 |
|
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/ |
577 |
|
x add to /data/www/virtual/netfrag/conf/applications.conf |
578 |
|
Alias /webnews/ /data/www/global/apps/newsportal/ |
579 |
|
x configure in /data/www/global/apps/newsportal/config.inc |
580 |
|
// newsserver setup |
581 |
|
$server="news.netfrag.org"; |
582 |
|
$server_auth_user="webnews"; |
583 |
|
$server_auth_pass="web123"; |
584 |
|
x add to /etc/news/nnrp.access: |
585 |
|
# 2003-01-26, joko |
586 |
|
*:Read Post:webnews:web123:* |
587 |
|
x modify groups.txt |
588 |
|
<nfo.* - add all groups here> |
589 |
|
o TODO: AUTOUPDATE here! |
590 |
|
x add to the index-page: |
591 |
|
xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />" |
592 |
|
x grep -rin "<head" * |
593 |
|
doc/readme-deutsch.html:4:</head> |
594 |
|
doc/faq.html:4:</head> |
595 |
|
doc/history.txt:234:- fehlender </head> Tag ergaenzt |
596 |
|
doc/readme-english.html:4:</head> |
597 |
|
doc/history.txt~:233:- fehlender </head> Tag ergaenzt |
598 |
|
extras/frames/thread_frameset.php:10:</head> |
599 |
|
head.inc:5:</head> |
600 |
|
x cvs add head.inc |
601 |
|
x cvs commit -m "+ initial commit" head.inc |
602 |
|
x <modify head.inc> |
603 |
|
x nano head.inc |
604 |
|
x <jump to line 5> STRG+W + T: 5 |
605 |
|
xR <insert INSERTION> |
606 |
|
xR <insert [ENTER]> |
607 |
|
x <save file> STRG+O + [ENTER] |
608 |
|
x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>> |
609 |
|
o TODO: RefactorThisHtmlRef to WebNews |
610 |
|
o view message in some MimeViewer or HtmlViewer (Horde?) |
611 |
|
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
612 |
|
x Why newsportal and no other? |
613 |
|
x directly connects to nntp-daemon |
614 |
|
x has local spool (o TODO: purge regularly?) |
615 |
|
x highly customizable |
616 |
|
x added custom css-stylesheet and changed something at content-rendering-level without any problems |
617 |
|
x visit cvs.netfrag.org to look at the changes made to the newsportal codebase: |
618 |
|
x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a> |
619 |
|
o TODO: RefactorThisLink |
620 |
|
x it's just easy! |
621 |
|
x setup dispatchrequest for http://news.netfrag.org |
622 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
623 |
|
x create symlink |
624 |
|
x ./.symlinkrc |
625 |
|
x copy over from webcvs |
626 |
|
x cp ../webcvs/index.php . |
627 |
|
x mkdir .dispatch |
628 |
|
x cd .dispatch |
629 |
|
x cp ../webcvs/.dispatch/config.php . |
630 |
|
x cp ../webcvs/.dispatch/index.php . |
631 |
|
x cvs add ... |
632 |
|
x cvs commit ... |
633 |
|
|
634 |
|
x rework apache-layout - check into repository as something root is responsible for! |
635 |
|
|
636 |
|
o NfoWeb |
637 |
|
o add WikiPages: |
638 |
|
o Overview |
639 |
|
o Projects |
640 |
|
o MiniHowTo |
641 |
|
(o Search) |
642 |
|
o modify HomePage |
643 |
|
o change Projects to Overview |
644 |
|
|
645 |
|
o yakka & pod |
646 |
|
o convert pod to tavi |
647 |
|
o perl first (pod2tavi) |
648 |
|
o php afterwards (pod2tavi-php) |
649 |
|
o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?) |
650 |
|
o address "files" outside the normal/configured default YakkaRepository |
651 |
|
o introduce: "ExplicitAddressingOfArbitraryTargets" |
652 |
|
o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField) |
653 |
|
o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository" |
654 |
|
|
655 |
|
o viewcvs & yakka |
656 |
|
o a filesystem-adapter for yakka's storage-handler-system |
657 |
|
o show "view in yakka" if document-type eq 'tavi|tavi,v|pod' |
658 |
|
|
659 |
|
o IconForNetfrag.Org? |
660 |
|
o fav.ico? |
661 |
|
|
662 |
|
x install viewcvs |
663 |
|
x apt-get install viewcvs |
664 |
|
x configured: |
665 |
|
x /var/lib/cvs |
666 |
|
x email-address (new): cvs-admin@netfrag.org -> dev@netfrag.org |
667 |
|
x no forbidden modules (do this via unix permissions!) |
668 |
|
x allow tarball generation? yes! |
669 |
|
x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons |
670 |
|
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
671 |
|
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
672 |
|
|
673 |
|
o rendering proposals for TaviWorkflow |
674 |
|
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
675 |
|
o Coloring |
676 |
|
o [o=red, x=green, R=red, r=green] |
677 |
|
|
678 |
|
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
679 |
|
|
680 |
|
x web-based newsreader? twig! |
681 |
|
x apt-get install twig |
682 |
|
|
683 |
|
o shutdown horde (for now: "pause") |
684 |
|
|
685 |
|
o viewcvs & apache-mod-python? |
686 |
|
|
687 |
|
o home2web, .home2webrc |
688 |
|
--before: buildhtml --source=pod|tavi |
689 |
|
--after: say "ready" |
690 |
|
|
691 |
|
x added root of quepasa to cvs |
692 |
|
x su root |
693 |
|
x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org |
694 |
|
x mkdir root |
695 |
|
x chown -R .rootsrc root/ |
696 |
|
x chmod -R g+w root/ |
697 |
|
x cd /tmp |
698 |
|
x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root |
699 |
|
x start with /etc |
700 |
|
x cd /etc |
701 |
|
x cvs add etc |
702 |
|
x cvs add viewcvs |
703 |
|
x cd viewcvs |
704 |
|
x cvs add .... |
705 |
|
x cvs commit -m "+ initial commit" |
706 |
|
|
707 |
|
x How to get a single file from cvs for download: (e.g.) |
708 |
|
wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2 |
709 |
|
|
710 |
|
x cvsgraph still missing: apt-get install cvsgraph |
711 |
|
|
712 |
|
x chora -> viewcvs |
713 |
|
o change logo at /usr/share/viewcvs/images |
714 |
|
x removed from template |
715 |
|
x cvsview-query.cgi didn't work yet! |
716 |
|
x error was: |
717 |
|
x tail -f /data/www/virtual/netfrag/log/error_log |
718 |
|
Traceback (most recent call last): |
719 |
|
File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ? |
720 |
|
import query |
721 |
|
File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ? |
722 |
|
import cvsdb |
723 |
|
File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ? |
724 |
|
import dbi |
725 |
|
File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ? |
726 |
|
import MySQLdb |
727 |
|
ImportError: No module named MySQLdb |
728 |
|
[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 |
729 |
|
x solution is: |
730 |
|
x apt-get install python-mysqldb |
731 |
|
x use mysql; |
732 |
|
x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
733 |
|
x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
734 |
|
x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs')); |
735 |
|
x flush privileges; |
736 |
|
x cd /usr/lib/viewcvs |
737 |
|
x ./make-database |
738 |
|
x |
739 |
|
o mail to author of viewcvs |
740 |
|
|
741 |
|
|
742 |
|
o docu about uml and filesystem-layer running on gharb for MiniHowTo? |
743 |
|
|
744 |
|
o search.php?wiki=1&cvs=1&index=1 |
745 |
|
|
746 |
|
o get mnoGoSearch running |
747 |
|
e apt-get install mnoGoSearch |
748 |
|
|
749 |
|
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
750 |
|
|
751 |
|
o ScanToWeb |
752 |
|
|
753 |
|
o look at Mailman: http://www.list.org/features.html |
754 |
|
|
755 |
|
o use cvsup!? |
756 |
|
|
757 |
|
o alien.netfrag.org - (package-conversion) --> alien.packages.netfrag.org |
758 |
|
|
759 |
|
o chora2viewcvs - How to migrate from Horde/Chora to viewcvs. |
760 |
|
|
761 |
|
o LinuxInCvs (linux2cvs) |
762 |
|
|
763 |
|
o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course! |
764 |
|
|
765 |
|
o through "viewcvs" we loose the ability to "publish" documents via former chora: |
766 |
|
viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain |
767 |
|
|
768 |
|
o re-integrate .cvslink/JumpToCvs with dispatchurl |
769 |
|
|
770 |
|
o WikiWords in CvsCommitMessages? (via yakka?) |
771 |
|
|
772 |
|
x http://cvs.netfrag.org/bareface/yakka/?tarball=1 |
773 |
|
|
774 |
|
o [source:/link/to/source-code] (most times a '.cvslink' - hmmm?) |
775 |
|
[source:<projectname>] |
776 |
|
|
777 |
|
o HelpMe |
778 |
|
|
779 |
|
o [snapshot:/link/to/snapshot] |
780 |
|
[snapshot:<projectname>] |
781 |
|
|
782 |
|
o dispatchrequest - a multipurpose request dispatcher |
783 |
|
o integrate: |
784 |
|
x redirector at cvs.netfrag.org ... |
785 |
|
o ... and news.netfrag.org |
786 |
|
o JumpToCvs (.cvslink-mechanism) |
787 |
|
o how was it done? |
788 |
|
x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch |
789 |
|
x ln -s /data/www/global/apps/dispatchrequest . |
790 |
|
|
791 |
|
|
792 |
|
o buildhtml -> makedoc |
793 |
|
|
794 |
|
o TWIG & yakka? |
795 |
|
|
796 |
|
o rename: dispatchmail -> dispatchmessage |
797 |
|
|
798 |
|
c rename: dispatchrequest -> forwardrequest? |
799 |
|
|
800 |
|
o readrc of bashrc|perlrc|xmlrc |
801 |
|
|
802 |
|
x setup TWIG |
803 |
|
x cd /usr/share/doc/twig |
804 |
|
x cd /data/www/virtual/netfrag/conf/ |
805 |
|
x nano applications.conf |
806 |
|
x add line: Alias /twig/ /usr/share/twig/ |
807 |
|
x had to modify /etc/apache/conf/httpd.conf: |
808 |
|
x added: 'index.php3' |
809 |
|
<IfModule mod_dir.c> |
810 |
|
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 |
811 |
|
</IfModule> |
812 |
|
x added: '.php3' |
813 |
|
AddType application/x-httpd-php .php .php3 |
814 |
|
x /etc/init.d/apache reload |
815 |
|
x cd /etc/twig |
816 |
|
x modify config.inc.php3 |
817 |
|
x cd /usr/share/twig/setup |
818 |
|
x mysql |
819 |
|
x use mysql |
820 |
|
x insert into user (host, user, password) values ('localhost', 'www-data', password('')); |
821 |
|
x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
822 |
|
x create database twig; |
823 |
|
x flush privileges; |
824 |
|
x database-schema |
825 |
|
x gunzip twig.table.mysql.gz |
826 |
|
x mysql twig < twig.table.mysql |
827 |
|
|
828 |
|
x setup arbitrary packet and bind to csm-system (Collaborative Software Management) |
829 |
|
x pinstall twig |
830 |
|
x apt-get install twig |
831 |
|
x cd /etc |
832 |
|
x cvs add twig |
833 |
|
x cd twig |
834 |
|
x cvs add * |
835 |
|
x cvs add .htaccess |
836 |
|
x cvs commit -m "+ initial commit" |
837 |
|
|
838 |
|
|
839 |
|
o remove html from phpWiki: ('http://'!!!) (->https!!!) |
840 |
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
841 |
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
842 |
|
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" /> |
843 |
|
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" /> |
844 |
|
|
845 |
|
o force https for: (authentication purposes - anonymous is http!) |
846 |
|
o horde |
847 |
|
o tutos |
848 |
|
|
849 |
|
x dpkg -x twig_2.7.5-4_all.deb tmp/ |
850 |
|
|
851 |
|
o TWIG & OpenLDAP!? |
852 |
|
|
853 |
|
x ApacheMasterLayoutRefactoring: quepasa.netfrag.org: |
854 |
|
x removed /data/www/doc to /data/www/global/apps |
855 |
|
x test: |
856 |
|
x cd /data/www/virtual |
857 |
|
x grep -ri "/data/www/doc" * |
858 |
|
x cd /data/www/global |
859 |
|
x grep -ri "/data/www/doc" * |
860 |
|
x apps/twiki/ |
861 |
|
x lib/TWiki.cfg |
862 |
|
x bin/.htaccess |
863 |
|
x conf/twiki-httpd |
864 |
|
---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes ;-) |
865 |
|
---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!! |
866 |
|
x conf/virtualdomains-httpd/ |
867 |
|
x doc/twiki/ |
868 |
|
x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public |
869 |
|
x cd virtual/netfrag/conf |
870 |
|
x grep -ri "/pub" * |
871 |
|
x modify httpd.conf and applications.conf |
872 |
|
x apachectl configtest |
873 |
|
Syntax error on line 345 of /etc/apache/httpd.conf: |
874 |
|
DocumentRoot must be a directory |
875 |
|
x disabled there completely |
876 |
|
x now in /data/www/global/conf/httpd.conf |
877 |
|
DocumentRoot /data/www/virtual/netfrag/sites/public |
878 |
|
x apachectl configtest |
879 |
|
fopen: No such file or directory |
880 |
|
apache: could not open document config file /data/www/conf/twiki-httpd.conf |
881 |
|
x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/ |
882 |
|
x nano /data/www/virtual/netfrag/conf/applications.conf to match new path |
883 |
|
x apachectl configtest |
884 |
|
fopen: No such file or directory |
885 |
|
apache: could not open document config file /data/www/conf/tutos-httpd.conf |
886 |
|
x cd virtual/netfrag |
887 |
|
x grep -rin "www/conf" * |
888 |
|
x edit applications.conf:21 |
889 |
|
x was: Include /data/www/conf/tutos-httpd.conf |
890 |
|
x is: Include /data/www/global/conf/tutos-httpd.conf |
891 |
|
x apachectl configtest |
892 |
|
Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist |
893 |
|
fopen: No such file or directory |
894 |
|
apache: could not open document config file /data/www/conf/dynamic.conf |
895 |
|
x grep -rin webnews * |
896 |
|
x edit applications.conf:30 |
897 |
|
x was: Alias /webnews/ /data/www/global/apps/newsportal/ |
898 |
|
x is: Alias /webnews/ /data/www/global/apps/newsportal/ |
899 |
|
x edit httpd.conf:74 |
900 |
|
x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews |
901 |
|
x is: DocumentRoot /data/www/virtual/netfrag/sites/news |
902 |
|
x cd global/conf |
903 |
|
x grep -rin www/conf * |
904 |
|
x STDOUT-PARSE: |
905 |
|
httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf |
906 |
|
httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf |
907 |
|
httpd.conf:29:Include /data/www/conf/dynamic.conf |
908 |
|
->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf |
909 |
|
x apachectl configtest |
910 |
|
root@quepasa:/data/www/global/conf# apachectl configtest |
911 |
|
configuring dynamic domain "golf5.de" |
912 |
|
configuring dynamic domain "smartmen.de" |
913 |
|
configuring dynamic domain "ballonflug.de" |
914 |
|
Syntax OK |
915 |
|
x /etc/init.d/apache restart |
916 |
|
x testing "http://netfrag.org/" fails |
917 |
|
x testing "http://netfrag.org/index.php" |
918 |
|
x makes redirect to "http://netfrag.org/nfoweb/" but fails there |
919 |
|
x tail -f tail -f /data/www/virtual/netfrag/log/error_log |
920 |
|
[Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
921 |
|
[Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
922 |
|
[Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
923 |
|
[Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
924 |
|
[Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
925 |
|
|
926 |
|
|
927 |
|
o register: |
928 |
|
public.netfrag.org -> http://netfrag.org |
929 |
|
secure.netfrag.org -> https://netfrag.org |
930 |
|
|
931 |
|
o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/! |
932 |
|
o netfrag.org: DispatchRequest for http://netfrag.org/rrr/! |
933 |
|
|
934 |
|
o IntroduceMergePoint at http://netfrag.org/doc/ |
935 |
|
o MiniHowto |
936 |
|
o faqs (e.g. from news://news.netfrag.org/nfo.faq.users |
937 |
|
|
938 |
|
o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or |
939 |
|
o an AUTOCOMMIT on that very event (maybe integrated with a counter) |
940 |
|
|
941 |
|
o write scripts to iterate recursively through directories under specified path ... |
942 |
|
o ... and do some actions on each directory, e.g. |
943 |
|
o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc) |
944 |
|
|
945 |
|
x CVSSpam in action: |
946 |
|
10146 ? S 0:00 /usr/sbin/sshd |
947 |
|
10148 ? S 0:00 /usr/sbin/sshd |
948 |
|
10149 ? S 0:00 cvs server |
949 |
|
10150 ? S 0:00 cvs server |
950 |
|
10151 ? S 0:00 /bin/login |
951 |
|
10155 ? S 0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag |
952 |
|
10158 ? S 0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10 |
953 |
|
|
954 |
|
x as Chora'sStylesheet has come active (by accident) when viewing this file view web |
955 |
|
we should include this as a fixed default making horde our default stylesheet delivery engine (for now) |
956 |
|
|
957 |
|
o link-checker for netfrag.org |
958 |
|
|
959 |
|
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
960 |
|
o styleme.php |
961 |
|
o brandme.php |
962 |
|
|
963 |
|
|
964 |
|
|
965 |
|
o mini-howto: "HttpRedirect" |
966 |
|
|
967 |
|
o how to refactor the MiniHowtos? |
968 |
|
o into a wiki? wikis seem to miss offline/distributed capabilities! (for now) |
969 |
|
x into pod |
970 |
|
x build offline |
971 |
|
o build online |
972 |
|
o into DocBook? |
973 |
|
o into tavi? (or "TaviWorkflow"?) |
974 |
|
o but: LinkWithWikiAutomagically to get everything together |
975 |
|
o look at the InterwikiMechanism |
976 |
|
o look at the various WikiPluginArchitectures |
977 |
|
o look at YakkaDev! |
978 |
|
|
979 |
|
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
980 |
|
|
981 |
|
o proposal for hierarchical structure (and HomePage) of netfrag.org |
982 |
|
~overview -> SomeWiki -> Overview |
983 |
|
~projects (include some common text here) |
984 |
|
~users (include some common text here) |
985 |
|
- Page: UserArea |
986 |
|
- Page: ~users |
987 |
|
~projects -> SomeWiki-> Projects |
988 |
|
~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?)) |
989 |
|
~rabit (raBit's router - psl.no-ip.com) |
990 |
|
~natraj (sam's place - optix) |
991 |
|
~joko (joko's) |
992 |
|
~bareface (->yakka) |
993 |
|
|
994 |
|
o MasterWorkflow: |
995 |
|
-> TheThreeGoodThings |
996 |
|
-> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences |
997 |
|
-> RefactorIdeas -> Categorize -> AddNotes -> AddTasks |
998 |
|
-> DoThings -> ReadTasks -> DoTasks |
999 |
|
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
1000 |
|
|
1001 |
|
o what do we need / what do we do? |
1002 |
|
--- researcher |
1003 |
|
o OnlineReading |
1004 |
|
(o SelectItemsForDownload) <- want-to-have |
1005 |
|
(o DownloadItems) <- want-to-have |
1006 |
|
--- researcher |
1007 |
|
o OfflineReading |
1008 |
|
x ClumsyOfflineReading <- status-quo |
1009 |
|
(o NiceOfflineReading) <- want-to-have |
1010 |
|
(o OfflineArchiving) <- want-to-have |
1011 |
|
o OfflineEditing (text, html, pod, tavi) |
1012 |
|
o OnlinePublishing (<all - everything what has been rendered or archived offline>) |
1013 |
|
--- engine |
1014 |
|
o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz) |
1015 |
|
o OfflineRendering (html, text, pdf, chm) |
1016 |
|
--- reader |
1017 |
|
o OnlineReading (<everything that has been published>) |
1018 |
|
(o SelectItemsForDownload) <- want-to-have |
1019 |
|
(o DownloadItems) <- want-to-have |
1020 |
|
o OfflineReading (pdf, chm) |
1021 |
|
|
1022 |
|
o link to http://teamsonar.no-ip.com |
1023 |
|
|
1024 |
|
o mail announces to announce@netfrag.org |
1025 |
|
|
1026 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
1027 |
|
|
1028 |
|
|
1029 |
</pre> |
</pre> |
1030 |
|
|
1031 |
|
<hr/> |
1032 |
|
$Id$ |
1033 |
|
|
1034 |
</body> |
</body> |
1035 |
</html> |
</html> |