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> |
434 |
x /etc/init.d/apache reload |
x /etc/init.d/apache reload |
435 |
x test: http://news.netfrag.org/ |
x test: http://news.netfrag.org/ |
436 |
|
|
|
|
|
|
|
|
437 |
o new module for cvs-repository? |
o new module for cvs-repository? |
438 |
o nfo/layouts/fs/skel/data2 |
o nfo/layouts/fs/skel/data2 |
439 |
o checkout to /data on quepasa.netfrag.org |
o checkout to /data on quepasa.netfrag.org |
566 |
x sysadmin@netfrag.org |
x sysadmin@netfrag.org |
567 |
x faq@netfrag.org |
x faq@netfrag.org |
568 |
|
|
569 |
x setup newsportal (by Florian Amrhein) |
x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for! |
570 |
|
|
571 |
|
x --setup|*setting up*-- newsportal (by Florian Amrhein) |
572 |
x url: http://florian-amrhein.de/newsportal/ |
x url: http://florian-amrhein.de/newsportal/ |
573 |
x cd /home/service/download |
x cd /home/service/download |
574 |
x mkdir newsportal |
x mkdir newsportal |
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 |
o rework apache-layout - check into repository as something root is responsible for! |
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 |
|
x setup dispatchrequest for http://news.netfrag.org |
624 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
625 |
|
x create symlink |
626 |
|
x ./.symlinkrc |
627 |
|
x copy over from webcvs |
628 |
|
x cp ../webcvs/index.php . |
629 |
|
x mkdir .dispatch |
630 |
|
x cd .dispatch |
631 |
|
x cp ../webcvs/.dispatch/config.php . |
632 |
|
x cp ../webcvs/.dispatch/index.php . |
633 |
|
x cvs add ... |
634 |
|
x cvs commit ... |
635 |
|
x added|*adding* dispatcher at http://news.netfrag.org |
636 |
|
x used and mungled DispatchRequest(->cvs, ->doc, ->search) for this purpose |
637 |
|
o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor |
638 |
|
x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a> |
639 |
|
x tested http://cvs.netfrag.org/ - still working... |
640 |
|
o AddedFeatures to DispatchRequest: |
641 |
|
x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/ |
642 |
|
e.g. ->http://netfrag.org/webnews/thread.php?group=nfo.links.computing |
643 |
|
o JumpToThread: NotYetImplemented! DoWeReallyNeedThis? |
644 |
|
o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org |
645 |
|
x JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/44 |
646 |
|
e.g. ->http://netfrag.org/webnews/article.php?id=44&group=nfo.links.computing |
647 |
|
|
648 |
|
|
649 |
o NfoWeb |
o NfoWeb |
650 |
o add WikiPages: |
o add WikiPages: |
672 |
o IconForNetfrag.Org? |
o IconForNetfrag.Org? |
673 |
o fav.ico? |
o fav.ico? |
674 |
|
|
675 |
x install viewcvs |
x --*installed*|install-- viewcvs |
676 |
x apt-get install viewcvs |
x apt-get install viewcvs |
677 |
x configured: |
x configured: |
678 |
x /var/lib/cvs |
x /var/lib/cvs |
683 |
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 |
684 |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
685 |
|
|
686 |
o rendering proposals for TaviWorkflow |
o rendering *proposals* for TaviWorkflow |
687 |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
688 |
o Coloring |
o Coloring |
689 |
o [o=red, x=green, R=red, r=green] |
o [o=red, x=green, R=red, r=green] |
690 |
|
|
691 |
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
692 |
|
|
693 |
x web-based newsreader? twig! |
x web-based newsreader? twig! |
694 |
x apt-get install twig |
x apt-get install twig |
802 |
x ln -s /data/www/global/apps/dispatchrequest . |
x ln -s /data/www/global/apps/dispatchrequest . |
803 |
|
|
804 |
|
|
805 |
o buildhtml -> docmaker |
o buildhtml -> makedoc |
806 |
|
|
807 |
o TWIG & yakka? |
o TWIG & yakka? |
808 |
|
|
863 |
|
|
864 |
o TWIG & OpenLDAP!? |
o TWIG & OpenLDAP!? |
865 |
|
|
866 |
x quepasa.netfrag.org: |
x ApacheMasterLayoutRefactoring: quepasa.netfrag.org: |
867 |
x removed /data/www/doc to /data/www/global/apps |
x removed /data/www/doc to /data/www/global/apps |
868 |
x test: |
x test: |
869 |
x cd /data/www/virtual |
x cd /data/www/virtual |
925 |
configuring dynamic domain "smartmen.de" |
configuring dynamic domain "smartmen.de" |
926 |
configuring dynamic domain "ballonflug.de" |
configuring dynamic domain "ballonflug.de" |
927 |
Syntax OK |
Syntax OK |
928 |
|
x /etc/init.d/apache restart |
929 |
|
x testing "http://netfrag.org/" fails |
930 |
|
x testing "http://netfrag.org/index.php" |
931 |
|
x makes redirect to "http://netfrag.org/nfoweb/" but fails there |
932 |
|
x tail -f tail -f /data/www/virtual/netfrag/log/error_log |
933 |
|
[Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
934 |
|
[Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
935 |
|
[Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
936 |
|
[Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
937 |
|
[Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
938 |
|
|
939 |
|
|
940 |
o register: |
o register: |
941 |
public.netfrag.org -> http://netfrag.org |
public.netfrag.org -> http://netfrag.org |
942 |
secure.netfrag.org -> https://netfrag.org |
secure.netfrag.org -> https://netfrag.org |
943 |
|
|
944 |
o netfrag.org: dispatchrequest for http://netfrag.org/nfoweb/! |
o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/! |
945 |
o netfrag.org: dispatchrequest for http://netfrag.org/rrr/! |
o netfrag.org: DispatchRequest for http://netfrag.org/rrr/! |
946 |
|
|
947 |
o merge at http://netfrag.org/doc/ |
o IntroduceMergePoint at http://netfrag.org/doc/ |
948 |
o MiniHowto |
o MiniHowto |
949 |
o faqs (e.g. from news://news.netfrag.org/nfo.faq.users |
o faqs (e.g. from news://news.netfrag.org/nfo.faq.users |
950 |
|
|
951 |
o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or |
o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or |
952 |
o an AUTOCOMMIT on that very event (maybe integrated with a counter) |
o an AUTOCOMMIT on that very event (maybe integrated with a counter) |
953 |
|
|
954 |
|
o write scripts to iterate recursively through directories under specified path ... |
955 |
|
o ... and do some actions on each directory, e.g. |
956 |
|
o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc) |
957 |
|
|
958 |
|
x CVSSpam in action: |
959 |
|
10146 ? S 0:00 /usr/sbin/sshd |
960 |
|
10148 ? S 0:00 /usr/sbin/sshd |
961 |
|
10149 ? S 0:00 cvs server |
962 |
|
10150 ? S 0:00 cvs server |
963 |
|
10151 ? S 0:00 /bin/login |
964 |
|
10155 ? S 0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag |
965 |
|
10158 ? S 0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10 |
966 |
|
|
967 |
|
x as Chora'sStylesheet has come active (by accident) when viewing this file view web |
968 |
|
we should include this as a fixed default making horde our default stylesheet delivery engine (for now) |
969 |
|
|
970 |
|
o link-checker for netfrag.org |
971 |
|
|
972 |
|
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
973 |
|
o styleme.php |
974 |
|
o brandme.php |
975 |
|
|
976 |
|
|
977 |
|
|
978 |
|
o mini-howto: "HttpRedirect" |
979 |
|
|
980 |
|
o how to refactor the MiniHowtos? |
981 |
|
o into a wiki? wikis seem to miss offline/distributed capabilities! (for now) |
982 |
|
x into pod |
983 |
|
x build offline |
984 |
|
o build online |
985 |
|
o into DocBook? |
986 |
|
o into tavi? (or "TaviWorkflow"?) |
987 |
|
o but: LinkWithWikiAutomagically to get everything together |
988 |
|
o look at the InterwikiMechanism |
989 |
|
o look at the various WikiPluginArchitectures |
990 |
|
o look at YakkaDev! |
991 |
|
|
992 |
|
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
993 |
|
|
994 |
|
o proposal for hierarchical structure (and HomePage) of netfrag.org |
995 |
|
~overview -> SomeWiki -> Overview |
996 |
|
~projects (include some common text here) |
997 |
|
~users (include some common text here) |
998 |
|
- Page: UserArea |
999 |
|
- Page: ~users |
1000 |
|
~projects -> SomeWiki-> Projects |
1001 |
|
~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?)) |
1002 |
|
~rabit (raBit's router - psl.no-ip.com) |
1003 |
|
~natraj (sam's place - optix) |
1004 |
|
~joko (joko's) |
1005 |
|
~bareface (->yakka) |
1006 |
|
|
1007 |
|
o MasterWorkflow: |
1008 |
|
-> TheThreeGoodThings |
1009 |
|
-> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences |
1010 |
|
-> RefactorIdeas -> Categorize -> AddNotes -> AddTasks |
1011 |
|
-> DoThings -> ReadTasks -> DoTasks |
1012 |
|
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
1013 |
|
|
1014 |
|
o what do we need / what do we do? |
1015 |
|
--- researcher |
1016 |
|
o OnlineReading |
1017 |
|
(o SelectItemsForDownload) <- want-to-have |
1018 |
|
(o DownloadItems) <- want-to-have |
1019 |
|
--- researcher |
1020 |
|
o OfflineReading |
1021 |
|
x ClumsyOfflineReading <- status-quo |
1022 |
|
(o NiceOfflineReading) <- want-to-have |
1023 |
|
(o OfflineArchiving) <- want-to-have |
1024 |
|
o OfflineEditing (text, html, pod, tavi) |
1025 |
|
o OnlinePublishing (<all - everything what has been rendered or archived offline>) |
1026 |
|
--- engine |
1027 |
|
o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz) |
1028 |
|
o OfflineRendering (html, text, pdf, chm) |
1029 |
|
--- reader |
1030 |
|
o OnlineReading (<everything that has been published>) |
1031 |
|
(o SelectItemsForDownload) <- want-to-have |
1032 |
|
(o DownloadItems) <- want-to-have |
1033 |
|
o OfflineReading (pdf, chm) |
1034 |
|
|
1035 |
|
o link to http://teamsonar.no-ip.com |
1036 |
|
|
1037 |
|
o mail announces to announce@netfrag.org |
1038 |
|
|
1039 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
1040 |
|
|
1041 |
|
o MiniHowto: NfoLinkageSystem |
1042 |
|
|
1043 |
|
o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords |
1044 |
|
according to specification in there |
1045 |
|
|
1046 |
|
|
1047 |
|
|
1048 |
</pre> |
</pre> |