--- joko/doc/SampleTasks/joko_2003-01.html 2003/01/24 21:04:03 1.20 +++ joko/doc/SampleTasks/joko_2003-01.html 2003/01/25 03:03:25 1.28 @@ -404,15 +404,182 @@ x add to CVSROOT/loginfo (to the end of the line starting with '^nfo '): --to cvs-log@netfrag.org x cvs commit -m "+ added new notification target: 'cvs-log@netfrag.org'" CVSROOT/loginfo - + x tested with some mini-howto + x removed '--to joko@netfrag.org --to jonen@netfrag.org --to bareface@netfrag.org --to janosch@netfrag.org ' + from CVSROOT/loginfo for module 'nfo' + x announce this + x added to '/etc/news/nnrp.access': + *:Read Post:bareface:bareface:* + x /etc/init.d/inn reload + +x add 'gateways'-repository to chora + x nano /data/www/doc/horde/chora/config/cvsroots.php + x add lines: + # 2003-01-24, joko + $cvsroots['gateway'] = array( + 'name' => 'gateway', + 'location' => '/var/lib/cvs/gateway', + 'title' => "$titlePrefix gateway's CVS Repository", + 'cvsusers' => $cvsusers, + ); + +x configured Apache for serving news.netfrag.org + x cleaned up /data/www/virtual/netfrag/conf/httpd.conf + x ./test.conf + x comments + x /etc/init.d/apache reload + x test: http://news.netfrag.org/ + + + +o new module for cvs-repository? + o nfo/layouts/fs/skel/data2 + o checkout to /data on quepasa.netfrag.org + x done: + x su root + x cd /var/lib/cvs + x mkdir -p nfo/layouts/fs/skel/data + x mkdir -p nfo/layouts/fs/skel/data2 + x mkdir -p nfo/hosts/quepasa.netfrag.org/data + x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data + x *mungle everything and commit!* look at the repository! + x add special group with access to this repository: 'rootsrc' + x groupadd rootsrc + x usermod -G src,staff,rootsrc joko + x usermod -G src,staff,rootsrc jonen + x usermod -G rootsrc root + x change permissions + x cd /var/lib/cvs/nfo/ + x chown -R .rootsrc hosts + x chmod -R g+w hosts + x add to system-conf-repository: x /etc/mail x php: cvs-redirect x +o extend WCron + x show (per-task) if it's currently running or not: provide buttons to (start, stop, pause, resume or cancel a task...) + x use as a frontend for administering nfo/libs/perl/ - backend - tasks(???) + +x install Horde/Troll + x install troll + x cd /home/service/download + x mkdir horde + x cd horde + x wget ftp://ftp.horde.org/pub/troll/troll-0.0.2.tar.gz + x tar -xzf troll-0.0.2.tar.gz --directory=/data/www/doc/horde/ + x configure horde + x cd /data/www/doc/horde/ + x nano config/registry.php + x add lines: + $this->applications['troll'] = array( + 'fileroot' => dirname(__FILE__) . '/../troll', + 'webroot' => $this->applications['horde']['webroot'] . '/troll', + 'icon' => $this->applications['horde']['webroot'] . '/troll/graphics/troll.gif', + 'name' => _("News"), + 'allow_guests' => true, + 'show' => true + ); + x configure Troll + x cd troll/config + x conf.php + x cp conf.php.dist conf.php + x nano conf.php + x edit: + x $conf['news']['server'] = 'news.netfrag.org'; + x $conf['news']['mailserver'] = 'mail.netfrag.org'; + x servers.php + x cp servers.php.dist servers.php + x add: + $servers['netfrag.org'] = array( + 'name' => 'news.netfrag.org', + 'server' => 'news.netfrag.org', + 'port' => 119, + ); + x prefs.php + x cp prefs.php.dist prefs.php + x html.php + x cp html.php.dist html.php + x permissions + x chmod o+r *.php + + + x test: http://netfrag.org/horde/ + o another (more bright) skin for horde@netfrag.org!!! + +o Warum nicht überall Horde? Sondern TUTOS? + o Horde ist sehr breit angelegt, dafür fehlt es jedoch an vielen Stellen noch ein wenig im Detail. + o mittlerweile: mit Hermes & Co.? nochmal ansehen! + +o just do automated operations (like cvs commit) only if system is idle + +o automagically redirect http://netfrag.org/horde/ to https://netfrag.org/horde/ + o with an Apache - rewrite-rule? + +x how to map TUTOS-groups to newsgroups? + x ctlinnd newgroup nfo.tutos.sysadmin + x add dispatching for sysadmin@netfrag.org + x add to /home/service/virtual/gateway/.dispatchmailrc + $self->copy('Newsgate', 'nfo.tutos.sysadmin') if $to =~ m/sysadmin/; + x add to /etc/mail/virtusertable: + # --- news.netfrag.org - joko, 2003-01-24 + sysadmin@netfrag.org gateway + make virtusertable! + x write welcome-mail + root@quepasa:~$ mail sysadmin@netfrag.org + Subject: Welcome to the sysadmin-newsgroup at netfrag.org! + Have fun! + greets, joko. + + . + Cc: + x test: do "refresh newsgroups" at your favourite news-reader + x this has been refactored to: [news:id=b0shbj$l9s$1@quepasa.netfrag.org] + x HEADERS: + x Message-ID: + x Subject: Re: Welcome to the sysadmin-newsgroup at netfrag.org! + o newsgate + o http://news.netfrag.org/nfo.tutos.sysadmin/id/b0shbj$l9s$1@quepasa.netfrag.org + o http://news.netfrag.org/nfo.tutos.sysadmin/subject/Re: Welcome to the sysadmin-newsgroup at netfrag.org! + +o Erkenntnis aus UML (Kernel 2.4): schwierig mit gleichzeitigem Zugriff + +o gave up trying to get Troll running + +x setup alternatives to Horde for public access + o viewcvs + x apt-get install libapache-mod-python + + o WebNewsViewer + +o release the user from having to send email-messages to actually post urls with content (e.g. "FirstPage") + +o parse .url-files! + +o have newsgroup-structure backed in ldap-container (ou) somehow (Data::Map!) + +x new email-addresses@netfrag.org: + x sysadmin@netfrag.org + x faq@netfrag.org + +x setup newsportal (by Florian Amrhein) + x url: http://florian-amrhein.de/newsportal/ + x cd /home/service/download + x mkdir newsportal + x cd newsportal + x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz + x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ + x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/sites/news/apps/newsportal/ + +o rework apache-layout - check into repository as something root is responsible for! + +
+$Id: joko_2003-01.html,v 1.28 2003/01/25 03:03:25 joko Exp $ +