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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.55

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