User:Holger: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 22: Line 22:
** '''run fai'''
** '''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



Revision as of 13:32, 2 June 2007

documentation

todo

  • document xs-repo better
  • document fai basics better
  • implement backup script, ~/olpc/olpc-user-data-backup/ has the backup script from the list...
  • live-installer (was: livecd)
    • setup cronjob, to build livecd daily
    • put config in git
      • compare against previous package list
      • put live-xs.ks in git and compare if it has changed
      • run cronjob every hour to trigger build
      • configure apache to sort that directory after modification date
    • run another cronjob every minute to see if build has been triggered manually
    • 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, apache, dyndns (at least for now) with fai and livecd
      • backup script
  • mirror
    • cleanup mirror
    • set it up with fai
    • run from cron
    • provide mirror via nfs
    • daily mirror snapshots with links
  • 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/*
  • lovelace
    • configure xs with fai
      • for backup
      • for wpa
  • 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.
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