433 |
|
|
434 |
|
|
435 |
o new module for cvs-repository? |
o new module for cvs-repository? |
436 |
o nfo/layouts/fs/skel/data |
o nfo/layouts/fs/skel/data2 |
437 |
o checkout to /data on quepasa.netfrag.org |
o checkout to /data on quepasa.netfrag.org |
438 |
|
x done: |
439 |
|
x su root |
440 |
|
x cd /var/lib/cvs |
441 |
|
x mkdir -p nfo/layouts/fs/skel/data |
442 |
|
x mkdir -p nfo/layouts/fs/skel/data2 |
443 |
|
x mkdir -p nfo/hosts/quepasa.netfrag.org/data |
444 |
|
x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data |
445 |
|
x *mungle everything and commit!* look at the repository! |
446 |
|
x add special group with access to this repository: 'rootsrc' |
447 |
|
x groupadd rootsrc |
448 |
|
x usermod -G src,staff,rootsrc joko |
449 |
|
x usermod -G src,staff,rootsrc jonen |
450 |
|
x usermod -G rootsrc root |
451 |
|
x change permissions |
452 |
|
x cd /var/lib/cvs/nfo/ |
453 |
|
x chown -R .rootsrc hosts |
454 |
|
x chmod -R g+w hosts |
455 |
|
|
456 |
|
|
457 |
x add to system-conf-repository: |
x add to system-conf-repository: |
482 |
'allow_guests' => true, |
'allow_guests' => true, |
483 |
'show' => true |
'show' => true |
484 |
); |
); |
485 |
|
x configure Troll |
486 |
|
x cd troll/config |
487 |
|
x conf.php |
488 |
|
x cp conf.php.dist conf.php |
489 |
|
x nano conf.php |
490 |
|
x edit: |
491 |
|
x $conf['news']['server'] = 'news.netfrag.org'; |
492 |
|
x $conf['news']['mailserver'] = 'mail.netfrag.org'; |
493 |
|
x servers.php |
494 |
|
x cp servers.php.dist servers.php |
495 |
|
x add: |
496 |
|
$servers['netfrag.org'] = array( |
497 |
|
'name' => 'news.netfrag.org', |
498 |
|
'server' => 'news.netfrag.org', |
499 |
|
'port' => 119, |
500 |
|
); |
501 |
|
x prefs.php |
502 |
|
x cp prefs.php.dist prefs.php |
503 |
|
x html.php |
504 |
|
x cp html.php.dist html.php |
505 |
|
x permissions |
506 |
|
x chmod o+r *.php |
507 |
|
|
508 |
|
|
509 |
x test: http://netfrag.org/horde/ |
x test: http://netfrag.org/horde/ |
510 |
o another (more bright) skin for horde@netfrag.org!!! |
o another (more bright) skin for horde@netfrag.org!!! |
511 |
|
|
512 |
|
o Warum nicht überall Horde? Sondern TUTOS? |
513 |
|
o Horde ist sehr breit angelegt, dafür fehlt es jedoch an vielen Stellen noch ein wenig im Detail. |
514 |
|
o mittlerweile: mit Hermes & Co.? nochmal ansehen! |
515 |
|
|
516 |
|
o just do automated operations (like cvs commit) only if system is idle |
517 |
|
|
518 |
|
o automagically redirect http://netfrag.org/horde/ to https://netfrag.org/horde/ |
519 |
|
o with an Apache - rewrite-rule? |
520 |
|
|
521 |
|
x how to map TUTOS-groups to newsgroups? |
522 |
|
x ctlinnd newgroup nfo.tutos.sysadmin |
523 |
|
x add dispatching for sysadmin@netfrag.org |
524 |
|
x add to /home/service/virtual/gateway/.dispatchmailrc |
525 |
|
$self->copy('Newsgate', 'nfo.tutos.sysadmin') if $to =~ m/sysadmin/; |
526 |
|
x add to /etc/mail/virtusertable: |
527 |
|
# --- news.netfrag.org - joko, 2003-01-24 |
528 |
|
sysadmin@netfrag.org gateway |
529 |
|
make virtusertable! |
530 |
|
x write welcome-mail |
531 |
|
root@quepasa:~$ mail sysadmin@netfrag.org |
532 |
|
Subject: Welcome to the sysadmin-newsgroup at netfrag.org! |
533 |
|
Have fun! |
534 |
|
greets, joko. |
535 |
|
|
536 |
|
. |
537 |
|
Cc: |
538 |
|
x test: do "refresh newsgroups" at your favourite news-reader |
539 |
|
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> |
540 |
|
x HEADERS: |
541 |
|
x Message-ID: <b0shbj$l9s$1@quepasa.netfrag.org> |
542 |
|
x Subject: Re: Welcome to the sysadmin-newsgroup at netfrag.org! |
543 |
|
o newsgate |
544 |
|
o http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org |
545 |
|
o http://news.netfrag.org/nfo.tutos.sysadmin/subject/Re: Welcome to the sysadmin-newsgroup at netfrag.org! |
546 |
|
|
547 |
|
o Erkenntnis aus UML (Kernel 2.4): schwierig mit gleichzeitigem Zugriff |
548 |
|
|
549 |
|
o gave up trying to get Troll running |
550 |
|
|
551 |
|
x setup alternatives to Horde for public access |
552 |
|
o viewcvs |
553 |
|
x apt-get install libapache-mod-python |
554 |
|
|
555 |
|
o WebNewsViewer |
556 |
|
|
557 |
|
o release the user from having to send email-messages to actually post urls with content (e.g. "FirstPage") |
558 |
|
|
559 |
|
o parse .url-files! |
560 |
|
|
561 |
|
o have newsgroup-structure backed in ldap-container (ou) somehow (Data::Map!) |
562 |
|
|
563 |
|
x new email-addresses@netfrag.org: |
564 |
|
x sysadmin@netfrag.org |
565 |
|
x faq@netfrag.org |
566 |
|
|
567 |
|
x setup newsportal (by Florian Amrhein) |
568 |
|
x url: http://florian-amrhein.de/newsportal/ |
569 |
|
x cd /home/service/download |
570 |
|
x mkdir newsportal |
571 |
|
x cd newsportal |
572 |
|
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
573 |
|
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
574 |
|
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/sites/news/apps/newsportal/ |
575 |
|
|
576 |
|
o rework apache-layout - check into repository as something root is responsible for! |
577 |
|
|
578 |
|
o NfoWeb |
579 |
|
o add WikiPages: |
580 |
|
o Overview |
581 |
|
o Projects |
582 |
|
o MiniHowTo |
583 |
|
(o Search) |
584 |
|
o modify HomePage |
585 |
|
o change Projects to Overview |
586 |
|
|
587 |
|
o yakka & pod |
588 |
|
o convert pod to tavi |
589 |
|
o perl first (pod2tavi) |
590 |
|
o php afterwards (pod2tavi-php) |
591 |
|
o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?) |
592 |
|
o address "files" outside the normal/configured default YakkaRepository |
593 |
|
o introduce: "ExplicitAddressingOfArbitraryTargets" |
594 |
|
o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField) |
595 |
|
o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository" |
596 |
|
|
597 |
|
o viewcvs & yakka |
598 |
|
o a filesystem-adapter for yakka's storage-handler-system |
599 |
|
o show "view in yakka" if document-type eq 'tavi|tavi,v|pod' |
600 |
|
|
601 |
|
o IconForNetfrag.Org? |
602 |
|
o fav.ico? |
603 |
|
|
604 |
|
x install viewcvs |
605 |
|
x apt-get install viewcvs |
606 |
|
x configured: |
607 |
|
x /var/lib/cvs |
608 |
|
x email-address (new): cvs-admin@netfrag.org -> dev@netfrag.org |
609 |
|
x no forbidden modules (do this via unix permissions!) |
610 |
|
x allow tarball generation? yes! |
611 |
|
x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons |
612 |
|
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
613 |
|
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
614 |
|
|
615 |
|
o rendering proposals for TaviWorkflow |
616 |
|
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
617 |
|
o Coloring |
618 |
|
o [o=red, x=green, R=red, r=green] |
619 |
|
|
620 |
|
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
621 |
|
|
622 |
|
x web-based newsreader? twig! |
623 |
|
x apt-get install twig |
624 |
|
|
625 |
|
o shutdown horde (for now: "pause") |
626 |
|
|
627 |
|
o viewcvs & apache-mod-python? |
628 |
|
|
629 |
|
o home2web, .home2webrc |
630 |
|
--before: buildhtml --source=pod|tavi |
631 |
|
--after: say "ready" |
632 |
|
|
633 |
|
x added root of quepasa to cvs |
634 |
|
x su root |
635 |
|
x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org |
636 |
|
x mkdir root |
637 |
|
x chown -R .rootsrc root/ |
638 |
|
x chmod -R g+w root/ |
639 |
|
x cd /tmp |
640 |
|
x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root |
641 |
|
x start with /etc |
642 |
|
x cd /etc |
643 |
|
x cvs add etc |
644 |
|
x cvs add viewcvs |
645 |
|
x cd viewcvs |
646 |
|
x cvs add .... |
647 |
|
x cvs commit -m "+ initial commit" |
648 |
|
|
649 |
|
x How to get a single file from cvs for download: (e.g.) |
650 |
|
wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2 |
651 |
|
|
652 |
|
x cvsgraph still missing: apt-get install cvsgraph |
653 |
|
|
654 |
|
x chora -> viewcvs |
655 |
|
o change logo at /usr/share/viewcvs/images |
656 |
|
x removed from template |
657 |
|
x cvsview-query.cgi didn't work yet! |
658 |
|
x error was: |
659 |
|
x tail -f /data/www/virtual/netfrag/log/error_log |
660 |
|
Traceback (most recent call last): |
661 |
|
File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ? |
662 |
|
import query |
663 |
|
File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ? |
664 |
|
import cvsdb |
665 |
|
File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ? |
666 |
|
import dbi |
667 |
|
File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ? |
668 |
|
import MySQLdb |
669 |
|
ImportError: No module named MySQLdb |
670 |
|
[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 |
671 |
|
x solution is: |
672 |
|
x apt-get install python-mysqldb |
673 |
|
x use mysql; |
674 |
|
x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
675 |
|
x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
676 |
|
x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs')); |
677 |
|
x flush privileges; |
678 |
|
x cd /usr/lib/viewcvs |
679 |
|
x ./make-database |
680 |
|
x |
681 |
|
o mail to author of viewcvs |
682 |
|
|
683 |
|
|
684 |
|
o docu about uml and filesystem-layer running on gharb for MiniHowTo? |
685 |
|
|
686 |
|
o search.php?wiki=1&cvs=1&index=1 |
687 |
|
|
688 |
|
o get mnoGoSearch running |
689 |
|
e apt-get install mnoGoSearch |
690 |
|
|
691 |
|
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
692 |
|
|
693 |
|
o ScanToWeb |
694 |
|
|
695 |
|
o look at Mailman: http://www.list.org/features.html |
696 |
|
|
697 |
|
o use cvsup!? |
698 |
|
|
699 |
|
o alien.netfrag.org - (package-conversion) --> alien.packages.netfrag.org |
700 |
|
|
701 |
|
o chora2viewcvs - How to migrate from Horde/Chora to viewcvs. |
702 |
|
|
703 |
|
o LinuxInCvs (linux2cvs) |
704 |
|
|
705 |
|
o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course! |
706 |
|
|
707 |
|
o through "viewcvs" we loose the ability to "publish" documents via former chora: |
708 |
|
viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain |
709 |
|
|
710 |
|
o re-integrate .cvslink/JumpToCvs with dispatchurl |
711 |
|
|
712 |
|
o WikiWords in CvsCommitMessages? (via yakka?) |
713 |
|
|
714 |
|
x http://cvs.netfrag.org/bareface/yakka/?tarball=1 |
715 |
|
|
716 |
|
o [source:/link/to/source-code] (most times a '.cvslink' - hmmm?) |
717 |
|
[source:<projectname>] |
718 |
|
|
719 |
|
o HelpMe |
720 |
|
|
721 |
|
o [snapshot:/link/to/snapshot] |
722 |
|
[snapshot:<projectname>] |
723 |
|
|
724 |
|
o dispatchrequest - a multipurpose request dispatcher |
725 |
|
o integrate: |
726 |
|
x redirector at cvs.netfrag.org ... |
727 |
|
o ... and news.netfrag.org |
728 |
|
o JumpToCvs (.cvslink-mechanism) |
729 |
|
o how was it done? |
730 |
|
x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch |
731 |
|
x ln -s /data/www/global/apps/dispatchrequest . |
732 |
|
|
733 |
|
|
734 |
|
o buildhtml -> docmaker |
735 |
|
|
736 |
|
o TWIG & yakka? |
737 |
|
|
738 |
|
o rename: dispatchmail -> dispatchmessage |
739 |
|
|
740 |
|
c rename: dispatchrequest -> forwardrequest? |
741 |
|
|
742 |
|
o readrc of bashrc|perlrc|xmlrc |
743 |
|
|
744 |
|
x setup TWIG |
745 |
|
x cd /usr/share/doc/twig |
746 |
|
x cd /data/www/virtual/netfrag/conf/ |
747 |
|
x nano applications.conf |
748 |
|
x add line: Alias /twig/ /usr/share/twig/ |
749 |
|
x had to modify /etc/apache/conf/httpd.conf: |
750 |
|
x added: 'index.php3' |
751 |
|
<IfModule mod_dir.c> |
752 |
|
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 |
753 |
|
</IfModule> |
754 |
|
x added: '.php3' |
755 |
|
AddType application/x-httpd-php .php .php3 |
756 |
|
x /etc/init.d/apache reload |
757 |
|
x cd /etc/twig |
758 |
|
x modify config.inc.php3 |
759 |
|
x cd /usr/share/twig/setup |
760 |
|
x mysql |
761 |
|
x use mysql |
762 |
|
x insert into user (host, user, password) values ('localhost', 'www-data', password('')); |
763 |
|
x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
764 |
|
x create database twig; |
765 |
|
x flush privileges; |
766 |
|
x database-schema |
767 |
|
x gunzip twig.table.mysql.gz |
768 |
|
x mysql twig < twig.table.mysql |
769 |
|
|
770 |
|
x setup arbitrary packet and bind to csm-system (Collaborative Software Management) |
771 |
|
x pinstall twig |
772 |
|
x apt-get install twig |
773 |
|
x cd /etc |
774 |
|
x cvs add twig |
775 |
|
x cd twig |
776 |
|
x cvs add * |
777 |
|
x cvs add .htaccess |
778 |
|
x cvs commit -m "+ initial commit" |
779 |
|
|
780 |
|
|
781 |
|
o remove html from phpWiki: ('http://'!!!) (->https!!!) |
782 |
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
783 |
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
784 |
|
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" /> |
785 |
|
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" /> |
786 |
|
|
787 |
|
o force https for: (authentication purposes - anonymous is http!) |
788 |
|
o horde |
789 |
|
o tutos |
790 |
|
|
791 |
|
x dpkg -x twig_2.7.5-4_all.deb tmp/ |
792 |
|
|
793 |
|
o TWIG & OpenLDAP!? |
794 |
|
|
795 |
|
x quepasa.netfrag.org: |
796 |
|
x removed /data/www/doc to /data/www/global/apps |
797 |
|
x test: |
798 |
|
x cd /data/www/virtual |
799 |
|
x grep -ri "/data/www/doc" * |
800 |
|
x cd /data/www/global |
801 |
|
x grep -ri "/data/www/doc" * |
802 |
|
x apps/twiki/ |
803 |
|
x lib/TWiki.cfg |
804 |
|
x bin/.htaccess |
805 |
|
x conf/twiki-httpd |
806 |
|
---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes ;-) |
807 |
|
---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!! |
808 |
|
x conf/virtualdomains-httpd/ |
809 |
|
x doc/twiki/ |
810 |
|
x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public |
811 |
|
x cd virtual/netfrag/conf |
812 |
|
x grep -ri "/pub" * |
813 |
|
x modify httpd.conf and applications.conf |
814 |
|
x apachectl configtest |
815 |
|
Syntax error on line 345 of /etc/apache/httpd.conf: |
816 |
|
DocumentRoot must be a directory |
817 |
|
x disabled there completely |
818 |
|
x now in /data/www/global/conf/httpd.conf |
819 |
|
DocumentRoot /data/www/virtual/netfrag/sites/public |
820 |
|
x apachectl configtest |
821 |
|
fopen: No such file or directory |
822 |
|
apache: could not open document config file /data/www/conf/twiki-httpd.conf |
823 |
|
x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/ |
824 |
|
x nano /data/www/virtual/netfrag/conf/applications.conf to match new path |
825 |
|
x apachectl configtest |
826 |
|
fopen: No such file or directory |
827 |
|
apache: could not open document config file /data/www/conf/tutos-httpd.conf |
828 |
|
x cd virtual/netfrag |
829 |
|
x grep -rin "www/conf" * |
830 |
|
x edit applications.conf:21 |
831 |
|
x was: Include /data/www/conf/tutos-httpd.conf |
832 |
|
x is: Include /data/www/global/conf/tutos-httpd.conf |
833 |
|
x apachectl configtest |
834 |
|
Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist |
835 |
|
fopen: No such file or directory |
836 |
|
apache: could not open document config file /data/www/conf/dynamic.conf |
837 |
|
x grep -rin webnews * |
838 |
|
x edit applications.conf:30 |
839 |
|
x was: Alias /webnews/ /data/www/global/apps/newsportal/ |
840 |
|
x is: Alias /webnews/ /data/www/global/apps/newsportal/ |
841 |
|
x edit httpd.conf:74 |
842 |
|
x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews |
843 |
|
x is: DocumentRoot /data/www/virtual/netfrag/sites/news |
844 |
|
x cd global/conf |
845 |
|
x grep -rin www/conf * |
846 |
|
x STDOUT-PARSE: |
847 |
|
httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf |
848 |
|
httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf |
849 |
|
httpd.conf:29:Include /data/www/conf/dynamic.conf |
850 |
|
->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf |
851 |
|
x apachectl configtest |
852 |
|
root@quepasa:/data/www/global/conf# apachectl configtest |
853 |
|
configuring dynamic domain "golf5.de" |
854 |
|
configuring dynamic domain "smartmen.de" |
855 |
|
configuring dynamic domain "ballonflug.de" |
856 |
|
Syntax OK |
857 |
|
o register: |
858 |
|
public.netfrag.org -> http://netfrag.org |
859 |
|
secure.netfrag.org -> https://netfrag.org |
860 |
|
|
861 |
|
o netfrag.org: dispatchrequest for http://netfrag.org/nfoweb/! |
862 |
|
o netfrag.org: dispatchrequest for http://netfrag.org/rrr/! |
863 |
|
|
864 |
|
o merge at http://netfrag.org/doc/ |
865 |
|
o MiniHowto |
866 |
|
o faqs (e.g. from news://news.netfrag.org/nfo.faq.users |
867 |
|
|
868 |
|
o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or |
869 |
|
o an AUTOCOMMIT on that very event (maybe integrated with a counter) |
870 |
|
|
871 |
|
|
872 |
|
|
873 |
</pre> |
</pre> |
874 |
|
|
875 |
|
<hr/> |
876 |
|
$Id$ |
877 |
|
|
878 |
</body> |
</body> |
879 |
</html> |
</html> |