1 |
|
<html> |
2 |
|
<body> |
3 |
|
|
4 |
|
<pre> |
5 |
|
|
6 |
joko@netfrag.org - sample stack: |
joko@netfrag.org - sample stack: |
7 |
|
|
8 |
o [task by joko] introduced "dispatchmail" to add mail2news-functionality to "recieveMail" (collector@netfrag.org) |
o [task by joko] introduced "dispatchmail" to add mail2news-functionality to "recieveMail" (collector@netfrag.org) |
34 |
x seems to make an external web-based newsreader unneccessary!!! |
x seems to make an external web-based newsreader unneccessary!!! |
35 |
|
|
36 |
o tie together mail, news and html |
o tie together mail, news and html |
37 |
o write mini-howto |
c write mini-howto |
38 |
|
|
39 |
o link with erfrakon |
o link with erfrakon |
40 |
|
|
65 |
|
|
66 |
o check out from cvs-repository: |
o check out from cvs-repository: |
67 |
o joko/doc -> /home/joko/public_html/computing/overview/topics/ |
o joko/doc -> /home/joko/public_html/computing/overview/topics/ |
68 |
o leaded to (A): |
o leaded to (A, B and C): see <a href="../topics/home2web.html">home2web</a> |
|
o write mini-howto: "howto use, document and enhance the '.cvslink'-symlinking-mechanism" |
|
|
o introduce command to 'tiki-workflow|tiki-publish' |
|
|
x introduced '.cvs'-interface (directory-style) |
|
|
x now directly accessible (but hidden) via http://netfrag.org/~joko/computing/overview/topics/.cvs/ |
|
|
x here: made public by adding a "README.html" (or "HEADER.html") which either: |
|
|
x includes a html-link (a-tag) to './.cvs' |
|
|
o makes a redirect via meta-tags or javascript |
|
|
o leads to (B): |
|
|
o start 'home2web': |
|
|
x begin with having an overview of the recent topics stored in cvs |
|
|
x continue by expanding this topic-list through more details |
|
|
x use mechanisms delivered from Apache |
|
|
x HEADER.html, README.html |
|
|
x php: http-redirect |
|
|
o add more links! |
|
|
o fix proposals of how links should be expanded (maybe post RFC to news.netfrag.org first? -> create newsgroup 'nfo.rfc') |
|
|
x manually? no! (hmmm, grrrr......) |
|
|
o pod? for now! |
|
|
o DocBook? not yet! |
|
|
o some wiki? why not? |
|
|
o add links to internal tools (e.g. TUTOS, chora, etc.) |
|
|
o add external links |
|
|
o add co-worker topics |
|
|
o leads to (C): |
|
|
o write mini-howto: web publishing with cvs |
|
|
- write in pod |
|
|
- commit to cvs |
|
|
- checkout from cvs |
|
|
- build html from pod |
|
|
- publish html |
|
|
x do that regularly / in interval: use cron! |
|
|
su joko |
|
|
cd ~ |
|
|
nano .cronrc-hourly |
|
|
add line(s): [...] cvs update topics [...] |
|
|
crontab -e |
|
|
add line: * 1 * * * ~/.cronrc-hourly |
|
|
o post message "About" (this) to announce@news.netfrag.org |
|
|
|
|
|
|
|
|
adduser: collector/col§$ |
|
|
|
|
|
|
|
|
some sample items occoured 2003-01-17 until 2003-01-26. |
|
|
|
|
|
what to do with that? |
|
|
o have all items stored in other applications conveniently. |
|
|
o be able to have items or references to them *archived* centrally |
|
|
o be able to access informations via *one* interface. |
|
|
actually *multiple* interfaces should be possible |
|
|
- the aim here is to get everything together (INTEGRATE!) (mnoGoSearch first! Torus::Archive later?) |
|
|
|
|
|
sysadmin tasks: |
|
69 |
|
|
70 |
joko's tasks: |
o added user@netfrag.org: |
71 |
|
x adduser: collector/col§$ |
72 |
|
|
73 |
|
o about: some sample items occoured 2003-01-17 until 2003-01-26. |
74 |
|
what to do with that? |
75 |
|
o have all items stored in other applications conveniently. |
76 |
|
o be able to have items or references to them *archived* centrally |
77 |
|
o be able to access informations via *one* interface. |
78 |
|
actually *multiple* interfaces should be possible |
79 |
|
- the aim here is to get everything together (INTEGRATE!) (mnoGoSearch first! Torus::Archive later?) |
80 |
|
|
81 |
|
o refactor topics: |
82 |
|
o make global-accessible@netfrag.org |
83 |
|
o introduce subtopics |
84 |
|
o sysadmin tasks |
85 |
|
o janosch's, jonen's and joko's tasks |
86 |
|
|
87 |
o start project "admintools" @ nfo/perl/scripts - including |
o start project "admintools" @ nfo/perl/scripts - including |
88 |
o getip.pl |
o getip.pl |
124 |
|
|
125 |
o rename "thread" to "newsgroup" in all scripts! |
o rename "thread" to "newsgroup" in all scripts! |
126 |
|
|
127 |
|
o what about: |
128 |
|
Torus::Xyz - solution to reuse concepts of Apache 2 and Cyrus 2!!! (and OpenLDAP???) for building an open collaboration server? |
129 |
|
|
130 |
|
o word-search: "identify" and "search" for |
131 |
|
|
132 |
|
o establish global "logs/" - like at http://moose.qx.net/logs/ |
133 |
|
|
134 |
|
o add redirecting page when someone wants to access |
135 |
|
o http://netfrag.org/~joko/phpChoPro/ or |
136 |
|
o http://netfrag.org/~joko/w2hfax/ |
137 |
|
|
138 |
|
o update mail-dispatching-rules - aim: a more flat structure!!! |
139 |
|
o look at ilo.de/Inbox |
140 |
|
o marked message to Spam? Newsletters? |
141 |
|
x move: logs/cvs/quepasa.netfrag.org -> logs/netfrag.org |
142 |
|
x look at netfrag.org/Inbox |
143 |
|
x if subject matches "Cron <joko@quepasa>" set target "logs/netfrag.org/joko/cron" [push over cron] |
144 |
|
x mkdir Mail/SORTED/netfrag.org/joko |
145 |
|
x touch Mail/SORTED/netfrag.org/joko/cron |
146 |
|
x if subject matches "quepasa daily usenet report" at begin set target "logs/netfrag.org/system/applications" [push over inn] |
147 |
|
x if subject matches "[CVS" at begin set target "logs/netfrag.org/cvs" [push over CVSSpam] |
148 |
|
x if mail is from myself set target "me2myself" |
149 |
|
x moved some folders |
150 |
|
x move already existing file to folder |
151 |
|
x mv logs/netfrag.org/system logs/netfrag.org/system.tmp |
152 |
|
x mkdir logs/netfrag.org/system |
153 |
|
x mv logs/netfrag.org/system.tmp logs/netfrag.org/system/applications |
154 |
|
x mv netfrag.org/Status/h1.service.netfrag.org logs/netfrag.org/system/ |
155 |
|
x mv netfrag.org/Status/TWikiChanges logs/twiki.org/ChangeLog |
156 |
|
x mkdir logs/twiki.org |
157 |
|
x do changes in .dispatchmailrc - always - ;-) |
158 |
|
x mv netfrag.org/Status/quepasa.netfrag.org logs/netfrag.org/system/ |
159 |
|
x blocked email-partition *partition*! - email-partition(!) -> WordFinder |
160 |
|
x mkdir ../FILTERED |
161 |
|
x mv netfrag.org/Status/Spam ../FILTERED |
162 |
|
x mv netfrag.org/Status/Test misc/ |
163 |
|
x mv netfrag.org/Status/Postmaster\ Routing misc/Postmaster |
164 |
|
x rmdir netfrag.org/Status/ |
165 |
|
x look at netfrag.org/Inbox - again |
166 |
|
|
167 |
|
|
168 |
|
o look at quepasa.netfrag.org/Inbox |
169 |
|
o [Multisync-users] |
170 |
|
o [Kroupware] |
171 |
|
x tested the rules from above |
172 |
|
x echo This is a testmail. Please ignore it. | mail -s "[CVS hello]" joko |
173 |
|
o move old mails to MailHistory |
174 |
|
|
175 |
|
o write parser and engine to handle above declaration: Mail::Audit::Dispatch::Interface::Script |
176 |
|
o add "X-"-field (X-Dispatched-By: dispatchmail-0.06 - http://netfrag.org/~joko/computing/dispatchmail/) |
177 |
|
|
178 |
|
o release mail from above from joko - introduce another email-address |
179 |
|
- e.g. work@netfrag.org, event@netfrag.org or tracker@netfrag.org (like collector@netfrag.org) |
180 |
|
|
181 |
|
o Multisync & SyncML |
182 |
|
o post something to mailing-list...!? |
183 |
|
|
184 |
|
o the '.cvslink'-mechanism: |
185 |
|
o type: ln -s /home/joko/public_html/_web/_cvs.php . |
186 |
|
|
187 |
|
o LinkContainer |
188 |
|
- insert via drag & drop |
189 |
|
- shows links hierarchically |
190 |
|
|
191 |
|
o (Self)Info - mails to yourself |
192 |
|
o convert all "(Self)Info" mails to |
193 |
|
news-messages - use "formail" and ...? |
194 |
|
|
195 |
|
o h1.service.netfrag.org |
196 |
|
o base os-upgrade: suse X -> debian 3.0 |
197 |
|
|
198 |
|
o dispatchmail |
199 |
|
o are Mail-Headers already added? |
200 |
|
|
201 |
|
o workflow (PostThisLink) |
202 |
|
o drag link from done google-search ... |
203 |
|
o ... to container (at the current Task) |
204 |
|
o a news-post is created automagically |
205 |
|
o use this: |
206 |
|
[smtp-header-fields] |
207 |
|
From: expanded email-address resolved from Name|Nickname in Addressbook (via LDAP!) |
208 |
|
Subject: googled for "<search-request>" |
209 |
|
[body] |
210 |
|
o include into mime-part if not already included |
211 |
|
o fetch from web on demand |
212 |
|
|
213 |
|
o ssl/tls for inn? |
214 |
|
|
215 |
|
o dispatchmail |
216 |
|
o re-link as sub-/module-project under Torus::Content::Gateway (mail2news, mail2fax) |
217 |
|
o -> Torus::Content - a content delivery engine |
218 |
|
o -> additional idea: Torus::Content::Gateway is "just" the API to "Torus::Item::Router" in this case |
219 |
|
o 'Torus::Content::Gateway' would then route 'Torus::Item::RFC822'-objects using 'Torus::Item::Router' |
220 |
|
o look at sieve - jonen posted to nfo.links.computing: [r:Message-ID: <b0ppj7$7gv$1@quepasa.netfrag.org>] |
221 |
|
o re-link as sub-/module-project under Torus::Virtual (mail2folder, mail2mail) |
222 |
|
o here it acts as a dispatcher from incoming mails - TARGET gets resolved via ldap-resolvement |
223 |
|
o make possible: MAIL-IN -> mail2mail (via ldap-query) -> mail2fax|mail2news |
224 |
|
o mail2news |
225 |
|
x the "via-fetchmail"-solution |
226 |
|
x su collector |
227 |
|
x cd ~ |
228 |
|
x chmod og-rwx .fetchmailrc |
229 |
|
|
230 |
|
o finally: do actually establish 'Torus' at 'nfo/perl/libs' |
231 |
|
|
232 |
|
o pod: checkout how to make references which expand to html-urls |
233 |
|
o does pod handle this or do we need external link-expansion for this task? |
234 |
|
o how to make references to news-messages? |
235 |
|
e.g.: |
236 |
|
o Message-ID: <b0ppj7$7gv$1@quepasa.netfrag.org> |
237 |
|
o news://news.netfrag.org/nfo.links.computing |
238 |
|
o proposal(s) for "news2http" (Torus::Content::Gateway/Torus::Item::???): |
239 |
|
o http://news.netfrag.org/id=b0ppj7$7gv$1@quepasa.netfrag.org |
240 |
|
o http://news.netfrag.org/nfo.links.computing/subject=FilteringMailWithSieve of wiki |
241 |
|
o http://news.netfrag.org/nfo.links.computing/id=b0ppj7$7gv$1@quepasa.netfrag.org |
242 |
|
|
243 |
|
o what about the '.nws'-files on ms? (for news-messages) |
244 |
|
|
245 |
|
o display-mode: everything strictly hierarchical to get maximum overview!!! |
246 |
|
|
247 |
|
x Inventory: cleaned up local and master code repositories |
248 |
|
|
249 |
|
o add "last-updated" to "README.html" |
250 |
|
|
251 |
|
o search.netfrag.org |
252 |
|
|
253 |
|
o tool for the "DoThis", "DoHere", "DoAll" - series |
254 |
|
o FaxThis (joko/ToolBox/Windows/FaxThis) |
255 |
|
o tool "WinSync": (WinSync All) |
256 |
|
x RsyncHere |
257 |
|
o Contacts2Ldap |
258 |
|
|
259 |
|
o statistics-page: |
260 |
|
o for cvs.netfrag.org: cvs-statistics (activeness, ...), sloccount |
261 |
|
|
262 |
|
x home2web |
263 |
|
x finally - added complete /home/joko/ to cvs-repository in order to get a revisioned ".dispatchmailrc" |
264 |
|
x ~/.bashrc - added line: export CVSROOT=/var/lib/cvs |
265 |
|
x relogin: logout/login |
266 |
|
x cd ~ |
267 |
|
x joko@quepasa:~$ cvs checkout -d . joko (Fri Jan 24 00:43:18 CET 2003) |
268 |
|
x cvs add TODO |
269 |
|
x cvs add .bashrc .cronrc-hourly .forward |
270 |
|
x added /home/joko/virtual/joko_mail |
271 |
|
[as joko] |
272 |
|
x cvs add virtual |
273 |
|
x chmod g+w virtual/CVS/* |
274 |
|
[as joko_mail |
275 |
|
o shortcut for (e.g.): cvs commit -m "initial check-in" .bashrc .cronrc-hourly .forward |
276 |
|
o cvsadd <abc> <def> |
277 |
|
o add /home/root (and maybe include there some other things "lying around") |
278 |
|
|
279 |
|
o alternative to all that Cyrus-stuff: just use the very "normal" imapd together with kerberos |
280 |
|
|
281 |
|
o make screenshots of log-output of dispatchmail when it's ready |
282 |
|
|
283 |
|
o base logging of 'dispatchmail' on DesignPattern::Object::Logger |
284 |
|
|
285 |
|
o dispatchmail-mail2folder: add feature to create folders recursively |
286 |
|
|
287 |
|
x archive mails |
288 |
|
x su joko_mail |
289 |
|
x cd ~ |
290 |
|
x mv ilo.de/Inbox ~/MailHistory/ARCHIVED/ilo.de/2002-05-30\ -\ 2003-01-24 |
291 |
|
x mkdir ~/MailHistory/ARCHIVED/netfrag.org/2003-01 |
292 |
|
x mv netfrag.org/Info ~/MailHistory/ARCHIVED/netfrag.org/2003-01/ |
293 |
|
x changed rule which formerly targeted to 'netfrag.org/Info' into 'me2myself' |
294 |
|
x mv netfrag.org/Inbox ~/MailHistory/ARCHIVED/netfrag.org/2003-01/ |
295 |
|
x mkdir ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status |
296 |
|
x mv netfrag.org/Status/cashew.netfrag.org ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status/ |
297 |
|
x mv netfrag.org/Status/h1.service.netfrag.org ~/MailHistory/ARCHIVED/netfrag.org/2003-01/Status/ |
298 |
|
x mv Sent ~/MailHistory/ARCHIVED/Sent/Sent_2002-11-13_-_2003-01-24 |
299 |
|
|
300 |
|
|
301 |
|
o investigate LDAP-entry "mailForwardingAddress" |
302 |
|
|
303 |
|
o establish "Mini-HowTo" |
304 |
|
|
305 |
|
o search (allover): /^.*\.netfrag\.org/ => find all hostnames to register |
306 |
|
(they are scattered around in to-be-installed (web-)applications) |
307 |
|
|
308 |
|
o Mail::Audit::Dispatch::Lookup (csv-file, ::NetLDAP, => Data::Storage::Handler::Xyz => Data::Map) |
309 |
|
|
310 |
|
x switched mailing completely in outlook |
311 |
|
o Evolution! |
312 |
|
x now talking to 'wu-imapd' via ssl, too! - thanks to jonen! |
313 |
|
Jan 24 04:55:17 quepasa imapd[11508]: connect from 217.231.123.57 |
314 |
|
Jan 24 04:55:17 quepasa imapd[11508]: imaps SSL service init from 217.231.123.57 |
315 |
|
Jan 24 04:55:18 quepasa imapd[11508]: Login user=joko_mail host=pD9E77B39.dip.t-dialin.net [217.231.123.57] |
316 |
|
x now my outlook sends via 'mail.netfrag.org' using 'TLS' - thanks to jonen! |
317 |
|
Jan 24 04:53:09 quepasa sm-mta[11499]: STARTTLS=server, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], version=TLSv1/SSLv3, verify=NO, cipher=RC4-MD5, bits=128/128 |
318 |
|
Jan 24 04:53:10 quepasa sm-mta[11499]: h0O3r91D011499: from=<andreas.motl@ilo.de>, size=435, class=0, nrcpts=1, msgid=<008c01c2c35c$5701d2a0$240aa8c0@grasshopper>, proto=ESMTP, daemon=MTA, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57] |
319 |
|
|
320 |
|
o use <a href="http://imapfilter.hellug.gr">IMAPFilter</a>!!! |
321 |
|
|
322 |
|
o refactor old TODOs using 'home2web' |
323 |
|
|
324 |
|
o webgate (like dispatchmail) |
325 |
|
|
326 |
|
o zeit anhalten! (alle grauen männer umbringen!) |
327 |
|
|
328 |
|
o add to cvs: |
329 |
|
o /home/service/ |
330 |
|
o /home/service/virtual/collector |
331 |
|
o /home/service/virtual/tracker |
332 |
|
o /home/service/virtual/fetcher |
333 |
|
o /home/service/virtual/archiver |
334 |
|
|
335 |
|
o use 'wCron' to automagically do a 'cvs commit -m "+ updated/added content" joko/doc' |
336 |
|
x mkdir -p C:\Programme\WCron |
337 |
|
x unzip -j "C:\home\amo\develop\netfrag.org\rabit\wCron\releases\WCron-0.62-pre.zip" -d C:\Programme\WCron |
338 |
|
o win2000: change/check permissions: right-click/Properties/Security Settings/Read, Execute = enabled |
339 |
|
x run it |
340 |
|
x add task |
341 |
|
x implement shortcut-script: joko/Scripts/shortcuts/cvs_commit_joko-doc.bat |
342 |
|
x add lines: |
343 |
|
x cd C:\home\amo\develop\netfrag.org\joko |
344 |
|
x cvs commit -m "+ updated/added content" doc |
345 |
|
|
346 |
|
|
347 |
|
o on Windows it's called "QuickLaunch" .... |
348 |
|
|
349 |
|
o plugins for nautilus/gnome/kde: |
350 |
|
show arbitrary data-structures (from anywhere): here we may get the drag & drop - functionality "on-the-fly" |
351 |
|
|
352 |
|
o new user "gateway": |
353 |
|
x adduser --home /home/service/virtual/gateway gateway (pass: gw%R%) |
354 |
|
x mkdir /var/lib/cvs/gateway |
355 |
|
x chown -R gateway.gateway /var/lib/cvs/gateway |
356 |
|
x su gateway |
357 |
|
x cvs -d /var/lib/cvs checkout -d ~ gateway |
358 |
|
|
359 |
|
x error on quepasa: |
360 |
|
Jan 24 19:00:09 quepasa sm-mta[17960]: STARTTLS=server, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], version=TLSv1/SSLv3, verify=NO, cipher=RC4-MD5, bits=128/128 |
361 |
|
Jan 24 19:00:09 quepasa sm-mta[17960]: h0OI081D017960: ruleset=check_rcpt, arg1=<janosch@ultrajan.de>, relay=pD9E77B39.dip.t-dialin.net [217.231.123.57], reject=550 5.7.1 <janosch@ultrajan.de>... Relaying denied. Proper authentication required. |
362 |
|
x add to /etc/mail/default-auth-info |
363 |
|
sendmail |
364 |
|
sendmail |
365 |
|
sendmailpwd |
366 |
|
quepasa.netfrag.org |
367 |
|
x /etc/init.d/sendmail restart |
368 |
|
|
369 |
|
o Torus::Publish::Research::Web |
370 |
|
o googling for something automagically opens a new task |
371 |
|
o all links directly or indirectly coming out of this are sorted below this task |
372 |
|
o the user can end this task on demand: timetracking is done automagically as well |
373 |
|
|
374 |
|
o register tutos.netfrag.org |
375 |
|
|
376 |
|
o qpopper with tls, sasl and kerberos5? |
377 |
|
|
378 |
|
o off realtime! the only thing that happens at realtime is MailMiltering. |
379 |
|
x cvs checkout of joko/doc is done via cron |
380 |
|
x mail2news-dispatching is now done via cron (would be possible "in realtime" via '.forward'ing the mail *directly* to dispatchmail) |
381 |
|
|
382 |
|
o ctlinnd newgroup nfo.csm (Collaborative System Management) |
383 |
|
|
384 |
|
o make possible: |
385 |
|
o after "cvs update" make question: "Found new items in "" while scanning. Should i add them to the repository?" |
386 |
|
o drag & drop arbitrary items out of outlook (.msg, .nws, etc.) - search for them while scanning the fs and sync them |
387 |
|
against *original* source. (e.g. 'Message-ID: <b0s5v9$j7d$1@quepasa.netfrag.org>') |
388 |
|
|
389 |
|
x CVSSpam -> nfo.log.cvs |
390 |
|
x su root |
391 |
|
x cd /etc/mail |
392 |
|
x nano virtusertable |
393 |
|
x add line: |
394 |
|
x cvs-log@netfrag.org gateway |
395 |
|
x make virtusertable |
396 |
|
x su gateway |
397 |
|
x cd ~ |
398 |
|
x nano .dispatchmailrc |
399 |
|
x add lines: |
400 |
|
$self->copy('Newsgate', 'nfo.log.cvs') |
401 |
|
if $to =~ m/cvs-log/; |
402 |
|
x exit (to logout) |
403 |
|
x cvs update CVSROOT/loginfo |
404 |
|
x add to CVSROOT/loginfo (to the end of the line starting with '^nfo '): |
405 |
|
--to cvs-log@netfrag.org |
406 |
|
x cvs commit -m "+ added new notification target: 'cvs-log@netfrag.org'" CVSROOT/loginfo |
407 |
|
x tested with some mini-howto |
408 |
|
x removed '--to joko@netfrag.org --to jonen@netfrag.org --to bareface@netfrag.org --to janosch@netfrag.org ' |
409 |
|
from CVSROOT/loginfo for module 'nfo' |
410 |
|
x announce this |
411 |
|
x added to '/etc/news/nnrp.access': |
412 |
|
*:Read Post:bareface:bareface:* |
413 |
|
x /etc/init.d/inn reload |
414 |
|
|
415 |
|
x add 'gateways'-repository to chora |
416 |
|
x nano /data/www/doc/horde/chora/config/cvsroots.php |
417 |
|
x add lines: |
418 |
|
# 2003-01-24, joko |
419 |
|
$cvsroots['gateway'] = array( |
420 |
|
'name' => 'gateway', |
421 |
|
'location' => '/var/lib/cvs/gateway', |
422 |
|
'title' => "$titlePrefix gateway's CVS Repository", |
423 |
|
'cvsusers' => $cvsusers, |
424 |
|
); |
425 |
|
|
426 |
|
x configured Apache for serving news.netfrag.org |
427 |
|
x cleaned up /data/www/virtual/netfrag/conf/httpd.conf |
428 |
|
x ./test.conf |
429 |
|
x comments |
430 |
|
x /etc/init.d/apache reload |
431 |
|
x test: http://news.netfrag.org/ |
432 |
|
|
433 |
|
|
434 |
|
|
435 |
|
o new module for cvs-repository? |
436 |
|
o nfo/layouts/fs/skel/data2 |
437 |
|
o checkout to /data on quepasa.netfrag.org |
438 |
|
x done: |
439 |
|
x su root |
440 |
|
x cd /var/lib/cvs |
441 |
|
x mkdir -p nfo/layouts/fs/skel/data |
442 |
|
x mkdir -p nfo/layouts/fs/skel/data2 |
443 |
|
x mkdir -p nfo/hosts/quepasa.netfrag.org/data |
444 |
|
x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data |
445 |
|
x *mungle everything and commit!* look at the repository! |
446 |
|
x add special group with access to this repository: 'rootsrc' |
447 |
|
x groupadd rootsrc |
448 |
|
x usermod -G src,staff,rootsrc joko |
449 |
|
x usermod -G src,staff,rootsrc jonen |
450 |
|
x usermod -G rootsrc root |
451 |
|
x change permissions |
452 |
|
x cd /var/lib/cvs/nfo/ |
453 |
|
x chown -R .rootsrc hosts |
454 |
|
x chmod -R g+w hosts |
455 |
|
|
456 |
|
|
457 |
|
x add to system-conf-repository: |
458 |
|
x /etc/mail |
459 |
|
x php: cvs-redirect |
460 |
|
x |
461 |
|
|
462 |
|
o extend WCron |
463 |
|
x show (per-task) if it's currently running or not: provide buttons to (start, stop, pause, resume or cancel a task...) |
464 |
|
x use as a frontend for administering nfo/libs/perl/ - backend - tasks(???) |
465 |
|
|
466 |
|
x install Horde/Troll |
467 |
|
x install troll |
468 |
|
x cd /home/service/download |
469 |
|
x mkdir horde |
470 |
|
x cd horde |
471 |
|
x wget ftp://ftp.horde.org/pub/troll/troll-0.0.2.tar.gz |
472 |
|
x tar -xzf troll-0.0.2.tar.gz --directory=/data/www/doc/horde/ |
473 |
|
x configure horde |
474 |
|
x cd /data/www/doc/horde/ |
475 |
|
x nano config/registry.php |
476 |
|
x add lines: |
477 |
|
$this->applications['troll'] = array( |
478 |
|
'fileroot' => dirname(__FILE__) . '/../troll', |
479 |
|
'webroot' => $this->applications['horde']['webroot'] . '/troll', |
480 |
|
'icon' => $this->applications['horde']['webroot'] . '/troll/graphics/troll.gif', |
481 |
|
'name' => _("News"), |
482 |
|
'allow_guests' => true, |
483 |
|
'show' => true |
484 |
|
); |
485 |
|
x configure Troll |
486 |
|
x cd troll/config |
487 |
|
x conf.php |
488 |
|
x cp conf.php.dist conf.php |
489 |
|
x nano conf.php |
490 |
|
x edit: |
491 |
|
x $conf['news']['server'] = 'news.netfrag.org'; |
492 |
|
x $conf['news']['mailserver'] = 'mail.netfrag.org'; |
493 |
|
x servers.php |
494 |
|
x cp servers.php.dist servers.php |
495 |
|
x add: |
496 |
|
$servers['netfrag.org'] = array( |
497 |
|
'name' => 'news.netfrag.org', |
498 |
|
'server' => 'news.netfrag.org', |
499 |
|
'port' => 119, |
500 |
|
); |
501 |
|
x prefs.php |
502 |
|
x cp prefs.php.dist prefs.php |
503 |
|
x html.php |
504 |
|
x cp html.php.dist html.php |
505 |
|
x permissions |
506 |
|
x chmod o+r *.php |
507 |
|
|
508 |
|
|
509 |
|
x test: http://netfrag.org/horde/ |
510 |
|
o another (more bright) skin for horde@netfrag.org!!! |
511 |
|
|
512 |
|
o Warum nicht überall Horde? Sondern TUTOS? |
513 |
|
o Horde ist sehr breit angelegt, dafür fehlt es jedoch an vielen Stellen noch ein wenig im Detail. |
514 |
|
o mittlerweile: mit Hermes & Co.? nochmal ansehen! |
515 |
|
|
516 |
|
o just do automated operations (like cvs commit) only if system is idle |
517 |
|
|
518 |
|
o automagically redirect http://netfrag.org/horde/ to https://netfrag.org/horde/ |
519 |
|
o with an Apache - rewrite-rule? |
520 |
|
|
521 |
|
x how to map TUTOS-groups to newsgroups? |
522 |
|
x ctlinnd newgroup nfo.tutos.sysadmin |
523 |
|
x add dispatching for sysadmin@netfrag.org |
524 |
|
x add to /home/service/virtual/gateway/.dispatchmailrc |
525 |
|
$self->copy('Newsgate', 'nfo.tutos.sysadmin') if $to =~ m/sysadmin/; |
526 |
|
x add to /etc/mail/virtusertable: |
527 |
|
# --- news.netfrag.org - joko, 2003-01-24 |
528 |
|
sysadmin@netfrag.org gateway |
529 |
|
make virtusertable! |
530 |
|
x write welcome-mail |
531 |
|
root@quepasa:~$ mail sysadmin@netfrag.org |
532 |
|
Subject: Welcome to the sysadmin-newsgroup at netfrag.org! |
533 |
|
Have fun! |
534 |
|
greets, joko. |
535 |
|
|
536 |
|
. |
537 |
|
Cc: |
538 |
|
x test: do "refresh newsgroups" at your favourite news-reader |
539 |
|
x this has been refactored to: <a href="http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org">[news:id=b0shbj$l9s$1@quepasa.netfrag.org]</a> |
540 |
|
x HEADERS: |
541 |
|
x Message-ID: <b0shbj$l9s$1@quepasa.netfrag.org> |
542 |
|
x Subject: Re: Welcome to the sysadmin-newsgroup at netfrag.org! |
543 |
|
o newsgate |
544 |
|
o http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org |
545 |
|
o http://news.netfrag.org/nfo.tutos.sysadmin/subject/Re: Welcome to the sysadmin-newsgroup at netfrag.org! |
546 |
|
|
547 |
|
o Erkenntnis aus UML (Kernel 2.4): schwierig mit gleichzeitigem Zugriff |
548 |
|
|
549 |
|
o gave up trying to get Troll running |
550 |
|
|
551 |
|
x setup alternatives to Horde for public access |
552 |
|
o viewcvs |
553 |
|
x apt-get install libapache-mod-python |
554 |
|
|
555 |
|
o WebNewsViewer |
556 |
|
|
557 |
|
o release the user from having to send email-messages to actually post urls with content (e.g. "FirstPage") |
558 |
|
|
559 |
|
o parse .url-files! |
560 |
|
|
561 |
|
o have newsgroup-structure backed in ldap-container (ou) somehow (Data::Map!) |
562 |
|
|
563 |
|
x new email-addresses@netfrag.org: |
564 |
|
x sysadmin@netfrag.org |
565 |
|
x faq@netfrag.org |
566 |
|
|
567 |
|
x setup newsportal (by Florian Amrhein) |
568 |
|
x url: http://florian-amrhein.de/newsportal/ |
569 |
|
x cd /home/service/download |
570 |
|
x mkdir newsportal |
571 |
|
x cd newsportal |
572 |
|
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
573 |
|
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
574 |
|
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/sites/news/apps/newsportal/ |
575 |
|
|
576 |
|
o rework apache-layout - check into repository as something root is responsible for! |
577 |
|
|
578 |
|
o NfoWeb |
579 |
|
o add WikiPages: |
580 |
|
o Overview |
581 |
|
o Projects |
582 |
|
o MiniHowTo |
583 |
|
(o Search) |
584 |
|
o modify HomePage |
585 |
|
o change Projects to Overview |
586 |
|
|
587 |
|
o yakka & pod |
588 |
|
o convert pod to tavi |
589 |
|
o perl first (pod2tavi) |
590 |
|
o php afterwards (pod2tavi-php) |
591 |
|
o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?) |
592 |
|
o address "files" outside the normal/configured default YakkaRepository |
593 |
|
o introduce: "ExplicitAddressingOfArbitraryTargets" |
594 |
|
o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField) |
595 |
|
o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository" |
596 |
|
|
597 |
|
o viewcvs & yakka |
598 |
|
o a filesystem-adapter for yakka's storage-handler-system |
599 |
|
o show "view in yakka" if document-type eq 'tavi|tavi,v|pod' |
600 |
|
|
601 |
|
o IconForNetfrag.Org? |
602 |
|
o fav.ico? |
603 |
|
|
604 |
|
x install viewcvs |
605 |
|
x apt-get install viewcvs |
606 |
|
x configured: |
607 |
|
x /var/lib/cvs |
608 |
|
x email-address (new): cvs-admin@netfrag.org -> dev@netfrag.org |
609 |
|
x no forbidden modules (do this via unix permissions!) |
610 |
|
x allow tarball generation? yes! |
611 |
|
x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons |
612 |
|
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
613 |
|
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
614 |
|
|
615 |
|
o rendering proposals for TaviWorkflow |
616 |
|
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
617 |
|
o Coloring |
618 |
|
o [o=red, x=green, R=red, r=green] |
619 |
|
|
620 |
|
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
621 |
|
|
622 |
|
x web-based newsreader? twig! |
623 |
|
x apt-get install twig |
624 |
|
|
625 |
|
o shutdown horde (for now: "pause") |
626 |
|
|
627 |
|
o viewcvs & apache-mod-python? |
628 |
|
|
629 |
|
o home2web, .home2webrc |
630 |
|
--before: buildhtml --source=pod|tavi |
631 |
|
--after: say "ready" |
632 |
|
|
633 |
|
x added root of quepasa to cvs |
634 |
|
x su root |
635 |
|
x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org |
636 |
|
x mkdir root |
637 |
|
x chown -R .rootsrc root/ |
638 |
|
x chmod -R g+w root/ |
639 |
|
x cd /tmp |
640 |
|
x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root |
641 |
|
x start with /etc |
642 |
|
x cd /etc |
643 |
|
x cvs add etc |
644 |
|
x cvs add viewcvs |
645 |
|
x cd viewcvs |
646 |
|
x cvs add .... |
647 |
|
x cvs commit -m "+ initial commit" |
648 |
|
|
649 |
|
x How to get a single file from cvs for download: (e.g.) |
650 |
|
wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2 |
651 |
|
|
652 |
|
x cvsgraph still missing: apt-get install cvsgraph |
653 |
|
|
654 |
|
x viewcvs |
655 |
|
o change logo at /usr/share/viewcvs/images |
656 |
|
x removed from template |
657 |
|
x cvsview-query.cgi didn't work yet! |
658 |
|
x error was: |
659 |
|
x tail -f /data/www/virtual/netfrag/log/error_log |
660 |
|
Traceback (most recent call last): |
661 |
|
File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ? |
662 |
|
import query |
663 |
|
File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ? |
664 |
|
import cvsdb |
665 |
|
File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ? |
666 |
|
import dbi |
667 |
|
File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ? |
668 |
|
import MySQLdb |
669 |
|
ImportError: No module named MySQLdb |
670 |
|
[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 |
671 |
|
x solution is: |
672 |
|
x apt-get install python-mysqldb |
673 |
|
x use mysql; |
674 |
|
x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
675 |
|
x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
676 |
|
x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs')); |
677 |
|
x flush privileges; |
678 |
|
x get viewcvs-tool "make-database" from cvs-repository at sf.net |
679 |
|
x mkdir -p /opt/viewcvs/tools |
680 |
|
x cd /opt/viewcvs/tools |
681 |
|
x wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/tools/make-database?rev=1.5 |
682 |
|
x mv make-database\?rev\=1.5 make-database |
683 |
|
x chmod u+x make-database |
684 |
|
x ./make-database |
685 |
|
|
686 |
|
o docu about uml and filesystem-layer running on gharb for MiniHowTo? |
687 |
|
|
688 |
|
o search.php?wiki=1&cvs=1&index=1 |
689 |
|
|
690 |
|
o get mnoGoSearch running |
691 |
|
e apt-get install mnoGoSearch |
692 |
|
|
693 |
|
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
694 |
|
|
695 |
|
o ScanToWeb |
696 |
|
|
697 |
|
o look at Mailman: http://www.list.org/features.html |
698 |
|
|
699 |
|
o use cvsup!? |
700 |
|
|
701 |
|
|
702 |
|
</pre> |
703 |
|
|
704 |
|
<hr/> |
705 |
|
$Id$ |
706 |
|
|
707 |
|
</body> |
708 |
|
</html> |