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

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.56

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