User:Holger: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(update)
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= some links =

* 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 ==
== documentation ==
* howto build the [http://wiki.laptop.org/go/User:Holger/live-installer live-installer]
* howto build the [http://wiki.laptop.org/go/User:Holger/live-installer live-installer]
Line 5: Line 16:
== todo ==
== todo ==


* document [http://wiki.laptop.org/go/User:Holger/xs-repo xs-repo] better
* '''document [http://wiki.laptop.org/go/User:Holger/xs-repo xs-repo] better'''
* document [http://wiki.laptop.org/go/User:Holger/FAI fai] basics better
* document [http://wiki.laptop.org/go/User:Holger/FAI fai] basics even better ;)


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


* live-installer (was: livecd)
* live-installer (was: livecd)
** use fedora7 updates too
** '''setup cronjob, to build livecd daily'''
** update configs from cronjob
** '''put config in git'''
** make it possible to trigger build manually
*** compare against previous package list
*** put live-xs.ks in git and compare if it has changed
*** run another cronjob every minute to see if build has been triggered manually
*** run cronjob every hour to trigger build
** check for config changes every hour and trigger build if needed
*** also compare against previous package list
*** configure apache to sort that directory after modification date
** waiting for next anaconda bugfix, '''submit it as bug to bugzilla'''
** run another cronjob every minute to see if build has been triggered manually
** waiting for fixed anaconda (breaks with kickstart file)
** '''run fai''' from anaconda postinstall
** shortcut system-configuration
** '''run fai'''
*** '''with config from cd, then switch to network config'''
*** '''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
*** '''add xs-repo: rm /etc/yum.repos.d/ on livecd, then fcopy -r /etc/yum.repos.d'''
*** "copy" packages from fai to livecd.ks
*** '''"copy" packages from fai to livecd.ks'''
*** keyboard-settings via COUNTRY.var: Argentina Brazil Libya Nigeria Uruguay Rwanda
*** '''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
*** '''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
*** backup script


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


* xs-repo
* xs-repo
** 1st rename to xs-repo :)
** 1st '''rename to xs-repo''' :)
** set it up with fai
** 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
* xs-dev2fai
** mkdir /var/www/html/holger && chown
** mkdir /var/www/html/holger && chown
** setenforce permissive
** setenforce permissive, otherwise vhost fedora.laptop.org doesnt work
** /e/h/conf.d/*
** /e/h/conf.d/*
** '''mirror and builder''', also sudoers for builder
** ipv6
** comment out requieretty in /e/sudoers


* lovelace
* lovelace
Line 50: Line 65:


* more fai work:
* 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
Line 69: Line 85:
== some links ==
== some links ==


* 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 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]
Line 87: Line 105:
** 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/



To easy searching: Holger Levsen

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