User:Holger: Difference between revisions

From OLPC
Jump to navigation Jump to search
(update)
 
(48 intermediate revisions by 13 users not shown)
Line 1: Line 1:
= some links =
...shipping out around the 28th or 29th...

* http://layer-acht.org/olpc/
* http://layer-acht.org/debian/olpc/
* http://wiki.laptop.org/go/OLPC_Germany
* http://wiki.laptop.org/go/OLPC_Europe
* http://wiki.laptop.org/go/OLPC_Europe/Events/FOSDEM
* schoolserver, see below :)

= Schoolserver =

== documentation ==
* howto build the [http://wiki.laptop.org/go/User:Holger/live-installer live-installer]
* how the [http://wiki.laptop.org/go/User:Holger/mirror mirror] is setup


== todo ==
== todo ==

* fai on xs-test (apache, munin-node)
* '''document [http://wiki.laptop.org/go/User:Holger/xs-repo xs-repo] better'''
* make livecd-creator work with fc6
* document [http://wiki.laptop.org/go/User:Holger/FAI fai] basics even better ;)
* set up local repository there too

* fai
* implement backup script, ~/olpc/olpc-user-data-backup/ has the backup script from the list...

* live-installer (was: livecd)
** use fedora7 updates too
** update configs from cronjob
** make it possible to trigger build manually
*** run another cronjob every minute to see if build has been triggered manually
** check for config changes every hour and trigger build if needed
*** also compare against previous package list
** waiting for next anaconda bugfix, '''submit it as bug to bugzilla'''
** '''run fai''' from anaconda postinstall
*** '''with config from cd, then switch to network config'''
*** '''add xs-repo: rm /etc/yum.repos.d/ on livecd, then fcopy -r /etc/yum.repos.d'''
*** '''"copy" packages from fai to livecd.ks'''
*** '''keyboard-settings via COUNTRY.var: Argentina Brazil Libya Nigeria Uruguay Rwanda'''
*** '''install kernel,postfix,ntpd,squid,[http://wiki.laptop.org/go/Establishing_a_Mesh_Portal mpp], apache, dyndns (at least for now) with fai and livecd'''
*** backup script

* mirror
** set it up with fai
** provide mirror via nfs
** mail the cron output to an alias
** daily mirror snapshots with links

* xs-repo
** 1st '''rename to xs-repo''' :)
** set it up with fai

* schoolserver
** '''add libertas kernel'''
** '''reinstall-safe partition layout (data partitions)''', to ensure we can reinstall the schoolserver and dont have to upgrade from fedora7 to 10 manually...

* xs-dev2fai
** mkdir /var/www/html/holger && chown
** setenforce permissive, otherwise vhost fedora.laptop.org doesnt work
** /e/h/conf.d/*
** '''mirror and builder''', also sudoers for builder
** ipv6
** comment out requieretty in /e/sudoers

* lovelace
** configure xs with fai
*** for backup
*** for wpa

* more fai work:
** svn commit softupdate-git-rpm branch from local disc
** configure remote logging
** configure remote logging
** randomized cron for updates
** randomized cron for updates

** config repository in git


open questions/remarks
open questions/remarks
* http://wiki.laptop.org/go/Trial1_Server_Image - looks outdated
* how to define classes for a host? map mac-addresses to machines to classes? -> file in /etc
* how to define classes for a host? map mac-addresses to machines to classes? -> file in /etc
* livecd-creator has the following in its config file: rm -rf /usr/share/doc/* - thats not soo good ;)
* livecd-creator has the following in its config file: rm -rf /usr/share/doc/* - thats not soo good ;)
* The liveinst bits are included in anaconda since anaconda-11.2.0.39-1. So liveinst packagae is not needed anymore.
* The liveinst bits are included in anaconda since anaconda-11.2.0.39-1. So liveinst packagae is not needed anymore.

services on the servers
* dyndns at least for now


partitioning proposal
partitioning proposal
Line 24: Line 82:
10gb for /var
10gb for /var
260 for /home (or 250) or diving this into /home and /$path/backup
260 for /home (or 250) or diving this into /home and /$path/backup

sudo livecd-creator --config=/usr/share/livecd-tools/livecd-fedora-6-desktop.ks --fslabel=Fedora-6-Test1-LiveCD --repo=c6,ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/6/i386/os/ --repo=e6,ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/extras/6/i386/ --repo=u6,ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/updates/6/i386/


== some links ==
== some links ==

* [http://wiki.laptop.org/go/XS_Server_Services#A_Mini-Moodle_Plan server services]
* https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243374
* [http://dev.laptop.org/query?status=new&status=assigned&status=reopened&priority=blocker&milestone=Trial-3&order=priority trial3 bugs]
* [http://wiki.laptop.org/go/XS_Server_Services Server_Services]
* [http://wiki.laptop.org/go/XS_Server_Services#A_Mini-Moodle_Plan moodle plan]
* [http://wiki.laptop.org/go/XS_Server_Services#A_Mini-Moodle_Plan moodle plan]
* [http://dev.laptop.org/ticket/1127 Server specification document]
* [http://dev.laptop.org/ticket/1127 Server specification document]
Line 36: Line 95:
* [http://fedoraproject.org/wiki/FedoraSummit/LiveCD fedora livecd roadmap]
* [http://fedoraproject.org/wiki/FedoraSummit/LiveCD fedora livecd roadmap]
* [http://www.kernel.org/pub/software/scm/git/docs/tutorial.html git tutorial]
* [http://www.kernel.org/pub/software/scm/git/docs/tutorial.html git tutorial]
* [http://mailman.laptop.org/pipermail/devel/2007-April/004635.html olpc pilgrim usage]
* [http://www-128.ibm.com/developerworks/linux/library/l-fedora-livecd/index.html ibm pilgrim howto]
* [http://www-128.ibm.com/developerworks/linux/library/l-fedora-livecd/index.html ibm pilgrim howto]
* [http://www.redhat.com/archives/fedora-livecd-list/2007-January/msg00064.html install2hd]
* [http://www.redhat.com/archives/fedora-livecd-list/2007-January/msg00064.html install2hd]
* SMSs (School Management Systems)
* SMSs (School Management Systems)
* Centre-SIS, http://www.miller-group.net/
** Centre-SIS, http://www.miller-group.net/
* Focus-SIS fork, http://www.focus-sis.org/
** Focus-SIS fork, http://www.focus-sis.org/
* ldap-admin tools considered for debian-edu etch
* ldap-admin tools considered for debian-edu etch
* lwat, http://bzz.no/lwat/
** lwat, http://bzz.no/lwat/
* cipux, http://doc.cipux.org/
** cipux, http://doc.cipux.org/
* wlus & webmin was used in sarge
** wlus & webmin was used in sarge
* "rm -f /var/lib/rpm/__db*" is a good+safe first try, if the rpm db is broken, it just deletes the cache
* http://www.olpcaustria.org/



== mirror ==


To easy searching: Holger Levsen
It's accessable at http://xs-dev/mirror/
and updated with rsync with the two scripts in ~holger/mirror-fedora-linux-core and ~holger/mirror-fedora-linux-extras, config in ~holger/mirror-fedora-linux.conf

Latest revision as of 17:38, 25 February 2008

some links

Schoolserver

documentation

todo

  • document xs-repo better
  • document fai basics even better ;)
  • implement backup script, ~/olpc/olpc-user-data-backup/ has the backup script from the list...
  • live-installer (was: livecd)
    • use fedora7 updates too
    • update configs from cronjob
    • make it possible to trigger build manually
      • run another cronjob every minute to see if build has been triggered manually
    • check for config changes every hour and trigger build if needed
      • also compare against previous package list
    • waiting for next anaconda bugfix, submit it as bug to bugzilla
    • run fai from anaconda postinstall
      • with config from cd, then switch to network config
      • add xs-repo: rm /etc/yum.repos.d/ on livecd, then fcopy -r /etc/yum.repos.d
      • "copy" packages from fai to livecd.ks
      • keyboard-settings via COUNTRY.var: Argentina Brazil Libya Nigeria Uruguay Rwanda
      • install kernel,postfix,ntpd,squid,mpp, apache, dyndns (at least for now) with fai and livecd
      • backup script
  • mirror
    • set it up with fai
    • provide mirror via nfs
    • mail the cron output to an alias
    • daily mirror snapshots with links
  • xs-repo
    • 1st rename to xs-repo :)
    • set it up with fai
  • schoolserver
    • add libertas kernel
    • reinstall-safe partition layout (data partitions), to ensure we can reinstall the schoolserver and dont have to upgrade from fedora7 to 10 manually...
  • xs-dev2fai
    • mkdir /var/www/html/holger && chown
    • setenforce permissive, otherwise vhost fedora.laptop.org doesnt work
    • /e/h/conf.d/*
    • mirror and builder, also sudoers for builder
    • ipv6
    • comment out requieretty in /e/sudoers
  • lovelace
    • configure xs with fai
      • for backup
      • for wpa
  • more fai work:
    • svn commit softupdate-git-rpm branch from local disc
    • configure remote logging
    • randomized cron for updates


open questions/remarks

  • http://wiki.laptop.org/go/Trial1_Server_Image - looks outdated
  • how to define classes for a host? map mac-addresses to machines to classes? -> file in /etc
  • livecd-creator has the following in its config file: rm -rf /usr/share/doc/* - thats not soo good ;)
  • The liveinst bits are included in anaconda since anaconda-11.2.0.39-1. So liveinst packagae is not needed anymore.
partitioning proposal
20gb for /
5gb for /tmp, maybe 10
5gb for /var/log, maybe 10
10gb for /var
260 for /home (or 250) or diving this into /home and /$path/backup

some links


To easy searching: Holger Levsen