5352
Comment: Langodes howto in config file
|
5508
Using DebianBackports for linux-image
|
Deletions are marked like this. | Additions are marked like this. |
Line 142: | Line 142: |
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? |
This page should describe the steps needed to turn a debian etch installation into a debian-edu etch installation.
the description
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.
#/etc/default/update-hostname ENABLED="true"
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
Comments from PaulChanyi
Please explain the following line in the config file:
LANGCODE="nn_NO:nn:no_NO:no:nb_NO:nb:da:sv:en_GB:en"
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?
Thanks!