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 |
|
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: |
745 |
x redirector at cvs.netfrag.org ... |
x redirector at cvs.netfrag.org ... |
746 |
o ... and news.netfrag.org |
o ... and news.netfrag.org |
747 |
o JumpToCvs (.cvslink-mechanism) |
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 |
o buildhtml -> docmaker |
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 |
|
|