N.B. Gave up on this – taking too much time and effort for something that would require some command line admin anyway – such as the mailer configuration. Will go back to purely standard setup on Debian like existing servers.
Minimum setup
Network
To get network going edit ifcfg-eth0 in /etc/sysconfig/network-scripts/
Need to use vi for this – minimal install doesn’t have anything else.
DEVICE="eth0"
NM_CONTROLLED=no
ONBOOT=yes
HWADDR=6E:89:F7:F2:8B:47
TYPE=Ethernet
BOOTPROTO=none
IPADDR=130.209.45.49
NETMASK=255.255.255.0
GATEWAY=130.209.45.1
DNS1=130.209.4.16
DNS2=130.209.4.18
DNS3=130.209.16.6
DOMAIN=physics.gla.ac.uk
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
The UUID here was put in by the GUI network setup, as was some of the other stuff. The minimum required is IPADDR, BOOTPROTO (maybe?), NETMASK, GATEWAY, DNS1(2,3,etc).
Read more...
LDAP server package is slapd. LDAP command-line stuff gets installed along with it.
First database is set up automatically – only requirement is admin password. Root DN is taken from host IP domain name – so get dc=physics,dc=gla,dc=ac,dc=uk if not careful. And with OpenLDAP there’s no easy way to delete databases.
Browsers
Web-based
phpLDAPadmin works reasonably well as a server-based browser. Needs Apache. This template gives you users with the RDN set to uid rather than cn, and email entry.
Read more...
This should be a five-minute job, and if Dell used the standard mountings it would be. Guess what…
The T1500 has the mounting holes in the standard places for a LGA 1156 socket, but has screw bosses in these holes, presumably held there by a backing plate behind the motherboard. The stock heatsink screws into these with captive screws – springs hold the bracket down. In theory if the bosses were removed a standard heatsink would clip in, but this would require the motherboard to be removed. Alternatively, the screws with the ~2mm stand-off bits (from the old-style green plastic CD drive mounting rails with the anti-vibration mounts) fit and work quite well. Note the stand-off in these is not quite right, so you probably don’t want to tighten them fully – just enough to hold the heatsink down firmly (It’s best to lay the system down so that the heatsink can rest on the processor to fine-tune the position).
Read more...
Well, that was odd. Managed to get WebCal to work (after realising it doesn’t hook into the DAViCal database at all – it’s a completely separate admin account, user accounts etc). After creating user, couldn’t add calendars to them. Eventually tracked it down to utils/helper.php and the encode and decode functions which were retrieving $iv of the wrong lengths – saw 21 and 24 bytes. After putting code in to watch the variables created a new user – which worked perfectly. Disabled debugging code, deleted all users and recreated Glasgow10m user – works fine. Bizarre.
Install Java
Needs to be the Oracle JDK. Download the .bin file and make it executable. Create appropriate directory, change to it and run the .bin file.
update-alternatives --install "/usr/bin/java" java" "/usr/lib/jvm/jdk1.6.0_31/bin/java" 1
Creates link for java in /usr/bin/
update-alternatives --set java "/usr/local/bin/oracle-java-default/bin/java"
Not needed for a clean install – there are no other versions of java on the system.
Then in /etc/environment
JAVA_HOME="/usr/lib/jvm/jdk1.6.0_31"
Gave up at this point and decided to give DAViCal another go.