This page should describe the steps needed to turn a debian etch installation into a debian-edu etch installation.
Add the following two lines to /etc/apt/sources.list
deb http://ftp.skolelinux.no/skolelinux etch local deb-src http://ftp.skolelinux.no/skolelinux etch local # # You can also use etch-test instead of etch. # etch-test is what is "unstable" in Debian, quoting http://www.debian.org/releases/ # "The «unstable» distribution is where active development of Debian occurs. # Generally, this distribution is run by developers and those who like to live # on the edge." # So use etch-test at your own risk! # See http://wiki.debian.org/DebianEdu/ArchivePolicy for more information. #
Create a config file /etc/debian-edu/config, this is needed by debian-edu-install the file must contain at minimum a PROFILE entry profiles can be "Thin-Client-Server" "Workstation" "Main-Server"
#example from a thin-client-server NONINTERACTIVE="true" PROFILE="Thin-Client-Server" LANGCODE="nn_NO:nn:no_NO:no:nb_NO:nb:da:sv:en_GB:en" LOCALE="nn_NO"
As root, run
apt-get update apt-get install debian-edu-archive-keyring apt-get upgrade apt-get install debian-edu-config debian-edu-install
Comment from HenningSprang: somehow, even if I installed the keyring package, I got messages about non-authenticated packages.
FIXME: it is necessary to install some other binaries built from the source package debian-edu - it needs to be checked which ones exactly
Make sure you have enabeled update-hostname with a file called /etc/default/update-hostname, and run it with /etc/init.d/update-hostname restart. This ofcourse assumes that you are in a working Debian Edu enviroment (debian-edu bind), If you are actually installing a main server try setting the hostname to tjener.intern manually.
install the tasks using
aptitude install education-tasks
Install all the needed education-* packages, using tasksel install ... For ldap and homedir access you will need education-networked and education-common.
Comment from HenningSprang: For example for getting to a mainserver (not checked if that is fully working, but services are running now), I did:
tasksel install education-main-server
After you have installed the tasks you can execute the cfengine run (as root)
# this require the fqdn in the /etc/hostname, that update-hostname provides. cfengine-debian-edu -D installation
Restart all kinds of services, or simply reboot the box.
Check the debian-edu installation (as root) to assure everyting is working like the Debian Edu developers expect it to to be:
# untested, needs confirmation. (If you do this and this works, please remove this comment.) debian-edu-test-install
comments from trying to work by this documentation
Comments from RonnyAasen testing this
Successfully converted a Debian etch install into a Debian Edu Workstation using these instructions
Comments from HenningSprang testing this
(The script below is probably outdated, I've got stuff working as described above, I kepp it for some time in case some interesting stuff is missing. This paragraph can be removed after 2008-01-01 if the above description is tested to work well without any additions)
My current "buildscript" is as follows - but I am not yet there to have a really working main server yet, there is some more stuff missing, and I have to find out what's needed:
TARGET="./chroot" ROOTCMD="chroot $TARGET" debootstrap etch chroot/ file:///hier/media/software-repository/mirrors/debian-etch # use your own local debian mirror here sudo cp fstab $TARGET/etc/ sudo cp sources.list $TARGET/etc/apt/ sudo cp resolv.conf $TARGET/etc/ $ROOTCMD apt-get update $ROOTCMD apt-get install debian-edu-archive-keyring # did not work # manualy installed with gpg $ROOTCMD apt-get upgrade mkdir /etc/debian-edu echo "PROFILE=Main-Server"> /etc/debian-edu/config $ROOTCMD apt-get install debian-edu-install debian-edu-config $ROOTCMD apt-get install education-common education-main-server # Install the task: $ROOTCMD tasksel install education-main-server $ROOTCMD cfengine-debian-edu -D installation # just for my own setup: $ROOTCMD useradd -m henning $ROOTCMD passwd $ROOTCMD passwd henning
To test this in Qemu, we'd need to install grub into a locally created qemu disk, which I could not get accomplished.
Things like losetup and kpartx -v -a might help, or copyying a bootsector from an existing disk.
This is how far I came now, I did not test this a lot, vut have put it into a FAI config now. There is surely some more stuff missing.
Comments from KurtGramlich
- apt-get install education-mainserver did not result in any reaction
- I don't see an LDAP running at the end
answer from ronnyaasen: apt-get can not install task files. you need to install them with aptitude, or with tasksel install ...
Comments from PaulChanyi
Please explain the following line in the config file:
I know that that nn, no, nb, da, sv, en are the langcodes but still not understand how to write this line in to mine config file for langcodes: hu, en, and sr?
One more question!
I use Debian Backports for the linux-image 2.6.26-bpo.1-686 #1 SMP, so is this a problem for ?Debian2DebianEdu system conversation?
answer from ronnyaasen:
LANGCODE is identical to the debconf value debian-installer/language
- I run backports kernel myself on some new hardware have not seen issues (related to edu)
Thanks! Must the hostname be exactly the abowe mentioned "tjener.intern"? I have a FQDN: csanyi-pal.info registered. Can I use it instead?
I get these errors when run sudo debian-edu-test-install:
error: ./bind9-dns: Unable to look up '10.0.2.2' on server 'localhost' ('' != 'tjener.intern'). .. error: ./filesystems: Using ext2 on /boot .. error: ./ldap-client: Host 'ldap' is not pingable. error: ./ldap-client: ldap2netgroup unable to find 'tjener'. error: ./ldap-client: netgroup unable to find 'tjener'. error: ./ldap-client: Missing /skole mount point in ldap error: ./ldap-client: Missing tjener mount point in ldap error: ./ldap-client: Missing home0 mount point in ldap error: ./ldap-server: /etc/ldap/slapd.conf is missing. Is slapd installed? .. error: ./ntp: Host 'ntp' is not pingable. error: ./ntp: Missing local NTP clock on server. .. error: ./syslog: Host 'syslog' is not pingable. error: ./syslog: Main-Server is forwarding syslog messages to @syslog error: ./timezone: Time zone is 'Europe/Budapest', which is not one of ('Europe/Oslo'). error: ./webcache: Host 'webcache' is not pingable. error: ./webcache: Unable to connect to 'http://www.intern/' using proxy 'http://webcache:3128/'. error: ./webserver: Apache is not listening on 'http://www/'.
How can I solve these problems?
Comments from Nigel himself on DebianEdu MailingList:
Philipp, thanks for writing that, and Ralf for connecting me. I followed it, with some minor changes (eg. repos) and it works (almost)!
- in /etc/network/interfaces I had to add
- Since I installed amd64 lenny, I had to do
ltsp-build-client --arch i386
- Sound on thin client. I notice you have pulseaudio in lts.conf, but you
haven't installed pulseaudio. When you do, you get sound (but not in flash, even though the extrasound plugin is installed)
- strange colour depth problem on the thin client. Apps appear to be using
16bpp, but KDE wallpaper is horrible, maybe 256 colours (the login splash is beautiful). Haven't tried to fix yet.
-- RalfGesellensetter 2009-08-12 11:42:18