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> |
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 |
|
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 |
|
|
624 |
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! |
625 |
|
|
626 |
o NfoWeb |
o NfoWeb |
627 |
o add WikiPages: |
o add WikiPages: |
779 |
x ln -s /data/www/global/apps/dispatchrequest . |
x ln -s /data/www/global/apps/dispatchrequest . |
780 |
|
|
781 |
|
|
782 |
o buildhtml -> docmaker |
o buildhtml -> makedoc |
783 |
|
|
784 |
o TWIG & yakka? |
o TWIG & yakka? |
785 |
|
|
840 |
|
|
841 |
o TWIG & OpenLDAP!? |
o TWIG & OpenLDAP!? |
842 |
|
|
843 |
x quepasa.netfrag.org: |
x ApacheMasterLayoutRefactoring: quepasa.netfrag.org: |
844 |
x removed /data/www/doc to /data/www/global/apps |
x removed /data/www/doc to /data/www/global/apps |
845 |
x test: |
x test: |
846 |
x cd /data/www/virtual |
x cd /data/www/virtual |
870 |
apache: could not open document config file /data/www/conf/twiki-httpd.conf |
apache: could not open document config file /data/www/conf/twiki-httpd.conf |
871 |
x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/ |
x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/ |
872 |
x nano /data/www/virtual/netfrag/conf/applications.conf to match new path |
x nano /data/www/virtual/netfrag/conf/applications.conf to match new path |
873 |
x |
x apachectl configtest |
874 |
fopen: No such file or directory |
fopen: No such file or directory |
875 |
apache: could not open document config file /data/www/conf/tutos-httpd.conf |
apache: could not open document config file /data/www/conf/tutos-httpd.conf |
876 |
|
x cd virtual/netfrag |
877 |
|
x grep -rin "www/conf" * |
878 |
|
x edit applications.conf:21 |
879 |
|
x was: Include /data/www/conf/tutos-httpd.conf |
880 |
|
x is: Include /data/www/global/conf/tutos-httpd.conf |
881 |
|
x apachectl configtest |
882 |
|
Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist |
883 |
|
fopen: No such file or directory |
884 |
|
apache: could not open document config file /data/www/conf/dynamic.conf |
885 |
|
x grep -rin webnews * |
886 |
|
x edit applications.conf:30 |
887 |
|
x was: Alias /webnews/ /data/www/global/apps/newsportal/ |
888 |
|
x is: Alias /webnews/ /data/www/global/apps/newsportal/ |
889 |
|
x edit httpd.conf:74 |
890 |
|
x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews |
891 |
|
x is: DocumentRoot /data/www/virtual/netfrag/sites/news |
892 |
|
x cd global/conf |
893 |
|
x grep -rin www/conf * |
894 |
|
x STDOUT-PARSE: |
895 |
|
httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf |
896 |
|
httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf |
897 |
|
httpd.conf:29:Include /data/www/conf/dynamic.conf |
898 |
|
->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf |
899 |
|
x apachectl configtest |
900 |
|
root@quepasa:/data/www/global/conf# apachectl configtest |
901 |
|
configuring dynamic domain "golf5.de" |
902 |
|
configuring dynamic domain "smartmen.de" |
903 |
|
configuring dynamic domain "ballonflug.de" |
904 |
|
Syntax OK |
905 |
|
x /etc/init.d/apache restart |
906 |
|
x testing "http://netfrag.org/" fails |
907 |
|
x testing "http://netfrag.org/index.php" |
908 |
|
x makes redirect to "http://netfrag.org/nfoweb/" but fails there |
909 |
|
x tail -f tail -f /data/www/virtual/netfrag/log/error_log |
910 |
|
[Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
911 |
|
[Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/ |
912 |
|
[Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
913 |
|
[Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
914 |
|
[Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/ |
915 |
|
|
916 |
|
|
917 |
o register: |
o register: |
918 |
public.netfrag.org -> http://netfrag.org |
public.netfrag.org -> http://netfrag.org |
919 |
secure.netfrag.org -> https://netfrag.org |
secure.netfrag.org -> https://netfrag.org |
920 |
|
|
921 |
o netfrag.org: dispatchrequest for http://netfrag.org/nfoweb/! |
o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/! |
922 |
o netfrag.org: dispatchrequest for http://netfrag.org/rrr/! |
o netfrag.org: DispatchRequest for http://netfrag.org/rrr/! |
923 |
|
|
924 |
o merge at http://netfrag.org/doc/ |
o IntroduceMergePoint at http://netfrag.org/doc/ |
925 |
o MiniHowto |
o MiniHowto |
926 |
o faqs (e.g. from news://news.netfrag.org/nfo.faq.users |
o faqs (e.g. from news://news.netfrag.org/nfo.faq.users |
927 |
|
|
928 |
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 |
929 |
o an AUTOCOMMIT on that very event (maybe integrated with a counter) |
o an AUTOCOMMIT on that very event (maybe integrated with a counter) |
930 |
|
|
931 |
|
o write scripts to iterate recursively through directories under specified path ... |
932 |
|
o ... and do some actions on each directory, e.g. |
933 |
|
o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc) |
934 |
|
|
935 |
|
x CVSSpam in action: |
936 |
|
10146 ? S 0:00 /usr/sbin/sshd |
937 |
|
10148 ? S 0:00 /usr/sbin/sshd |
938 |
|
10149 ? S 0:00 cvs server |
939 |
|
10150 ? S 0:00 cvs server |
940 |
|
10151 ? S 0:00 /bin/login |
941 |
|
10155 ? S 0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag |
942 |
|
10158 ? S 0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10 |
943 |
|
|
944 |
|
x as Chora'sStylesheet has come active (by accident) when viewing this file view web |
945 |
|
we should include this as a fixed default making horde our default stylesheet delivery engine (for now) |
946 |
|
|
947 |
|
o link-checker for netfrag.org |
948 |
|
|
949 |
|
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
950 |
|
o styleme.php |
951 |
|
o brandme.php |
952 |
|
|
953 |
|
|
954 |
|
|
955 |
|
o mini-howto: "HttpRedirect" |
956 |
|
|
957 |
|
o how to refactor the MiniHowtos? |
958 |
|
o into a wiki? wikis seem to miss offline/distributed capabilities! (for now) |
959 |
|
x into pod |
960 |
|
x build offline |
961 |
|
o build online |
962 |
|
o into DocBook? |
963 |
|
o into tavi? (or "TaviWorkflow"?) |
964 |
|
o but: LinkWithWikiAutomagically to get everything together |
965 |
|
o look at the InterwikiMechanism |
966 |
|
o look at the various WikiPluginArchitectures |
967 |
|
o look at YakkaDev! |
968 |
|
|
969 |
|
o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]! |
970 |
|
|
971 |
|
o proposal for hierarchical structure (and HomePage) of netfrag.org |
972 |
|
~overview -> SomeWiki -> Overview |
973 |
|
~projects (include some common text here) |
974 |
|
~users (include some common text here) |
975 |
|
- Page: UserArea |
976 |
|
- Page: ~users |
977 |
|
~projects -> SomeWiki-> Projects |
978 |
|
~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?)) |
979 |
|
~rabit (raBit's router - psl.no-ip.com) |
980 |
|
~natraj (sam's place - optix) |
981 |
|
~joko (joko's) |
982 |
|
~bareface (->yakka) |
983 |
|
|
984 |
|
o MasterWorkflow: |
985 |
|
-> TheThreeGoodThings |
986 |
|
-> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences |
987 |
|
-> RefactorIdeas -> Categorize -> AddNotes -> AddTasks |
988 |
|
-> DoThings -> ReadTasks -> DoTasks |
989 |
|
-> TheFourthBadThing: TimeTrackAllThis ;-) (it seems to be not so far away....) |
990 |
|
|
991 |
|
o what do we need / what do we do? |
992 |
|
--- researcher |
993 |
|
o OnlineReading |
994 |
|
(o SelectItemsForDownload) <- want-to-have |
995 |
|
(o DownloadItems) <- want-to-have |
996 |
|
--- researcher |
997 |
|
o OfflineReading |
998 |
|
x ClumsyOfflineReading <- status-quo |
999 |
|
(o NiceOfflineReading) <- want-to-have |
1000 |
|
(o OfflineArchiving) <- want-to-have |
1001 |
|
o OfflineEditing (text, html, pod, tavi) |
1002 |
|
o OnlinePublishing (<all - everything what has been rendered or archived offline>) |
1003 |
|
--- engine |
1004 |
|
o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz) |
1005 |
|
o OfflineRendering (html, text, pdf, chm) |
1006 |
|
--- reader |
1007 |
|
o OnlineReading (<everything that has been published>) |
1008 |
|
(o SelectItemsForDownload) <- want-to-have |
1009 |
|
(o DownloadItems) <- want-to-have |
1010 |
|
o OfflineReading (pdf, chm) |
1011 |
|
|
1012 |
|
o link to http://teamsonar.no-ip.com |
1013 |
|
|
1014 |
|
o mail announces to announce@netfrag.org |
1015 |
|
|
1016 |
|
|
1017 |
|
|
1018 |
|
|
1019 |
</pre> |
</pre> |