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/virtual/netfrag/global/apps/newsportal/ |
579 |
|
|
580 |
|
|
581 |
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! |
582 |
|
|
583 |
o NfoWeb |
o NfoWeb |
584 |
o add WikiPages: |
o add WikiPages: |
718 |
|
|
719 |
x http://cvs.netfrag.org/bareface/yakka/?tarball=1 |
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 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> |