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