User:Holger

From OLPC
Jump to navigation Jump to search

todo

  • document xs-repo
  • document mirror
  • document fai basics
  • document livecd
  • implement backup script, ~/olpc/olpc-user-data-backup/ has the backup script from the list...
  • livecd
    • setup cronjob, to build livecd daily
      • compare against previous package list
      • put live-xs.ks in git and compare if it has changed
      • run cronjob every hour to trigger build
    • waiting for fixed anaconda (breaks with kickstart file)
    • shortcut system-configuration
    • run fai
      • 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 with fai and livecd
  • mirror
    • set it up with fai
    • cleanup mirror
    • provide mirror via nfs
    • daily mirror snapshots with hardlinks
  • xs-repo
    • 1st rename to xs-repo :)
    • set it up with fai
  • xs-dev2fai
    • mkdir /var/www/html/holger && chown
    • setenforce permissive
    • /e/h/conf.d/*
  • more fai work:
    • 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.

services on the servers

  • dyndns at least for now
  • ntp
  • squid
  • MPP
  • apache
  • backup
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

 * Centre-SIS,   http://www.miller-group.net/
 * Focus-SIS fork,   http://www.focus-sis.org/
  • ldap-admin tools considered for debian-edu etch
 * lwat, http://bzz.no/lwat/
 * cipux, http://doc.cipux.org/
 * wlus & webmin was used in sarge

mirror

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