Archive for August, 2013

Installation notes:

DebianEdu wheezy uses 10.0.0.0/8 with gateway 10.0.0.1
(e.g. spblinux with ifconfig eth1 10.0.0.1; cfg_nat start;
in vbox eth0 bridged, eth1 internal connected to tjener)

Installation of ltsp-server:

  • only non automatic partitioning (using guided partitioning) works (21.8.13)

phpldapadmin (https://10.0.2.2/phpldapadmin/)

  • apt-get install phpldapadmin
  • changes in /etc/phpldapadmin/config.php
    Uses tls which starts with default port 389 (not ssl, 636, ldaps):
    – $servers->setValue(‘server’,’host’,’ldap‘)
    //$servers->SetValue(‘server’,’port’,’636′)
    Login with ou=ldap-access (with password of unix system user root)
    – $servers->setValue(‘login’,’bind_id’,’cn=admin,ou=ldap-access,dc=skole,dc=skolelinux,dc=no’)

Add ltspserver in gosa (https://10.0.2.2/gosa/
(login as user which has been created during installation of tjener)

  • Systems: Action Add
    Generic:
    – Server name: ltspserver00
    – Mode activated
    – Base /
    – IP-address 10.0.2.10
    – MAC_address: 12:34:ab…
    (might be looked up by first booting ltspserver:
    and dhcp gives name auto-mac-12-34-ab…)
    – Enable DHCP true and parent node (tjener) dhcp
    – Enable DNS true and Zone TJENER/intern
    Apply.
    Services:
    – add Terminal service
    Apply and start the service.
    NIS Netgroup:
    Add group ltsp-server-hosts
    – seems to get set in ldap directory, but does not display in gosa
    (netgroup/ltsp-server-hosts/nisNetgroupTriple)
    netgroup gets used as nfs4 authentication.

Nagios (https://10.0.2.2/nagios3/):

  • Add ltspserver00 to nagios by running sitesummery-update-nagios
  • Set password for user nagiosadmin with
    htpasswd /etc/nagios3/htpasswd.users nagiosadmin
    (and apache2ctl graceful)

Thin clients:

  • when used with vbox: needs vbox extension pack

 

JavaFX: java-jdk + SceneBuilder + eclipse + e(fx)clipse

  • download current java 7 jdk from oracle
    (java.com / Developers / JDK download / 64 bit)
  • unpack into /usr/lib/jvm and
    ln -s jdk1.7.0_xx java-7-oracle-amd64
  • update-alternatives –install /usr/bin/java java /usr/lib/jvm/java-7-oracle-amd64/bin/java 1
  • update-alternatives –install /usr/bin/javac javac /usr/lib/jvm/java-7-oracle-amd64/bin/javac 1
  • ¬†update-alternatives –config java (select java-7-oracle-amd64)
  • update-alternatives –config javac (select java-7-oracle-amd64)
  • download Scenebuilder (64 bit) from java.com
    (currently http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html)
    and unpack it into /opt
  • download eclipse (64bit, standard edition, tar archive) from eclipse.org
    und unpack it into /usr/lib
  • run (alt+F2) kdesu /usr/lib/eclipse/eclipse
    – Help / Install new software / Add
    Name: e(fx)clipse
    Location: http://download.eclipse.org/efxclipse/updates-nightly/site
    – select e(fx)clipse Kepler